From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: MWE for BibLaTex and org-ref? Date: Wed, 12 Jul 2017 15:59:26 +0200 Message-ID: <87inixoiwx.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVIB9-0003Go-Se for emacs-orgmode@gnu.org; Wed, 12 Jul 2017 09:59:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVIB5-0002aM-O5 for emacs-orgmode@gnu.org; Wed, 12 Jul 2017 09:59:47 -0400 Received: from [195.159.176.226] (port=48215 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVIB5-0002Za-HV for emacs-orgmode@gnu.org; Wed, 12 Jul 2017 09:59:43 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVIAv-00063X-Kc for emacs-orgmode@gnu.org; Wed, 12 Jul 2017 15:59:33 +0200 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: emacs-orgmode@gnu.org 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 = {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.