takluyver / cite2c

Citations in the Jupyter Notebook
MIT License
318 stars 35 forks source link

Page numbers in citations #31

Open daniel-allington opened 7 years ago

daniel-allington commented 7 years ago

At the moment, it doesn't seem to be possible to cite a particular page (paragraph, clause, chapter, etc) within a source. Might this feature be added? I'm not familiar with citeproc-js, but it's possible with e.g. pandoc-citeproc.

I'm hoping to use Jupyter with students, so cite2c will be a very important part of that decision - but they do need to be able to identify page numbers in their citations.

takluyver commented 7 years ago

It definitely makes sense as a feature request. I may not get to adding it any time soon, though.

daniel-allington commented 7 years ago

If I can make time (not easy at the moment), I may have a go at adding this feature myself. Which files would need modifying?

takluyver commented 7 years ago

main.js implements the UI to find and insert citations.

rendering.js is responsible for interacting with citeproc-js to render the citations in Markdown cells.

daniel-allington commented 7 years ago

Thanks - I'll see if I can make time. It will be good to get this done. I'm currently choosing between RStudio and Jupyter for my students to create notebooks in. Currently I feel that the main advantage of RStudio over Jupyter is version control and the main advantage of Jupyter over RStudio is that it's not tied to R. A fully working citation system would swing it for Jupyter.