From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Joseph Mingrone <jrm@ftfl.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: babel and bibliography
Date: Thu, 02 Jun 2016 09:23:47 -0400 [thread overview]
Message-ID: <m2wpm7rafw.fsf@Johns-MacBook-Air.local> (raw)
In-Reply-To: <86a8j4kyvk.fsf@phe.ftfl.ca>
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
next prev parent reply other threads:[~2016-06-02 13:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-02 4:17 babel and bibliography Joseph Mingrone
2016-06-02 13:23 ` John Kitchin [this message]
2016-06-03 10:17 ` Joseph Mingrone
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=m2wpm7rafw.fsf@Johns-MacBook-Air.local \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=jrm@ftfl.ca \
/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).