Skip to content

Releases: odkr/pandoc-zotxt.lua

Better handling of pre-existing sources, better error messages

05 Apr 17:37
v1.0.1b
7b1dbe2
Compare
Choose a tag to compare
  • No longer looks up bibliographic data for sources that are defined in the references metadata field or in a bibliography file.
  • Now prints an error message, rather than a stack trace, when a source is not found in Zotero.
  • Minor changes to documentation.

Better error handling

28 Oct 22:30
b902c2b
Compare
Choose a tag to compare

Some people have been using this script for a while now -- without major hiccups. So I guess it's time for v1.0.0.

Improvements

  • If you're using Pandoc v2.10 or newer, errors no longer abort
    document compilation and error messages are more to the point.
  • Error messages are formatted more nicely.

Bugfixes

  • The test suite can now test under 'real world' conditions again.
  • warn no longers throws an error if it's called with arguments to msg.
  • add_references creates a empty array instead of an empty object for references.

Varia

  • Minor improvements to documentation.
  • Data files of the test suite no longer get updated by testing.

Minor corrections

20 Oct 17:27
65e8c7e
Compare
Choose a tag to compare
  • write_json_file now uses the operating sytem's end of line sequence.
  • Adapted test suite to now grouping behaviour of the citation processor.
  • Simplified some functions.
  • Moved code for testing into its own script.
  • Several minor corrections and improvements to the documentation.

Support for Pandoc v2.11

13 Oct 18:30
033ba4f
Compare
Choose a tag to compare

Issues addressed

Using formatted fields only worked because of an unintended behaviour in how pandoc-citeproc handles the references metadata field. However, starting with Pandoc v2.11, Pandoc no longer uses pandoc-citeproc, but processes citations itself. And it handles references metadata field correctly (see issue #6722 of Pandoc for details). This release addresses this. Thanks to @njbart for catching it early!

Documentation

  • Updated to reflect Pandoc v2.11.
  • Many typos corrected.
  • Other minor improvements.

Varia

  • Test suite no longer requires Python.
  • Updated lunajson to v1.2.3-1.

Testing changes for Pandoc v2.11

12 Oct 17:58
b976ab8
Compare
Choose a tag to compare
Pre-release

Bugs fixed

Using formatted fields only worked because of a bug in how pandoc-citeproc
handles the references metadata field. pandoc-citeproc is no longer
needed starting with Pandoc v2.11, which also treats the references
metadata field correctly. This should have been fixed.

Documentation

  • Updated to reflect new invocation of the citation processor in Pandoc v2.11.
  • Many typos corrected.
  • Other minor improvements.

Varia

  • Test suite no longer requires Python.
  • Updated lunajson to v1.2.3-1.

Minor update

11 May 17:11
1d1f2da
Compare
Choose a tag to compare

httpd now makes sure only to return when it accepts requests. This makes the test suite more robust.

Minor update

11 May 15:54
37a514b
Compare
Choose a tag to compare

The test suite is now more robust and no longer needs Zotoro, zotxt, or Better BibTeX. It does need Python now though.

Minor update

09 May 06:47
e476556
Compare
Choose a tag to compare
  • More robust error handling.
  • Minor performance improvements.

Minor fix

03 May 17:42
11020f3
Compare
Choose a tag to compare

The manpage contained en-dashes (“–”) instead of double hyphens (“--”). Fixed.

Bugfix

03 May 14:53
01d3d52
Compare
Choose a tag to compare

File I/O errors could have been reported incorrectly. Fixed.