Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jupyter notebook with bibtex citations

I have a .ipynb file containing markdown text. I have a bibtex file called library.bib with all my references. I wish to cite one of these references in the Markdown cell.

I've found information on how to render this when I do nbconvert, but how can I have the references in my browser window in the raw ipynb format?

like image 530
James Avatar asked Jun 19 '15 00:06

James


People also ask

How do you add citations in Jupyter notebook?

You can add citations and bibliographies using references that are stored in a bibtex file that is in your book's folder. You can then add a citation in-line in your Markdown with the {cite} role, and include the bibliography from your bibtex file with the {bibliography} directive.

How do you cite a Jupyter notebook in APA?

Citation in APA styleKluyver, T., Ragan-Kelley, B., Fernando P'erez, Granger, B., Bussonnier, M., Frederic, J., … Willing, C. (2016). Jupyter Notebooks – a publishing format for reproducible computational workflows.

How do you cite markdown?

You insert citations by either using the Insert -> Citation command or by using markdown syntax directly (e.g. [@cite] or @cite ) . Citations go inside square brackets and are separated by semicolons.


2 Answers

Have a look at https://github.com/takluyver/cite2c witch is a notebook extension.

like image 69
Matt Avatar answered Sep 19 '22 17:09

Matt


The Calico Document Tools extensions supposedly offers BibTeX support. For Jupyter 4.x seems to need adaptations. See section Notebook Extension Structure from README in the ipython-contrib/IPython-notebook-extensions repository on github.

like image 42
asm Avatar answered Sep 22 '22 17:09

asm