remark-bibtex is a remark plugin to generate footnoted citations from a
bibtex file. It uses
citation-js to load a specified
.bib file from which citations will be retrieved and added to the markdown file’s footnotes section.
The reason it exists is that when I created this blog, I found myself wanting to cite papers from my Mendeley library. As anyone who works with citations knows, they can be a beast to handle or format. A reference manager such as Mendeley makes our lives far more manageable because it becomes relatively painless to cite documents from
latex workflows. I wanted to reuse my existing
.bib files but from within the
remark markdown processing ecosystem of plugins, cue
Citation keys take the form of
(@citationKey): where “citationKey” corresponds to a bibtex entry in the provided
.bib file. The citation key will be replaced with a numbered footnote reference corresponding to the bibliography entry in the footnotes section. To work, this package has to be chained to the
remark-footnotes package, which adds the necessary markdown footnoting capability.
# My Document So here is my citation (@Wasserman1994). End of story.
So here is my citation[^1]. End of story. [^1]: 1\. Wasserman S, Faust K. Social Network Analysis. Cambridge: Cambridge University Press; 1994.
remark-bibtexrepository for more information about use and configuration.
- 1. Couclelis H. Cellular worlds: a framework for modeling micro-macro dynamics. Vol. 17, Environment and Planning A. 1985 p. 585–96. ↩
- 2. Berghauser Pont M, Stavroulaki G, Marcus L. Development of urban types based on network centrality, built density and their impact on pedestrian movement. Environment and Planning B: Urban Analytics and City Science. 2019 Oct;46(8):1549–64. ↩
- 3. Batty M. Cellular automata and urban form: A primer. Journal of the American Planning Association. 1997;63(2):266–74. ↩
- 4. Stewart TJ, Janssen R, Van Herwijnen M. A genetic algorithm approach to multiobjective land use planning. Computers and Operations Research. 2004 Dec;31(14):2293–313. ↩
- 5. Harris CR, Millman KJ, van der Walt SJ, Gommers R, Virtanen P, Cournapeau D, et al. Array programming with NumPy. Nature [Internet]. 2020 Sep;585(7825):357–62. Available from: http://www.nature.com/articles/s41586-020-2649-2↩
- 6. Wasserman S, Faust K. Social Network Analysis. Cambridge: Cambridge University Press; 1994. ↩