From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolai Stenfors Subject: Re: org-ref no bibliography generated in pdf Date: Sat, 6 Feb 2016 19:49:12 +0100 Message-ID: References: <87twlmoru8.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1141a70ad0acd7052b1e6e57 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS7ve-0003MG-2N for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 13:49:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aS7vc-0005IR-R1 for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 13:49:54 -0500 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:34319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS7vc-0005IK-F6 for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 13:49:52 -0500 Received: by mail-oi0-x22a.google.com with SMTP id w5so59876644oie.1 for ; Sat, 06 Feb 2016 10:49:52 -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: John Kitchin Cc: emacs-orgmode@gnu.org --001a1141a70ad0acd7052b1e6e57 Content-Type: text/plain; charset=UTF-8 YES, IT WORKS! Thank you, Eric and John! 2016-02-06 19:08 GMT+01:00 John Kitchin : > 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 >> >> >> > --001a1141a70ad0acd7052b1e6e57 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
YES, IT WORKS!
Thank you, Eric and John= !


2016-02-06 19:08 GMT+01:00 John Kitchin <jkitchin@andrew.cmu.e= du>:
that = is why you don't get bibtex run then ;) try this
(setq org-latex-pd= f-process
=C2=A0 =C2=A0 =C2=A0 =C2=A0'("pdflate= x -shell-escape -interaction nonstopmode -output-directory %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 no= nstopmode -output-directory %o %b"
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0"pdflatex -shell-escape -interaction nonstopmode -output-dir= ectory %o %b"))

J= ohn

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

On Sat, Feb 6, 2016 at 1:04 PM, Nikol= ai <nikolai.stenfors@gapps.umu.se> wrote:
Eric S Fraga <e.fraga= <at> ucl.ac.uk> 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




--001a1141a70ad0acd7052b1e6e57--