v2.2.0
This minor release brings forth a fix, new features and small improvements.
New features
-
Djot:
-
Support attributes for numbered display math equations (#81, #124)
This feature allows users to specify attributes for numbered display math equations, with SILE 0.15 or later.
Note that a soon-coming release of resilient.sile collection adds styles for the equation numbers, so users can easily customize the appearance of the equation numbers when this collection is used. -
Support programmatic symbols (extensible via Lua) (#121, #123)
This feature refactors the internal handling of Djot symbols, and provides a new API method for 3rd-party classes or packages to register their own symbols in addition to the built-in ones.
-
-
Pandoc AST:
-
Support Pandoc 3.1+ implicit figures (Pandoc types 1.23+) (#73, #125)
This feature improves compatibility with Pandoc 3.1+ (which enables
implicit_figures
by default and generates a specific node in its AST.) -
Support the lunajson parsing library as alternative (#21, #104, #119)
This collection now depends on the lunajson pure-Lua library for parsing the Pandoc AST JSON. It automatically installs it (when installed via LuaRocks), so users no longer have to install a JSON library separately, and can use the pandocast package from this collection out of the box.
It is still possible for users to install the LPEG-based luajson library, in which case the collection uses it instead. (Note that luajson, at the moment, must be in its development version, as the version distributed via LuaRocks has an issue with recent versions of the LPEG module.)
-
Fixes