![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
10 Jan
2014
10 Jan
'14
2:37 p.m.
On Fri, Jan 10 2014, Fabrice Couvreur wrote:
%%% Local Variables: %%% Mode: LaTeX %%% LaTeX-command "LuaLaTeX-shell-escape" %%% End:
%%% Local Variables: %%% Mode: context %%% End: For using "context" instead of "texexec", put this in your init-file: (eval-after-load 'tex '(add-to-list 'TeX-command-list '("ConTeXt" "context --nonstopmode %t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt"))) If you prefer to use context-mode by default for every file with ".tex" as suffix, then you can add this to your init-file: (add-to-list 'auto-mode-alist '("\\.tex\\'" . context-mode)) Then you won't need the "Local Variables" section at the end of each ConTeXt-file. -- Peter