From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Bach Subject: Re: [New Exporter] org-export-latex-after-initial-vars-hook Date: Thu, 6 Jun 2013 10:38:24 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec547c3efcdaf8c04de783c05 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkViE-0002GX-3U for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 04:38:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkViD-0005yH-0j for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 04:38:25 -0400 Received: from mail-ve0-x22c.google.com ([2607:f8b0:400c:c01::22c]:36143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkViC-0005y6-St for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 04:38:24 -0400 Received: by mail-ve0-f172.google.com with SMTP id jz10so1977005veb.17 for ; Thu, 06 Jun 2013 01:38:24 -0700 (PDT) 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: emacs-orgmode@gnu.org --bcaec547c3efcdaf8c04de783c05 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: > S=F8ren Mikkelsen writes: >>* But I have a problem with the exporter:* >>** >*> I have modified by org-exporter to export latex-files with the xelatex* >*> compiler. The implementation uses the* >*> "org-export-latex-after-initial-vars-hook"-hook to reconfigure the* >>* default process, however, this hook seems to be deleted and I'm not* >>* able to find equivalent hook.* > Isn't it sufficient to customize `org-latex-pdf-process' so it uses > xelatex? I assume S=F8ren is using a similar snippet [1] as I do which is very convenient (credit goes to Bruno Tavernier). This approach lets you specify a #+LATEX_CMD (think of xelatex, -shell-escape, etc.) on a per file basis and allows LaTeX package 'injection'. Is there a hook that is run before actual LaTeX export of a given org-mode buffer in the new exporter engine? [1] http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg00218.html --bcaec547c3efcdaf8c04de783c05 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Nicolas Goaziou <a=
ddress@hidden> writes:
> S=
=F8ren Mikkelsen <address@hidden> writes:

>> But I have a problem with the exporter:
>>
>> I have modified by org-exporter to export latex-files with the =
xelatex
>> compiler. The implementation uses the
>> "org-export-latex-after-initial-vars-hook"-hook to re=
configure the
>> default process, however, this hook seems to be deleted and I&#=
39;m not
>> able to find equivalent hook.

> Isn't it sufficient to customize `org-latex-pdf-process' so it=
 uses
> xelatex?
I a=
ssume S=F8ren is using a similar s=
nippet=A0[1] as I do which is very convenient (credit goes to Bruno =
Tavernier). This approach lets you specify a #+LATEX_CMD (think of xelatex,=
 -shell-escape, etc.) on a per file basis and allows=A0LaTeX packa=
ge 'injection'.
Is there a hook that i=
s run before actual LaTeX export of a given org-mode buffer in the new expo=
rter engine?
[1] http://lists.gnu.org/archive/html/emacs-orgmode/2010=
-10/msg00218.html
--bcaec547c3efcdaf8c04de783c05--