Hi Vladimir,
I use AUCTeX and I compile with the command C-c C-c. The configuration you
proposed for my .emacs file last time works perfectly. So I tried to do the
same thing with context lmtx and if I add this
("ConTeXt" "PATH = /home/viserion/data/context/tex/texmf-linux-64/bin: $
PATH context --purgeall% s"
TeX-run-command nil t: help "Run context (LMTX)") TeX-command-list)
I get the message
For information about GNU Emacs and the GNU system, type C-h C-a.
File mode specification error: (wrong-type-argument symbolp (ConTeXt PATH =
/ home / viserion / data / context / tex / texmf-linux-64 / bin: $ PATH
context -purgeall% s TeX-run-command nil t : help Run context (LMTX)))
Fabrice
Le lun. 8 avr. 2019 à 14:01, Vladimir Lomov
Hello, ** Fabrice Couvreur [2019-04-08 12:08:44 +0200]:
Hi, I compile all my files with Emacs and standalone context. I would like to compare context lmtx. I added this in my .emacs file but it does not work.
Does Emacs prints error messages? How do you run the command in Emacs? Do you use AUCTeX or not? What messages do you see in *Messages* buffer?
#############################################################################
(eval-after-load "context" '(setq TeX-command-list (cons '("ConTeXt" "PATH=/home/viserion/context/tex/texmf-linux-64/bin:$PATH context --purgeall %s" TeX-run-command nil t :help "Run context (MarkIV)") TeX-command-list) ("ConTeXt" "PATH=/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context --purgeall %s" TeX-run-command t t :help "Run context (LMTX)") t) )
#############################################################################
For information about GNU Emacs and the GNU system, type C-h C-a. File mode specification error: (wrong-type-argument symbolp (ConTeXt PATH=/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context --purgeall %s TeX-run-command t t :help Run context (LMTX)))
Thank you. Fabrice
P.S. I didn't try lmtx yet, on my agenda.
P.P.S. It might be more useful to discuss this topic on AUCTeX mailing list if you use AUCTeX.
--- WBR, Vladimir Lomov
-- Nothing recedes like success. -- Walter Winchell
___________________________________________________________________________________ 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
___________________________________________________________________________________