[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel and bibliography
From: |
John Kitchin |
Subject: |
Re: [O] babel and bibliography |
Date: |
Thu, 02 Jun 2016 09:23:47 -0400 |
User-agent: |
mu4e 0.9.16; emacs 25.1.50.1 |
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