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: Mon, 28 Feb 2011 16:06:06 +0000 Message-ID: <877hck5ekx.fsf@ucl.ac.uk> References: <4DCBF55A-B3B5-4268-9456-3F2F7651581D@tsdye.com> <20110225181003.35eab1c7@bhishma.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=48645 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu7Xs-0001Xb-3A for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 13:10:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu7Xr-0004Qf-88 for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 13:10:08 -0500 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:49757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu7Xr-0004QK-03 for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 13:10:07 -0500 In-Reply-To: <20110225181003.35eab1c7@bhishma.homelinux.net> (Suvayu Ali's message of "Fri, 25 Feb 2011 18:10:03 -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 --=-=-= Content-Type: text/plain Suvayu Ali writes: [...] > > 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. [...] You could try creating a shell script (such as attached) which invokes both pdflatex and bibtex and tell org to use that command for exporting to pdf instead. Then all the output should come out to the screen. I've tried this and all the output (3 pdflatex and 1 bibtex invocations) comes out into the =*Org PDF Latex Output*= buffer. --=-=-= Content-Type: text/x-sh Content-Disposition: attachment; filename=org2pdf.sh Content-Description: org 2 pdf shell scripts #!/bin/sh -f # first argument should be base latex file name F=$1 echo 'Using ' $F echo '--------------------------------- running pdflatex first' pdflatex $F echo '--------------------------------- running bibtex next' bibtex $F echo '--------------------------------- running pdflatex again (and again)' pdflatex $F pdflatex $F --=-=-= Content-Type: text/plain -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.529.gb23d.dirty) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--