From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Problems with pdf export (and bibtex) after upgrading to TeXLive-2011 on Lion Date: Fri, 23 Sep 2011 01:38:11 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6sqg-0006eS-C2 for emacs-orgmode@gnu.org; Thu, 22 Sep 2011 19:38:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6sqf-0004GC-5v for emacs-orgmode@gnu.org; Thu, 22 Sep 2011 19:38:34 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:34300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6sqe-0004G5-TT for emacs-orgmode@gnu.org; Thu, 22 Sep 2011 19:38:33 -0400 Received: by bkbzs2 with SMTP id zs2so3631258bkb.0 for ; Thu, 22 Sep 2011 16:38:31 -0700 (PDT) In-Reply-To: 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: Tony Ware Cc: emacs-orgmode@gnu.org On Fri, Sep 23, 2011 at 12:44 AM, Tony Ware 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: > Cheers, > > Tony Ware -- Suvayu Open source is the future. It sets us free.