From: Tony Ware <afware@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Problems with pdf export (and bibtex) after upgrading to TeXLive-2011 on Lion
Date: Thu, 22 Sep 2011 16:44:27 -0600 [thread overview]
Message-ID: <CANheMO_qA9hoHEqjMH-4tTjfF9nXdMD8AzjwJk1OE27WAHy_SA@mail.gmail.com> (raw)
After upgrading to Lion and TeXLive-2011, I found my pdflatex export
was no longer working (in that it would only call pdflatex once, and
would not run bibtex). Having spent a couple of hours finding a
solution, I thought I should share to perhaps save some others the
trouble.
I had to do two things to fix the problem:
1) set my org-latex-to-pdf-process variable to ("pdflatex -interaction
batchmode -output-directory %o %b" "bibtex %b" "pdflatex -interaction
batchmode -output-directory %o %b" "pdflatex -interaction batchmode
-output-directory %o %b").
Using
-interaction nonstopmode
(which I was in my previous setting) no longer seemed to work - the
whole thing seemed to exit after the first call to pdflatex, so that
subsequent commands were not executed.
2) add the line
openout_any=r
(or openout_any=a)
to the file
/usr/local/texlive/2011/texmf.cnf.
Apparently, the default is openout_any=p, where the p stands for
'paranoid', and as a result bibtex refuses to write the .blg file.
Cheers,
Tony Ware
--
http://www.math.ucalgary.ca/~aware
next reply other threads:[~2011-09-22 22:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 22:44 Tony Ware [this message]
2011-09-22 23:38 ` Problems with pdf export (and bibtex) after upgrading to TeXLive-2011 on Lion suvayu ali
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=CANheMO_qA9hoHEqjMH-4tTjfF9nXdMD8AzjwJk1OE27WAHy_SA@mail.gmail.com \
--to=afware@gmail.com \
--cc=emacs-orgmode@gnu.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.