Pandoc filter that looks up bibliographic data for citations in Zotero.
zotero-bibliography
metadata field, using the ${varname}
syntax.zotero-bibliography
file can now be written as BibTeX or BibLaTeX in Pandoc ≥ v2.17. This is not recommended though.pandoc-zotxt.lua
crashed if an item could not be found, and with a crytpic error message at that. This has been fixed.When looking up citation keys via the Zotero Web API, they must now be translatable into at least two search terms.
zotero-bibliography
metadata field, using the ${varname}
syntax.zotero-bibliography
file can now be written as BibTeX or BibLaTeX und Pandoc ≥ v2.17. This is not recommended though.pandoc-zotxt.lua
would abort if an item could not be found, and with a crytpic error message at that. This has been fixed.When looking up citation keys via the Zotero Web API, they must now be translatable into at least two search terms.
references
metadata field or BibTeX, CSL JSON, or CSL YAML bibliography files.--resource-path
option.bibliography
metadata field if zotero-bibliography
is set.bibliography
metadata field if run with Pandoc ≤ v2.11, only a single file is set, and that file is set as a YAML scalar.Dotting the i's before v1.1.
Minor improvements to error handling.
Somewhere along the way, pandoc-zotxt.lua
stopped parsing the bibliography
metadata field if
This has been fixed with this release.
Made handling of YAML bibliography files more robust.
bibliography
metadata
field and zotero-bibliography
was set, then pandoc-zotxt.lua would discard
all but the first of the original bibliography files. This is fixed here.references
metadata field nor in a bibliography file (this addresses issue #4).zotero-citekey-types
metadata field (this addresses issue #6).---
and end with ...
or ---
.zotero-bibliography
is set to a YAML file.file_write
now makes sure to flush the buffer of its file descriptor
before closing the file.
A lot of tidying up.
zotero-bibliography
;
this feature is still experimental and needs more testing.zotero-bibliography
file are atomic.--resource-path
option.Various smaller changes, hopefully for the better.