emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* babel and bibliography
@ 2016-06-02  4:17 Joseph Mingrone
  2016-06-02 13:23 ` John Kitchin
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Mingrone @ 2016-06-02  4:17 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: babel and bibliography
  2016-06-02  4:17 babel and bibliography Joseph Mingrone
@ 2016-06-02 13:23 ` John Kitchin
  2016-06-03 10:17   ` Joseph Mingrone
  0 siblings, 1 reply; 3+ messages in thread
From: John Kitchin @ 2016-06-02 13:23 UTC (permalink / raw)
  To: Joseph Mingrone; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: babel and bibliography
  2016-06-02 13:23 ` John Kitchin
@ 2016-06-03 10:17   ` Joseph Mingrone
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Mingrone @ 2016-06-03 10:17 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: John Kitchin

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> 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

Ah, of course. Thanks. :)

Joseph

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-03 10:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-02  4:17 babel and bibliography Joseph Mingrone
2016-06-02 13:23 ` John Kitchin
2016-06-03 10:17   ` Joseph Mingrone

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).