[NTG-context] context / auctex problem?

2024-06-17 Thread Lizardo Reyna via ntg-context

Hi,

You can update the command for ConTeXt as follows:

Graphically:

M-x customize-variable *↵*

TeX-command-list *↵*

find the appropriate section for ConTeXt commands and change it with 
(e.g.) "context --purgeall %t" (see attached image).


Apply and save.

-

Using the init.el you can also create your own commands:


(custom-set-variables
   '(ConTeXt-Mark-version "lmtx")
   '(ConTeXt-engine "lmtx"))


(eval-after-load "context"
  '(setq TeX-command-list
    (append
  '(
    ("context"
"context --purgeall %t"
  TeX-run-command t :help "Run context (lmtx)")
    ("luametatex"
"context --purgeall %t"
  TeX-run-command t :help "Run context (lmtx)")
  ) TeX-command-list
    )
  )
  )

I hope this helps.


Lizardo R.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


Re: [NTG-context] Custom engine settings in AUCTEX

2022-07-02 Thread Lizardo Reyna via ntg-context
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


___
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
___