[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I configure Emacs to use XeLaTeX without AUCTeX
From: |
Stefan Monnier |
Subject: |
Re: How can I configure Emacs to use XeLaTeX without AUCTeX |
Date: |
Mon, 14 Jan 2013 22:13:19 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> The title says it all I hope, I'd like to configure Emacs to use XeLaTeX
> instead of pdfLaTeX, which is the default.
For the builtin latex-mode, you'd have to add an entry to
tex-compile-commands (assuming you're using tex-compile, aka C-c C-c).
E.g.
(eval-after-load 'tex-mode
'(add-to-list 'tex-compile-commands
'((concat "xelatex "
(if (< 0 (length tex-start-commands))
(shell-quote-argument tex-start-commands))
" %f")
t "%r.pdf")))
-- Stefan