From: Thomas S. Dye <tsd@tsdye.com>
To: Vikas Rawal <vikaslists@agrarianresearch.org>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Specify org-latex-pdf-process for a single file?
Date: Sun, 19 Jul 2015 16:15:03 -1000 [thread overview]
Message-ID: <m2r3o3d17c.fsf@tsdye.com> (raw)
In-Reply-To: <172BF88C-9780-4E49-B63A-A2AEF5EE136B@agrarianresearch.org>
Aloha Vikas,
Vikas Rawal <vikaslists@agrarianresearch.org> 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
next prev parent reply other threads:[~2015-07-20 2:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-20 1:35 Specify org-latex-pdf-process for a single file? Vikas Rawal
2015-07-20 2:15 ` Thomas S. Dye [this message]
2015-07-20 9:13 ` Rasmus
2015-07-20 10:29 ` Eric S Fraga
2015-07-20 15:49 ` Vikas Rawal
2015-07-27 8:42 ` Sebastien Vauban
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2r3o3d17c.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=vikaslists@agrarianresearch.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.