Re: [NTG-context] Custom engine settings in AUCTEX
![](https://secure.gravatar.com/avatar/bf29dd41da1d831e625a11885503c0e1.jpg?s=120&d=mm&r=g)
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 ) ) ) -- Mauricio Reyna
![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Lizardo Reyna