emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Abernethy <david.abernethy@icloud.com>
To: emacs-orgmode@gnu.org
Subject: Re: citations not incoprporated from bib file when exporting from .org to pdflatex
Date: Sat, 02 Jul 2016 00:21:07 +1200	[thread overview]
Message-ID: <727FCD29-FA12-4FE9-9F23-8DEDBBAC24D4@icloud.com> (raw)
In-Reply-To: <FF0E8C91-C56C-480A-A23D-FF58AEAE25BB@icloud.com>

[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]

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=0.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='pdflatex -interaction nonstopmode' -pdf -bibtex -f %f”))

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 <david.abernethy@icloud.com> wrote:
> 
> 
> I am exporting a file stroke.org <http://stroke.org/> using the bibliography file stroke.bib in 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 <http://stroke.org/> is:
> #+LATEX_CLASS: article
> #+BIBLIOGRAPHY: stroke vancouver option:-d
> 


[-- Attachment #2: Type: text/html, Size: 3821 bytes --]

  reply	other threads:[~2016-07-01 12:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-27 11:20 citations not incoprporated from bib file when exporting from .org to pdflatex David Abernethy
2016-07-01 12:21 ` David Abernethy [this message]
2016-07-22 11:45   ` timor
  -- strict thread matches above, loose matches on Subject: below --
2016-06-28 10:51 David Abernethy
2016-06-28 19:08 David Abernethy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=727FCD29-FA12-4FE9-9F23-8DEDBBAC24D4@icloud.com \
    --to=david.abernethy@icloud.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).