Hello, ** Fabrice Couvreur [2018-08-22 13:05:31 +0200]:
Hello, Sorry to insist, but could anyone help me understand the problem I'm having in using Emacs with standalone context ?
Check environment variables both in terminal and Emacs.
The following file compiles perfectly from a terminal :
/home/aragorn/texlive/2018/bin/x86_64-linux/context test.tex
/home/aragorn/context/tex/texmf-linux-64/bin/context test.tex (latest beta)
With Emacs, it compiles perfectly if you use the 2018 texlive context binary.
If I want to use the latest beta context binary, I need to add this to my ~/.emacs file :
(setenv "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin/:$PATH" t)
Instead of this I use this (in my ~/.emacs): (eval-after-load "context" '(setq TeX-command-list (cons '("ConTeXt" "PATH=/usr/local/opt/context/tex/texmf-linux-64/bin:$PATH context %s" TeX-run-command nil t :help "Run context (MarkIV)") TeX-command-list)) )
And there, I encounter a compilation problem :
and I don't see any errors (note, that in my case the "target" in "ConTeXt", not "ConTeXt Full").
Running `ConTeXt Full' on `pouf' with ``context --purgeall --nonstop pouf.tex''resolvers | trees | analyzing 'home:texmf' mtx-context | run 1: luatex --fmt="/home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --interaction="nonstopmode" --jobname="pouf" --lua="/home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./pouf.tex" --c:input="./pouf.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:nonstopmode --c:purgeall "cont-yes.mkiv" [...]
--- WBR, Vladimir Lomov -- Old timer, n.: One who remembers when charity was a virtue and not an organization.