Open elatella opened 2 years ago
The below lua-filter should solve this. Download doi2cite.lua
to either the main thesis folder or to the pandoc share folder and add a line -L doi2cite.lua \
to the Makefile under the pdf:
section in an appropriate location.
https://github.com/pandoc/lua-filters/tree/master/doi2cite
@tompollard, you can close this if you agree.
I came over this, and it looks like a lua/py filter for pandoc can do some magic. Unfortunately, time is what a grad does not have. http://api.crossref.org/works/[enter_DOI_here_for_bib]
If you are using Linux, you can get it by using (neo)vim and the github.com/jalvesaq/zotcite plugin to do this if the need is immediate.
Requirements::
Now you can just type @authorname or @keyword and press ^x^o to get a dropdown to select from.
The method is patchy and convoluted, but works.
Would it be possible to add a feature, where one only has to cite the doi in the text, and it would automatically generate the reference in the reference list and manage it. Similar to how manubot handles it: https://github.com/manubot/