diff options
| author | Stefan Monnier | 2016-12-21 15:51:14 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2016-12-21 15:51:14 -0500 |
| commit | 7ca4396f855799e3c6b3b88eea9181ee7ad602d4 (patch) | |
| tree | 13a9e6461681153562b471db35ed4176f68b623b /lisp | |
| parent | 0a5b6e28f91ff46231a768737170e39172297257 (diff) | |
| download | emacs-7ca4396f855799e3c6b3b88eea9181ee7ad602d4.tar.gz emacs-7ca4396f855799e3c6b3b88eea9181ee7ad602d4.zip | |
* tex-mode.el (tex-compile-commands): Add luatex and xetex commands
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 1363efea310..25d674541c5 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -2113,13 +2113,17 @@ If NOT-ALL is non-nil, save the `.dvi' file." | |||
| 2113 | :group 'tex) | 2113 | :group 'tex) |
| 2114 | 2114 | ||
| 2115 | (defvar tex-compile-commands | 2115 | (defvar tex-compile-commands |
| 2116 | '(((concat "pdf" tex-command | 2116 | `(,@(mapcar (lambda (prefix) |
| 2117 | " " (if (< 0 (length tex-start-commands)) | 2117 | `((concat ,prefix tex-command |
| 2118 | (shell-quote-argument tex-start-commands)) " %f") | 2118 | " " (if (< 0 (length tex-start-commands)) |
| 2119 | t "%r.pdf") | 2119 | (shell-quote-argument tex-start-commands)) |
| 2120 | " %f") | ||
| 2121 | t "%r.pdf")) | ||
| 2122 | '("pdf" "xe" "lua")) | ||
| 2120 | ((concat tex-command | 2123 | ((concat tex-command |
| 2121 | " " (if (< 0 (length tex-start-commands)) | 2124 | " " (if (< 0 (length tex-start-commands)) |
| 2122 | (shell-quote-argument tex-start-commands)) " %f") | 2125 | (shell-quote-argument tex-start-commands)) |
| 2126 | " %f") | ||
| 2123 | t "%r.dvi") | 2127 | t "%r.dvi") |
| 2124 | ("xdvi %r &" "%r.dvi") | 2128 | ("xdvi %r &" "%r.dvi") |
| 2125 | ("\\doc-view \"%r.pdf\"" "%r.pdf") | 2129 | ("\\doc-view \"%r.pdf\"" "%r.pdf") |