Commit 7ca4396f authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* tex-mode.el (tex-compile-commands): Add luatex and xetex commands

parent 0a5b6e28
......@@ -312,6 +312,8 @@ the file's actual content before prompting the user.
* Changes in Specialized Modes and Packages in Emacs 26.1
** TeX: Add luatex and xetex as alternatives to pdftex
** Electric-Buffer-menu
+++
......
......@@ -2113,13 +2113,17 @@ If NOT-ALL is non-nil, save the `.dvi' file."
:group 'tex)
(defvar tex-compile-commands
'(((concat "pdf" tex-command
" " (if (< 0 (length tex-start-commands))
(shell-quote-argument tex-start-commands)) " %f")
t "%r.pdf")
`(,@(mapcar (lambda (prefix)
`((concat ,prefix tex-command
" " (if (< 0 (length tex-start-commands))
(shell-quote-argument tex-start-commands))
" %f")
t "%r.pdf"))
'("pdf" "xe" "lua"))
((concat tex-command
" " (if (< 0 (length tex-start-commands))
(shell-quote-argument tex-start-commands)) " %f")
(shell-quote-argument tex-start-commands))
" %f")
t "%r.dvi")
("xdvi %r &" "%r.dvi")
("\\doc-view \"%r.pdf\"" "%r.pdf")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment