- Sanitise
&and:as escape charcters in TeX output. - Remove space for the title if no title information is present. Game moves will start at the top of the page.
- Fixed 'undefined' appearing in PDF when custom headers are used, but where some are left blank.
- Change the way TEX tags are written, conditionally rendering them where needed to help prevent
undefined.
- Added support for customer headers
titleandsubtitle, allowing the overriding of standard PGN headers in the PDF. - Added scripts and GH Actions to check linting and build on branch push and PR creation.
- Fixed bug where no date in the PGN header was being rendered as
undefined
- Variation comments are now displayed.
- Additional TeX sanitisation: removing double spaces, adding a space after a move number if preceded by parenthesis.
- Sanitise PGN before passing onto the PGN parser. Removes the odd whitespace character '☒' found in one example, and removes comments inside of square brackets which are often square highlights from Chess.com or Lichess. Non-ASCII character removal is on the roadmap.
- TSDoc comments added to the public
toTexmethod.
- Move times displayed at the top and bottom of the chessboard, set with the boolean
diagramClock. - TypeScript update from 5.1.6 to 5.3.3.
- Initial release