When writing scientific papers within org-mode
, the usual way to go is to specify citations, e.g., with the help of org-ref
and then to export the whole thing to LaTeX/PDF, which does also resolve the citations based on a BibTeX database.
While this works out very well in everyday work, I would be curious to learn whether it is also possible to stay within org-mode
proper, hence to have all the references automatically resolved and printed at the end of the org-mode
file.
This would have two nice consequences that I miss so far:
- The export to HTML would also include resolved references.
- Similarly, the export with
ox-reveal
(for outputting slides) would include them too.
EDIT:
It turned out that the desired consequences are actually not so difficult to achieve. Using org-ref
, don't forget (as I did) to make use of bibliography:your-bib-file.bib
and bibliographystyle:your-bst-file.bst
.
Yet the underlying question about self-contained org-mode files still remains.
bibliography:
andbibliographystyle:
in my org-mode file, using#+bibliography
instead. However, exporting to HTML does not resolve keys so far. For instance,cite:Chomsky:13
is exported asChomsky:13
.