From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: babel and bibliography Date: Thu, 02 Jun 2016 09:23:47 -0400 Message-ID: References: <86a8j4kyvk.fsf@phe.ftfl.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8SbK-0000us-IR for emacs-orgmode@gnu.org; Thu, 02 Jun 2016 09:23:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8SbF-00023A-Nn for emacs-orgmode@gnu.org; Thu, 02 Jun 2016 09:23:54 -0400 Received: from mail-qg0-x236.google.com ([2607:f8b0:400d:c04::236]:35944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8SbF-00022x-JK for emacs-orgmode@gnu.org; Thu, 02 Jun 2016 09:23:49 -0400 Received: by mail-qg0-x236.google.com with SMTP id q32so123431669qgq.3 for ; Thu, 02 Jun 2016 06:23:49 -0700 (PDT) In-reply-to: <86a8j4kyvk.fsf@phe.ftfl.ca> 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: Joseph Mingrone Cc: emacs-orgmode@gnu.org This works for me. #+TITLE: #+AUTHOR: #+LaTeX_HEADER: \usepackage{natbib} > The moon in June is like a big ballon \citep{self1987asymptotic}. #+BEGIN_LATEX \bibliographystyle{abbrvnat} \bibliography{/home/jrm/scm/references.git/refs} #+END_LATEX Joseph Mingrone writes: > Hi, > > For the simple example below, is there a better way to include the bibliography, > so that if the document is exported to HTML, the LaTeX code isn't included? > > ------------------------------------------------------------------------ > #+TITLE: > #+AUTHOR: > #+LaTeX_HEADER: \usepackage{natbib} > > The moon in June is like a big ballon \citep{self1987asymptotic}. > > \bibliographystyle{abbrvnat} > \bibliography{/home/jrm/scm/references.git/refs} > ------------------------------------------------------------------------ > > I've seen documentation and examples using ox-bibtex, but those don't seem to > apply any longer with newer versions or org-mode. I'm running 8.3.4 in Emacs > 25.0.94.1 (5th pretest for version 25.1). > > Regards, > > Joseph -- 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