Hello, Rasmus <ras...@gmx.us> writes: >> I have a few other questions: >> - how does one change the variant when doing a subtree export? By >> setting EXPORT_LATEX_VARIANT? > > It seems to work at least to the point that the right engine is written to > the file: > > #+LATEX_VARIANT: xelatex > * pdflatex > :PROPERTIES: > :export_latex_variant: pdflatex > :END: > > * lualatex > :PROPERTIES: > :export_latex_variant: lualatex > :END: > > >> - Is it possible to set a default variant? > > org-latex-variant => "pdflatex"
FWIW, it seems that people who played with different LaTeX engines used the "LATEX_CMD" property, as adviced on Worg [1]. Doesn't matter if we change that, but just a reminder of some already common usage. Best regards, Seb [1] http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export -- Sebastien Vauban