From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: ox-latex: default packages cleaning Date: Mon, 27 Jul 2015 10:22:41 +0200 Message-ID: <86si8am2lq.fsf@example.com> References: <87r3ok589c.fsf@gmx.us> <20150707193522.GB30985@chitra.no-ip.org> <87y4iq24kl.fsf@gmx.us> <20150708154139.GG32342@chitra.no-ip.org> <878uaq33bj.fsf@gmx.us> <20150716082958.GP18343@chitra.no-ip.org> <87y4igxza3.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, Rasmus 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