egh / zotxt

zotxt: a Zotero extension for text
http://gitlab.com/egh/zotxt
GNU General Public License v3.0
326 stars 16 forks source link

Feature Request: Allow pandoc-zotxt to create permanent citation file #9

Closed CxRes closed 4 years ago

CxRes commented 5 years ago

This request is to allow pandoc-zotxt to create permanent citation file (perhaps in the same folder as the original file), avoiding the need run pandoc-zotxt every time that pandoc is used to recreate a document but citations have not changed.

odkr commented 5 years ago

This has already been implemented. The new Lua filter, pandoc-zotxt.lua, does this. If I’m not mistaken, it ships with newer versions of zotxt. Just set the zotero-bibliography metadata field to a filename (must end with ".json", because it must be, you know, a JSON file). That file will be created in the directory of the first input file passed to pandoc. But have a look at the documentation of pandoc-zotxt.lua for details.

egh commented 4 years ago

Closing because the python pandoc-zotxt is obsolete and deprecated.