[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I configure Emacs to use XeLaTeX without AUCTeX
From: |
George Politis |
Subject: |
Re: How can I configure Emacs to use XeLaTeX without AUCTeX |
Date: |
Tue, 15 Jan 2013 18:52:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (windows-nt) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> 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
Worked like a charm, thank you Stefan!