From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye Subject: Re: Specify org-latex-pdf-process for a single file? Date: Sun, 19 Jul 2015 16:15:03 -1000 Message-ID: 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]:49773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZH0c6-0007Q7-Uk for emacs-orgmode@gnu.org; Sun, 19 Jul 2015 22:15:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZH0c3-0005Cl-GH for emacs-orgmode@gnu.org; Sun, 19 Jul 2015 22:15:30 -0400 Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]:54256) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZH0c3-00058v-9O for emacs-orgmode@gnu.org; Sun, 19 Jul 2015 22:15:27 -0400 In-reply-to: <172BF88C-9780-4E49-B63A-A2AEF5EE136B@agrarianresearch.org> 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 Aloha Vikas, Vikas Rawal writes: > 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? Yes, you can use a local variable. I like to store configuration components in the library of babel and call them from there. So, I have is in the library: #+name: set-pdf-process-biber #+header: :results silent #+begin_src emacs-lisp (setq org-latex-pdf-process '("pdflatex -interaction nonstopmode -output-directory %o %f" "biber %b" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")) #+end_src Near the bottom of my document, in a heading tagged :noexport:, I have this: # Local Variables: # eval: (sbe "set-pdf-process-biber") hth, Tom -- Thomas S. Dye http://www.tsdye.com