Nicolas Goaziou <n.goaz...@gmail.com> writes:

> Hello,
>
> Alan Schmitt <alan.schm...@polytechnique.org> 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