From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org-ref no bibliography generated in pdf Date: Sat, 6 Feb 2016 13:08:39 -0500 Message-ID: References: <87twlmoru8.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11444aba74a6bd052b1ddb89 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS7Hl-00065p-Tk for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 13:08:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aS7Hk-0004Ms-HY for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 13:08:41 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:32777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS7Hk-0004Mc-6Q for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 13:08:40 -0500 Received: by mail-wm0-x230.google.com with SMTP id g62so85919614wme.0 for ; Sat, 06 Feb 2016 10:08:40 -0800 (PST) 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: Nikolai Cc: "emacs-orgmode@gnu.org" --001a11444aba74a6bd052b1ddb89 Content-Type: text/plain; charset=UTF-8 that is why you don't get bibtex run then ;) try this (setq org-latex-pdf-process '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %b" "bibtex %b" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %b" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %b")) John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Sat, Feb 6, 2016 at 1:04 PM, Nikolai wrote: > Eric S Fraga ucl.ac.uk> writes: > > > > > On Saturday, 6 Feb 2016 at 14:42, Nikolai Stenfors wrote: > > > Hi, > > > Org-ref appears to be an excellent reference handling tool for > org-mode. I > > > have followed the installation according to org-ref homepage. > > > However, I have problems exporting the org-file to pdf. The generated > > > intermediate latex-file appears visually OK. In the pdf, references are > > > shown as [?] and no bibliography is generated. > > > > What is the setting of org-latex-to-pdf-process? It looks like bibtex > > was not run, having looked at the LaTeX code that was generated, which > > looks perfectly fine. Have you looked at the LaTeX log output when > > exporting to PDF? There will be a buffer with this log. > > > OK, > > pdflatex -interaction nonstopmode -output-directory %o %f > pdflatex -interaction nonstopmode -output-directory %o %f > pdflatex -interaction nonstopmode -output-directory %o %f > > tried to add "bibtex %b" or "bibtex %o %f" without luck > > Nikolai > > > --001a11444aba74a6bd052b1ddb89 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
that is why you don't get bibtex run then ;) try this<= div>(setq org-latex-pdf-process
=C2=A0 =C2=A0 =C2=A0 =C2= =A0'("pdflatex -shell-escape -interaction nonstopmode -output-dire= ctory %o %b"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"bibtex = %b"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"pdflatex -shell-= escape -interaction nonstopmode -output-directory %o %b"
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"pdflatex -shell-escape -interaction no= nstopmode -output-directory %o %b"))

John

--------------------------------= ---
Professor John Kitchin=C2=A0
Doherty Hall A207F
Department of = Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213<= br>412-268-7803

On Sat, Feb 6, 2016 at 1:04 PM, Nikolai <nikolai.stenfors@gapps.umu.se> wrote:
Eric S Fraga <e.fraga <at>= ucl.ac.u= k> writes:

>
> On Saturday,=C2=A0 6 Feb 2016 at 14:42, Nikolai Stenfors wrote:
> > Hi,
> > Org-ref appears to be an excellent reference handling tool for or= g-mode. I
> > have followed the installation according to org-ref homepage.
> > However, I have problems exporting the org-file to pdf. The gener= ated
> > intermediate latex-file appears visually OK. In the pdf, referenc= es are
> > shown as [?] and no bibliography is generated.
>
> What is the setting of org-latex-to-pdf-process?=C2=A0 It looks like b= ibtex
> was not run, having looked at the LaTeX code that was generated, which=
> looks perfectly fine.=C2=A0 Have you looked at the LaTeX log output wh= en
> exporting to PDF?=C2=A0 There will be a buffer with this log.


OK,

pdflatex -interaction nonstopmode -output-directory %o %f
pdflatex -interaction nonstopmode -output-directory %o %f
pdflatex -interaction nonstopmode -output-directory %o %f

tried to add "bibtex %b" or=C2=A0 "bibtex %o %f" withou= t luck

Nikolai



--001a11444aba74a6bd052b1ddb89--