[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Specify org-latex-pdf-process for a single file?
From: |
Vikas Rawal |
Subject: |
Re: [O] Specify org-latex-pdf-process for a single file? |
Date: |
Mon, 20 Jul 2015 21:19:04 +0530 |
Thanks all. I was not familiar with this way of defining local variables. Just
checked the relevant part of the manual. Very useful.
Thanks,
Vikas
> On 20-Jul-2015, at 3:59 pm, Eric S Fraga <address@hidden> wrote:
>
> On Monday, 20 Jul 2015 at 07:05, Vikas Rawal wrote:
>> How do I specify org-latex-pdf-process for a single file? I am working
>> on a book manuscript, where I need to run makeindex and biber, along
>> with xelatex. That is not normally needed in every document. Can I
>> org-latex-pdf-process in the document itself?
>>
>> Vikas
>
> I have the following at the end of most of my org files that are
> intended to be exported to LaTeX et al.:
>
> --8<---------------cut here---------------start------------->8---
> # Local Variables:
> # org-export-allow-bind-keywords: t
> # org-latex-pdf-process: ("pdflatex %f")
> # eval: (esf/execute-startup-block)
> # End:
> --8<---------------cut here---------------end--------------->8---
>
> where the src block esf/execute-startup-block does more general file
> specific settings. Obviously, adapt the pdf process variable to your
> needs.
>
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-1260-gcedef7