From a8a784251a74e44376ed39db602030dc1c071253 Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Wed, 19 May 2021 13:38:50 +0200 Subject: [PATCH] add examples for org latex article exports to include references --- README.md | 36 ++++++++++++++++++++++++++++++++++++ README.org | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/README.md b/README.md index 8f487ff8..e84e1862 100644 --- a/README.md +++ b/README.md @@ -432,6 +432,42 @@ Examples for an article :CLEARPAGE: t :END: bla bla bla + + # For PDF/LaTeX export we do not want to use org-ref ox-bibtex, as its output is + # already defined in the preamble. The output for 'bibliography:references.bib' + # is something like '\bibliography{references}' + # reftex version + # bibliography:references.bib + # ox-bibtex version + # #+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t + * References-en :ignore: + :PROPERTIES: + :VISIBILITY: folded + :END: + #+LATEX: \newpage\thispagestyle{plain} + #+LATEX: \sloppy\printbibliography + #+LATEX: \begin{comment} + #+BIBLIOGRAPHY: references acmu option:-a option:-unicode option:-nobibsource limit:t + #+LATEX: \end{comment} + + * References-de :ignore: + :PROPERTIES: + :VISIBILITY: folded + :END: + #+LATEX: \newpage\thispagestyle{plain} + #+LATEX: \sloppy\printbibliography + #+LATEX: \begin{comment} + #+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t + #+LATEX: \end{comment} + + * References-rott :ignore: + :PROPERTIES: + :VISIBILITY: folded + :END: + #+LATEX: \newpage\thispagestyle{plain} + # all references from the bib + #+LATEX: \nocite{*} + #+BIBLIOGRAPHY: references rottbibsty option:-a option:-unicode option:-nobibsource diff --git a/README.org b/README.org index 40f6b595..714e3ab0 100644 --- a/README.org +++ b/README.org @@ -178,6 +178,42 @@ a bunch of online resources. :CLEARPAGE: t :END: bla bla bla + + # For PDF/LaTeX export we do not want to use org-ref ox-bibtex, as its output is + # already defined in the preamble. The output for 'bibliography:references.bib' + # is something like '\bibliography{references}' + # reftex version + # bibliography:references.bib + # ox-bibtex version + # #+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t + ,* References-en :ignore: + :PROPERTIES: + :VISIBILITY: folded + :END: + ,#+LATEX: \newpage\thispagestyle{plain} + ,#+LATEX: \sloppy\printbibliography + ,#+LATEX: \begin{comment} + ,#+BIBLIOGRAPHY: references acmu option:-a option:-unicode option:-nobibsource limit:t + ,#+LATEX: \end{comment} + + ,* References-de :ignore: + :PROPERTIES: + :VISIBILITY: folded + :END: + ,#+LATEX: \newpage\thispagestyle{plain} + ,#+LATEX: \sloppy\printbibliography + ,#+LATEX: \begin{comment} + ,#+BIBLIOGRAPHY: references mbunsrtdin option:-a option:-unicode option:-nobibsource limit:t + ,#+LATEX: \end{comment} + + ,* References-rott :ignore: + :PROPERTIES: + :VISIBILITY: folded + :END: + ,#+LATEX: \newpage\thispagestyle{plain} + # all references from the bib + ,#+LATEX: \nocite{*} + ,#+BIBLIOGRAPHY: references rottbibsty option:-a option:-unicode option:-nobibsource #+end_src *** Letter export (LaTex)