Hi Dalyoung, If this can be of any help, here is what I did in order to install LuaMetaTeX on MacOS in order to use it with TeXShop: 1) I downloaded from http://www.pragma-ade.nl/install.htm the version of the installer for MacOS and installed a folder named context-osx-64 at an appropriate place (actually at /context-osx-64) 2) Then I did sh install.sh in that folder, and once the download was finished I replaced the directory texmf-local with a symbolic link to my texmf-local directory (which sits somewhere else) 3) In the directory ~/Library/TeXShop/Engines I created a new file named LuaMetaTeX.engine containing the following three lines: #!/bin/bash export PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin /context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --autopdf "$1" --purgeall 4) Then when opening TeXShop, I can choose from the scroll menu which shows up on the top left of each a tex file, the engine LuaMetaTeX (or I can set it as default in the Preferences) in order to typeset with LuaMetaTeX engine. 5) When I need to update the installation I just run again sh install.sh from within the directory /context-osx-64 (The symlink to my texmf-local is not destroyed). 6) If I need to typeset a file from a command line in Terminal, then I need to say export PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin before typesetting myfile.tex by saying /context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --autopdf myfile.tex (Note that the above command should be issued when one is already in the directory containing myfile.tex, beacuse otherwise the corresponding pdf file will be created in the wrong place…). Best regards: OK
On 5 Apr 2019, at 00:17, Jeong Dal
wrote: Dear Hans,
I have installed both ConTeXt LMTX and ConTeXt MKIV side by side. But I have a problem to run it.
If it is OK to run a file in LMTX environment, then I got a following error when I run it in MKIV environment. “I can’t fine a file …../defFonts.tex” even though it is there. To resolve it, I run “mtxrun —generate” in MKIV. But it invoke the same type error in LMTX. Here are the command in Atom editor which I use to run it.
LMTX: source /Users/graph/ConTeXtLMTX/tex/setuptex; context {filePath} MKIV: source /Users/graph/ConTeXt/tex/setuptex; context {filePath}
I may avoid it by adding “mtxrun —generate” before compiling it. But it isn’t a good solution. I think that there is a better way to do this. Would you please tell me how to fix it or what is a better way?
Thank you for reading.
Best regards,
Dalyoung
Hi,
We have worked furiously all day kicking-out extra code, and are pleased to present a lean-and-mean version of luatex with your favorite ConTeXt. Same good taste but only half the calories and a new name: luametatex and ConTeXt LMTX. No more Mk-whatever, no more dependencies for we can now stand on our own. Of course, good-old luatex and MkIV (as well as MkII) will continue to coexist and be maintained. However, now you will be able to run ConTeXt lmtx on your smart thermostat or on your refrigerator for the Internet of Things - the dawn of a new era!
Stay tuned,
Alan and Hans
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________