From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Specify org-latex-pdf-process for a single file? Date: Mon, 20 Jul 2015 11:29:44 +0100 Message-ID: <878uabdsvb.fsf@ucl.ac.uk> References: <172BF88C-9780-4E49-B63A-A2AEF5EE136B@agrarianresearch.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZH8Kp-0002al-CW for emacs-orgmode@gnu.org; Mon, 20 Jul 2015 06:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZH8Kf-00031Q-3Q for emacs-orgmode@gnu.org; Mon, 20 Jul 2015 06:30:11 -0400 Received: from mail-db3on0141.outbound.protection.outlook.com ([157.55.234.141]:3200 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZH8Ke-0002yv-Rp for emacs-orgmode@gnu.org; Mon, 20 Jul 2015 06:30:01 -0400 In-Reply-To: <172BF88C-9780-4E49-B63A-A2AEF5EE136B@agrarianresearch.org> (Vikas Rawal's message of "Mon, 20 Jul 2015 07:05:29 +0530") 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: Vikas Rawal Cc: org-mode mailing list 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