On 4/5/2019 12:17 AM, 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?
Does

<path to>/mtxrun --autogenerate --script context --autopdf {filePath}

work in your editor?

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to