From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: Specify org-latex-pdf-process for a single file? Date: Mon, 20 Jul 2015 21:19:04 +0530 Message-ID: <77E5F0AB-D72D-40BA-AB97-D8EE6A34000C@agrarianresearch.org> References: <172BF88C-9780-4E49-B63A-A2AEF5EE136B@agrarianresearch.org> <878uabdsvb.fsf@ucl.ac.uk> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHDJm-0005eS-8Y for emacs-orgmode@gnu.org; Mon, 20 Jul 2015 11:49:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHDJi-00083o-7b for emacs-orgmode@gnu.org; Mon, 20 Jul 2015 11:49:26 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:35162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHDJi-00083h-29 for emacs-orgmode@gnu.org; Mon, 20 Jul 2015 11:49:22 -0400 Received: by pdrg1 with SMTP id g1so103467818pdr.2 for ; Mon, 20 Jul 2015 08:49:21 -0700 (PDT) In-Reply-To: <878uabdsvb.fsf@ucl.ac.uk> 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: Eric S Fraga Cc: org-mode mailing list 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 wrote: >=20 > 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? >>=20 >> Vikas >=20 > I have the following at the end of most of my org files that are > intended to be exported to LaTeX et al.: >=20 > --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--- >=20 > where the src block esf/execute-startup-block does more general file > specific settings. Obviously, adapt the pdf process variable to your > needs. >=20 > --=20 > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org = release_8.3beta-1260-gcedef7