r/IPython • u/bradleyfay • Feb 18 '14
Academic Citations in IPython Notebook
I'm a Ph.D. student and I'm really interested in using the IPython notebook for creating full academic publications. I'm wondering if there is a way to insert academic citations into an IPython document and create a bibliography similar to how bibtex works.
I've read about some of the options when exporting a notebook to PDF using nbconvert, but I haven't seen anything for Notebooks that are intended to be shared electronically using nbviewer. Obviously it's straightforward to just type everything out, but I'm interested in learning if there is a more automated way to accomplish this task. I think it would go a long way in making the IPython notebook the standard of scientific publication
1
u/wacky Feb 19 '14
Hi,
I really don't think that's what the notebook was designed for, and I don't think that exists or is a priority for the IPython team (although I could be wrong).
In my work, I generally save figures to a file as I go along (savefig function), and separately create a LaTeX document for use with those figures.
4
u/takluyver Feb 19 '14
The team does actually want it to be possible to write papers in notebooks. Personally, I'm not sure it will ever be a great experience, and maybe it makes more sense for notebooks to be companions to a paper, but it is certainly one of our (many) aims.
1
1
u/dlopoel Feb 19 '14
Ipython notebooks are saved as JSon, so you could look into having a post processor that would generate the cross references for you. That's a bit of work to setup, and this defeats the purpose of IPython notebook.
1
3
u/Phild3v1ll3 Feb 19 '14 edited Feb 19 '14
Found this, no idea how well it works but it seems to do what you want. We publish with notebooks now and I'll definitely give it a go, thanks for making me look it up.
For now we use the notebook launch our jobs on a Grid Engine system, collect the results, analyse and display them. The notebook then calls imagemagick to composit them into svg figures, and finally compiles the LateX files. This works well enough and I don't think the notebook will have all the features you might want but I hope you're the one to get us there.