On 7/2/2022 11:08 PM, Lizardo Reyna via ntg-context wrote:
You can try adding a TeX-command with this:

(eval-after-load "context"

   '(setq TeX-command-list

     (append

       '(

         ("context"

"context --purgeall %t"

           TeX-run-command t :help "Run context (MarkIV)")

         ("luametatex"

"context --purgeall %t"

           TeX-run-command t :help "Run context (LMTX)")

       ) TeX-command-list

     )

   )

   )

--
Assuming that the runner (mtxrun or context) is an alias to luametatex, you can do:

context foo.tex           : lmtx
context --luatex foo.tex  : mkiv

an lmtx installation assume this. So, luametatex, iven when not used is the assumed runner for luatex then.

ps. On some platforms mtxrun/context is a small independent stub but that will change for this model. The same for shebang'd launching: we always assume a binary stub.

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