On 1/10/2014 1:52 PM, Fabrice Couvreur
wrote:
Hello,
I use Emacs as an editor and I compile my files with LuaLaTeX
by adding the following lines to the end of the file:
%%% Local Variables:
%%% Mode: LaTeX
%%% LaTeX-command "LuaLaTeX-shell-escape"
%%% End:
I discovered ConTeXt, and I would like to know which lines to
add to the end of files.
Thank you.
This /fragment/ from my .emacs file should show you some other
helpful settings
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ConTeXt-clean-intermediate-suffixes (quote ("\\.tuc" "\\.tui"
"\\.tup" "\\.ted" "\\.tes" "\\.top" "\\.log" "\\.tmp" "\\.run"
"\\.bck" "\\.rlg" "\\.mpt" "\\.mpx" "\\.mpd" "\\.mpo" "\\.tuo"
"\\.tub" "\\.top" "-mpgraph\\.mp" "-mpgraph\\.mpd" "-mpgraph\\.mpo"
"-mpgraph\\.mpy" "-mprun\\.mp" "-mprun\\.mpd" "-mprun\\.mpo"
"-mprun\\.mpy")))
'(ConTeXt-clean-output-suffixes (quote ("\\.tuc" "\\.log" "\\.dvi"
"\\.pdf" "\\.ps")))
'(ConTeXt-engine nil)
'(LaTeX-beamer-item-overlay-flag nil)
'(LaTeX-biblatex-use-Biber nil)
'(LaTeX-mode-hook (quote (preview-mode-setup)))
'(TeX-PDF-mode t)
'(TeX-bar-LaTeX-buttons (quote (new-file open-file dired
kill-buffer save-buffer undo cut copy paste [separator nil] latex
next-error view nil)))
'(TeX-bar-TeX-buttons (quote (new-file open-file dired kill-buffer
save-buffer undo cut copy paste [separator nil] tex next-error view
nil)))
'(TeX-close-quote "}")
'(TeX-command-list (quote (("TeX" "%(PDF)%(tex)
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode
texinfo-mode ams-tex-mode) :help "Run plain TeX") ("LaTeX"
"%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode) :help
"Run LaTeX") ("Makeinfo" "makeinfo %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo
HTML" "makeinfo --html %t" TeX-run-compile nil (texinfo-mode) :help
"Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run
AMSTeX") ("ConTeXt" "context --once --synctex %t" TeX-run-TeX nil
(context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "context
--synctex %t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt
until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
"Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run
Biber") ("View" "%V" TeX-run-discard-or-function nil t :help "Run
Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file")
("Queue" "%q" TeX-run-background nil t :help "View the printer
queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f "
TeX-run-command t t :help "Generate PostScript file") ("Index"
"makeindex %s" TeX-run-command nil t :help "Create index file")
("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check
LaTeX file for correctness") ("Spell" "(TeX-ispell-document \"\")"
TeX-run-function nil t :help "Spell-check the document") ("Clean"
"TeX-clean" TeX-run-function nil t :help "Delete generated
intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function
nil t :help "Delete generated intermediate and output files")
("Other" "" TeX-run-command t t :help "Run an arbitrary command"))))
'(TeX-default-mode (quote context-en-mode))
'(TeX-engine (quote luatex))
'(TeX-kpathsea-path-delimiter t)
'(TeX-modes (quote (tex-mode plain-tex-mode latex-mode
doctex-mode)))
'(TeX-open-quote "\\quotation{")
'(TeX-source-correlate-method (quote synctex))
'(TeX-source-correlate-mode t)
'(TeX-source-correlate-start-server t)
'(TeX-view-predicate-list (quote ((nil nil))))
'(TeX-view-program-list (quote (("Sumatra PDF" ("\"C:/Program Files
(x86)/SumatraPDF/SumatraPDF.exe\" -reuse-instance"
(mode-io-correlate " -forward-search %b %n") " %o")))))
'(TeX-view-program-selection (quote (((paper-letter style-pstricks)
"dvips and start") (output-dvi "Yap") (output-pdf "Sumatra PDF")
(output-html "start"))))
--
Bill Meahan, Westland, Michigan