From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Crotti Subject: Re: Bibtex and beamer Date: Wed, 19 Jan 2011 23:40:36 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=44794 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pfghu-0002Sw-MC for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 17:40:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pfghr-0002w9-WA for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 17:40:48 -0500 Received: from lo.gmane.org ([80.91.229.12]:34721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pfghr-0002vx-O3 for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 17:40:47 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pfghr-0005JH-2i for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 23:40:47 +0100 Received: from ip1-201.halifax.rwth-aachen.de ([137.226.108.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Jan 2011 23:40:47 +0100 Received: from andrea.crotti.0 by ip1-201.halifax.rwth-aachen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Jan 2011 23:40:47 +0100 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: emacs-orgmode@gnu.org Jeff Horn writes: > On Wed, Jan 19, 2011 at 4:14 PM, Andrea Crotti > wrote: >> Only one thing is not clear, how do I tell org-mode to call >> pdflatex/bibtex "enough" times to get all the links correctly setup. > > If you're using a *nix system, you might try customizing > `org-latex-to-pdf-process` with "texi2dvi". > > I've been having intermittent issues with bibtex and beamer. Not sure > what did it on my end, but I flip between "texi2dvi" for > beamer/latex/bibtex usage, and "shell command sequence" (what you > mention) for publishing PDFs on my personal website (like my CV). Thanks a lot, with this (setq org-latex-to-pdf-process '("pdflatex -interaction nonstopmode -output-directory %o %f" "bibtex %b" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")) It works quite well, even if it looks like an hack, but I can avoid using texi2dvi I think... It takes some time though for the whole process, and sometimes only one run of "pdflatex" would suffice. Is it so hard to have a smarter check for how and what passes are needed? Is not enough to check if all the references are satisfied? And another thing, why do I have to setup a default citation file? (setq reftex-default-bibliography "cit") In theory from my understanding reftex should grep this in my file \bibliography{cit} and open that file to see the citations, is that not correct?