emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problems with pdf export (and bibtex) after upgrading to TeXLive-2011 on Lion
@ 2011-09-22 22:44 Tony Ware
  2011-09-22 23:38 ` suvayu ali
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Ware @ 2011-09-22 22:44 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems with pdf export (and bibtex) after upgrading to TeXLive-2011 on Lion
  2011-09-22 22:44 Problems with pdf export (and bibtex) after upgrading to TeXLive-2011 on Lion Tony Ware
@ 2011-09-22 23:38 ` suvayu ali
  0 siblings, 0 replies; 2+ messages in thread
From: suvayu ali @ 2011-09-22 23:38 UTC (permalink / raw)
  To: Tony Ware; +Cc: emacs-orgmode

On Fri, Sep 23, 2011 at 12:44 AM, Tony Ware <afware@gmail.com> wrote:
> 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.
>

Maybe this is relevant:
<http://thread.gmane.org/gmane.emacs.orgmode/38247/focus=38562>


> Cheers,
>
> Tony Ware

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-22 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 22:44 Problems with pdf export (and bibtex) after upgrading to TeXLive-2011 on Lion Tony Ware
2011-09-22 23:38 ` suvayu ali

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).