emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How can I use xelatex with the new latex exporter?


From: Alan Schmitt
Subject: Re: [O] How can I use xelatex with the new latex exporter?
Date: Fri, 09 Nov 2012 12:36:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Alan Schmitt <address@hidden> writes:
>
>> I'm playing with the new latex exporter, and I'd like to use xelated
>> with it. I used to follow the instructions from worg
>> (http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export), but
>> it seems that the hook org-export-latex-after-initial-vars-hook is not
>> used for the new exporter. Is there a similar hook I can use?
>
> Before using this machinery, is it enough to customize
> `org-e-latex-pdf-process'?

Yes, this works. This is what I added:

(setq org-e-latex-pdf-process 
      '("latexmk -pdflatex='xelatex --shell-escape' -pdf -quiet %f"))

(I need the "--shell-escape" to run minted)

Thanks a lot!

Alan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]