Example of using ox-bib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #+TITLE: Org Bibtex Example | |
| #+AUTHOR: Lorenz Hübschle-Schneider | |
| #+OPTIONS: toc:nil | |
| #+OPTIONS: ':t | |
| * Introduction | |
| Citing is as easy as inserting a reference: [[cite:BoundedDiff1989]] | |
| Using =ox-extra='s =:ignore:= property allows using an unnumbered bibliography | |
| section, =* Bibliography :ignore:=. Load it like this, e.g. in your | |
| =org-mode-hook=: | |
| #+BEGIN_EXAMPLE | |
| (require 'ox-bibtex) | |
| (require 'ox-extra) | |
| (ox-extras-activate '(ignore-headlines)) | |
| #+END_EXAMPLE | |
| Then add =#+BIBLIOGRAPHY: references plain limit:t= where you want the | |
| bibliography. The =limit:t= option ensures that only references that are used | |
| are included in the output. | |
| The default build process doesn't run =bibtex=, so add the following to your =init.el=: | |
| #+BEGIN_EXAMPLE | |
| (setq org-latex-pdf-process (list "latexmk -f -pdf %f")) | |
| #+END_EXAMPLE | |
| * Bibliography :ignore: | |
| #+BIBLIOGRAPHY: references plain limit:t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.