Changes

Jump to navigation Jump to search
no edit summary
* First download http://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip
* Put the unzipped folder « context-osx-64 « whereever wherever you wish: for instance in your home directory. Thus the path to your future LuaMetaTeX directory will be (and below this is what we assume)
~/context-osx-64/
context --make --all
If everything goes nicely, you should be able to see LuaMetaTeX functionning.
 
== Installing on MacOS 10.15 Catlina ==
 
* First get your hands on a zip file of a complete tree of
context-osx-64
which works on MacOS 10.14 or previous, from someone you know... You can always contact the ConTeXt mailing list and ask this from someone (one day there might be a direct distribution of this zip file). If you have yourself access to a MacOS less than or equal to 10.14, you can follow the instructions above, create a context-osx-64 tree, and then copy that tree on a USB memory stick and transfer it to your MacOS 10.15. In thi scase you should wipe the
context-osx-64/tex/texmf-cache
folder in your copy destined to MacOS 10.15.
 
* Disable the SIP (System Integrity Protection) following (for example) the instructions given here
https://www.macworld.co.uk/how-to/mac/how-turn-off-mac-os-x-system-integrity-protection-rootless-3638975/
Later, you can put back the SIP, once the installation of LuaMetaTeX is over.
 
* In a Terminal window, reinstate the « Anywhere » option in Gatekeeper (which is visible in the Apple menu -> Préferences -> Security & Privacy) by doing
sudo spctl --master-disable
Later, you can put back the Gatekeeper default by saying
sudo spctl --master-enable
once the installation of LuaMetaTeX is over.
 
* Restart your Mac and put the folder « context-osx-64 « wherever you wish: for instance in your home directory. Thus the path to your future LuaMetaTeX directory will be (and below this is what we assume)
~/context-osx-64/
 
* In a Terminal window export the PATH
export PATH=~/context-osx-64/tex/texmf-osx-64/bin:~/context-osx-64/bin:~/context-osx-64/tex/texmf-osx-64/bin:$PATH
You can add this path to your .zshrc or .bashrc if you wish to use LuaMetaTeX from everywhere on your Mac.
 
* You can test your installation by saying in the Terminal window
which luametatex
and see whether it points to something in your context-osx-64 tree.
 
* In the Terminal window run
mtxrun --generate
and next
context --make --all
 
* Now in principle you are done and you can typeset a test file named » mytest.tex » by saying
context mytest.tex
 
* At this point, you can enable again SIP and Gatekeeper as indicated above.
 
* In order to update to the latest version of LuaMetaTeX in a Terminal do
cd ~/context-osx-64/
sh install.sh
The update should go ahead without any interference from Gatekeeper or SIP, even if you have trurned them to their default settings.
106

edits

Navigation menu