From mboxrd@z Thu Jan 1 00:00:00 1970 From: timor Subject: Re: citations not incoprporated from bib file when exporting from .org to pdflatex Date: Fri, 22 Jul 2016 13:45:54 +0200 Message-ID: References: <727FCD29-FA12-4FE9-9F23-8DEDBBAC24D4@icloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQYtz-00013Y-3Q for emacs-orgmode@gnu.org; Fri, 22 Jul 2016 07:46:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQYtw-00032d-RK for emacs-orgmode@gnu.org; Fri, 22 Jul 2016 07:45:58 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:35818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQYtw-00032T-J3 for emacs-orgmode@gnu.org; Fri, 22 Jul 2016 07:45:56 -0400 Received: by mail-wm0-x234.google.com with SMTP id f65so54299722wmi.0 for ; Fri, 22 Jul 2016 04:45:56 -0700 (PDT) In-Reply-To: <727FCD29-FA12-4FE9-9F23-8DEDBBAC24D4@icloud.com> 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" To: David Abernethy Cc: emacs-orgmode@gnu.org Hi, I am actually using the #+BIBLIOGRAPHY: functionality. I know that the functionality lies in ox-bibtex.el. I think a (require 'ox-bibtex) after loading org-mode did the trick. cheers, timor 2016-07-01 14:21 GMT+02:00 David Abernethy : > I eventually stumbled on the solution to my problem: > > I restructured my document removing the #+BIBLIOGRAPHY: bib-file style > statement which no longer seems to work, placing the LateX commands to > specify the bibliography at the end of the file: > > #+LATEX_CLASS: article > #+LATEX_HEADER: \usepackage[margin=3D0.5in]{geometry} > #+LaTeX_CLASS_OPTIONS: [12pt] > > * Objectives > * Stroke care guidelines > > #+LATEX: \bibliographystyle{vancouver} > #+LATEX: \bibliography{stroke} > > I have this in .emacs to ensure the triple compilation required: > (setq org-latex-pdf-process '("latexmk -pdflatex=3D'pdflatex -interaction > nonstopmode' -pdf -bibtex -f %f=E2=80=9D)) > > I have not been able to find any guidance on how to deal with this change= in > behaviour by org-mode so post this for others to save them the many hours= I > wasted when I have a deadline to meet > > > On 27/06/2016, at 23:20, David Abernethy wro= te: > > > I am exporting a file stroke.org using the bibliography file stroke.bib i= n > the same directory > The citations are not being incorporated into the pdf file > > An example from stroke.log: LaTeX Warning: Citation `Drummond:2014aa' on > page 2 undefined on input line 71. > > The header for stroke.org is: > #+LATEX_CLASS: article > #+BIBLIOGRAPHY: stroke vancouver option:-d > >