# In org mode, how to export slide with bibliography?

I have been trying to include citations in the org file which I then export to beamer and using biblatex.

It seems that slide of bibliography needs specifying environment like fragile or allowpagebreaks. So far that seems to be the reason why bibliography is not getting printed.

#+LATEX_HEADER: \usepackage{biblaltex}


Citation gets written as [[bib::author03]].

* References

#+BEGIN_LaTeX

\printbibliography

#+END_LaTeX


Could you help get the citations working properly in the org-mode ?

Thanks.

• A simple way to add the property BEAMER_OPTS as given in the answer is to do org-set-property and select beamer_opts. It will prompt for the input and saves previous choices. Nov 12, 2014 at 14:19

Additional frame options can be specified using the BEAMER_OPT property. (You can set it using org-set-property, which is bound to C-c C-x p by default.)

To get Org to produce a beamer presentation PDF with references I also had to customize the value of org-latex-pdf-process, making sure that Org runs bibtex when exporting to LaTeX. (Note the manually specified biblatex backend, too.)

Here's a minimal example.

The main beamer-test.org file:

#+startup: beamer
#+LaTeX_CLASS: beamer

* Frame with content
See \cite{AbramowitzStegun}.

* Frame with references
:PROPERTIES:
:BEAMER_OPT: fragile,allowframebreaks,label=
:END:
\printbibliography


In my tests the file.bib bibliography database contained:

@book {AbramowitzStegun,
EDITOR = {M. Abramowitz and I. A. Stegun},
TITLE = {Handbook of {M}athematical {F}unctions, with {F}ormulas, {G}raphs,
and {M}athematical {T}ables},
SERIES = {Graduate Studies in Mathematics},
PUBLISHER = {Dover},

I discovered BEAMER_OPT by reading the code of org-beamer--format-frame defined in ox-beamer.el.
Tested using GNU Emacs 24.4.1 with Org-mode version 8.2.10.
• @Anusha: #+BEGIN_LATEX and #+END_LATEX is for special code that should only be present in LaTeX export; see Quoting LaTeX in the Org Mode Manual. If this document will not be exported to other formats, #+BEGIN_LATEX and #+END_LATEX are not needed. Nov 12, 2014 at 15:48
• @Anusha: The .bib file can be in a separate directory. (#+LATEX_HEADER: \bibliography{bib/file.bib} works for me, for example.) Note, though, that depending on the OS you need to use / (Linux, Mac OS X) or \ (Windows) as the file separator. Nov 12, 2014 at 15:59