From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: customising org-latex-to-pdf-process for bibtex Date: Wed, 02 Mar 2011 06:55:54 +0000 Message-ID: <87bp1uxb7p.fsf@ucl.ac.uk> References: <4DCBF55A-B3B5-4268-9456-3F2F7651581D@tsdye.com> <20110225181003.35eab1c7@bhishma.homelinux.net> <877hck5ekx.fsf@ucl.ac.uk> <20110228124536.6d142c10@bhishma.homelinux.net> <87ei6rfcir.fsf@ucl.ac.uk> <20110301042609.6e8dee4a@bhishma.homelinux.net> <878vwzf1h1.fsf@pinto.chemeng.ucl.ac.uk> <20110301104334.63fe4eec@bhishma.homelinux.net> <87sjv6wp3j.fsf@ucl.ac.uk> <20110301133250.06f3436a@kuru.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=53887 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuhBr-0004rN-Sy for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 03:13:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuhBq-00080U-LW for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 03:13:47 -0500 Received: from vscani-b2.ucl.ac.uk ([144.82.108.135]:35101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuhBq-00080N-CA for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 03:13:46 -0500 In-Reply-To: <20110301133250.06f3436a@kuru.homelinux.net> (Suvayu Ali's message of "Tue, 1 Mar 2011 13:32:50 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Suvayu Ali Cc: Org-mode mailing list Suvayu Ali writes: > Hi Eric, > > On Tue, 01 Mar 2011 20:41:20 +0000 > Eric S Fraga wrote: > >> Ah, very interesting. What I don't understand is why this is >> affecting you. I can see it affecting you if the aux file cannot be >> found but not if the first pdflatex step worked okay. Do you still >> have the problem if the first step worked? >> > > Before the first pdflatex run the working directory seems correct: > >> Invoked in dir /home/jallad/org/masters-thesis > > In the output for this run I see some lines like these: > >> [6] >> No file msthesis.bbl. >> [7] (./msthesis.aux) > > I guess that means the .aux files are created? Well, actually, this indicates that the aux file is being read by pdflatex. But obviously it must exist therefore... >> If so, and if you still have the sh file I sent to the list yesterday, >> can you add the following line to the top: >> >> echo 'Invoked in dir ' $PWD >> >> and post the output (the first few lines only) of the export to PDF >> when you get the error with bibtex? > > Despite the above, for bibtex I get the following: > >> --------------------------------- running bibtex next >> >> Invoked in dir /home/jallad/org/masters-thesis >> >> bibtex: Not writing to /home/jallad/org/masters-thesis/msthesis.blg >> (openout_any = p). I couldn't open file name >> `/home/jallad/org/masters-thesis/msthesis.blg' Oh well, there goes that theory. The web link you gave yesterday would seem to indicate that the problem is present if you invoke the bibtex command from another directory and this does not appear to be the case here. Very strange. > Explicitly calling the texlive 2007 bibtex resolves the problem. Well, at least you can get this working for now but obviously there is a problem we are going to have to sort out as more users move to 2010. I am using texlive 2009 on Debian and that version doesn't have this problem. Texlive 2010 isn't available (yet) for Debian even in unstable so I cannot easily test this out unfortunately. I'll have a look to see if it's in Debian's experimental distribution when I get a chance. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.576.g99675)