From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: BIND and LaTeX export Date: Mon, 13 May 2013 21:13:50 +0200 Message-ID: References: <8761ymu7tk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b603cf05b835d04dc9e52b7 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbyCN-0004Ex-GR for emacs-orgmode@gnu.org; Mon, 13 May 2013 15:14:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbyCK-00013U-Dn for emacs-orgmode@gnu.org; Mon, 13 May 2013 15:14:15 -0400 Received: from mail-ee0-f49.google.com ([74.125.83.49]:34469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbyCK-00013P-7z for emacs-orgmode@gnu.org; Mon, 13 May 2013 15:14:12 -0400 Received: by mail-ee0-f49.google.com with SMTP id d17so3853692eek.22 for ; Mon, 13 May 2013 12:14:11 -0700 (PDT) In-Reply-To: <8761ymu7tk.fsf@gmail.com> 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@gnu.org" --047d7b603cf05b835d04dc9e52b7 Content-Type: text/plain; charset=ISO-8859-1 2013/5/13 Nicolas Goaziou > Hello, > > Fabrice Popineau writes: > > > Is it me or something is wrong with the very latest org-mode (git > > repository). > > I have this line in my org-file : > > > > #+BIND: org-latex-pdf-process ("pdflatex -interaction nonstopmode > > -shell-escape -output-directory %o %f") > > > > My default value for this variable states that lualatex is used for > > compilation. > > Even using the BIND line, it is still lualatex which is used. > > And I have set org-export-allow-bind-keywords to t. > > > > I'm pretty sure it worked a couple of days ago. > > I'm surprised it even worked. BIND keywords only affect the export > process, i.e. Org to LaTeX translation in this case. File compilation to > PDF is a post-processing thing, these keywords don't survive that long. > > I may have been fooled by my emacs config. But anyway, given the name org-latex-*, I thought that it could make sense that this variable survive till the end of the compilation :-) > You may use file local variables instead. > > Thanks for the hint. Fabrice --047d7b603cf05b835d04dc9e52b7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



2013/5/13 Nicolas Goaziou <n.goaziou@gmail.com>
Hello,

Fabrice Popineau <fabrice= .popineau@supelec.fr> writes:

> Is it me or something is wrong with the very latest org-mode (git
> repository).
> I have this line in my org-file :
>
> #+BIND: org-latex-pdf-process ("pdflatex -interaction nonstopmode=
> -shell-escape -output-directory %o %f")
>
> My default value for this variable states that lualatex is used for > compilation.
> Even using the BIND line, it is still lualatex which is used.
> And I have set org-export-allow-bind-keywords to t.
>
> I'm pretty sure it worked a couple of days ago.

I'm surprised it even worked. BIND keywords only affect the= export
process, i.e. Org to LaTeX translation in this case. File compilation to PDF is a post-processing thing, these keywords don't survive that long.=


I may have been fooled by my ema= cs config.=A0
But anyway, given the name org-latex-*,
=
I thought that it could make sense that this variable survive
till the end of the compilation :-)

=A0
You may use file local variables instead.


Thanks for the hint.
=A0
Fabrice
--047d7b603cf05b835d04dc9e52b7--