emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] MWE for BibLaTex and org-ref?


From: John Kitchin
Subject: Re: [O] MWE for BibLaTex and org-ref?
Date: Wed, 12 Jul 2017 13:55:59 -0400

org-ref should work fine for biblatex, but the setup for biblatex in the org file is a bit different than for bibtex. 

The org-ref manual can be opened by running M-x org-ref-help. Go to the ** biblatex users heading. Hopefully that is clear enough to help. If not, let me know what is missing. 

Best wishes,


John

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

On Wed, Jul 12, 2017 at 9:59 AM, Loris Bennett <address@hidden> wrote:
Hi,

Does org-ref work with BibLaTeX?

With org-ref, I have an MWE using natbib that works:

  #+LATEX_CLASS_OPTIONS: [a4paper, 11pt]
  #+LATEX_HEADER: \usepackage{natbib}

  #+TITLE: MWE

  * Introduction

    This MWE was found on the internet (see cite:Botha).

  bibliographystyle:abbrvnat
  bibliography:file.bib

with 'file.bib' being

  @Online{Botha,
    author = {Charl Botha},
     title = {From org file with local bibtex to LaTeX and PDF},
      date = {2017-02-20},
       url = "" href="https://vxlabs.com/2017/02/20/from-org-file-with-local-bibtex-to-latex-and-pdf/" rel="noreferrer" target="_blank">https://vxlabs.com/2017/02/20/from-org-file-with-local-bibtex-to-latex-and-pdf/},
  }

For org-latex-pdf-process,  I'm using the following:

  ("latexmk -g -pdf -pdflatex=\"%latex\" -shell-escape -outdir=%o %f")

However, if I try to replace natbib by BibLaTeX via

  #+LATEX_HEADER: \usepackage{biblatex}
  #+LATEX_HEADER: \addbibresource{file.bib}

  bibliographystyle:alphabetic
  bibliography:file.bib

I get errors about the style being invalid and the \bibliography only
being allowed in the preamble.

So if it should work, does anyone have a MWE for org-ref with BibLaTeX?

Cheers,

Loris

--
This signature is currently under construction.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]