From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: customising org-latex-to-pdf-process for bibtex Date: Fri, 25 Feb 2011 18:10:03 -0800 Message-ID: <20110225181003.35eab1c7@bhishma.homelinux.net> References: <4DCBF55A-B3B5-4268-9456-3F2F7651581D@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=34963 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pt9bo-0004FY-5p for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 21:10:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pt9bm-0000pK-6z for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 21:10:11 -0500 Received: from mail-yx0-f169.google.com ([209.85.213.169]:50411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pt9bm-0000pA-4d for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 21:10:10 -0500 Received: by yxt33 with SMTP id 33so1214453yxt.0 for ; Fri, 25 Feb 2011 18:10:09 -0800 (PST) In-Reply-To: <4DCBF55A-B3B5-4268-9456-3F2F7651581D@tsdye.com> 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: "Thomas S. Dye" Cc: Org-mode mailing list Hey Thomas, Thanks for your response. I have outlined what I tried and found below. On Fri, 25 Feb 2011 14:08:31 -1000 "Thomas S. Dye" wrote: > Aloha Suvayu, > > I had what sounds like a similar problem. You don't say why bibtex > fails, but in my case it wasn't able to find the .aux file. When I > do this: > > (setq org-export-pdf-remove-logfiles nil) > > then I'm able to run bibtex without problems. > I tried that after your post, didn't seem to make a difference. I don't know how to find how bibtex fails. All I see are these lines in the "*Org PDF LaTeX Output*" buffer: > No file msthesis.bbl. > [5] (/home/jallad/org/masters-thesis//msthesis.aux) > > LaTeX Warning: There were undefined references. Does that say anything to you? How do I capture the output from bibtex? I presumed it is being overwritten by subsequent pdflatex runs. So I removed the later pdflatex runs from the variable and that gives me this output in the "*Org PDF LaTeX Output*" buffer. > bibtex: Not writing to /home/user/org/masters-thesis/msthesis.blg > (openout_any = p). I couldn't open file name > `/home/user/org/masters-thesis/msthesis.blg' However with the same tex file, after I run "bibtex msthesis" from the terminal everything is fine! I even tried specifying the %b.aux in the org-latex-to-pdf-process variable with no luck. > I haven't tested your org-latex-to-pdf-process setups, so can't say > whether or not there is a problem with them. I use the TeXLive distributed by CTAN in isos. I setup my path so it finds the right binaries whenever I'm working with latex. I am sure my setup is fine as things are as expected when run from the teminal. -- Suvayu Open source is the future. It sets us free.