From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: How can I use xelatex with the new latex exporter? Date: Fri, 09 Nov 2012 12:36:35 +0100 Message-ID: References: <87k3tvlic1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWmt8-0008TD-Iy for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 06:36:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWmt2-0003nf-Rl for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 06:36:42 -0500 Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:5811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWmt2-0003nZ-LQ for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 06:36:36 -0500 In-Reply-To: <87k3tvlic1.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 09 Nov 2012 01:40:14 +0100") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode Nicolas Goaziou writes: > Hello, > > Alan Schmitt 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