[x] improved behavior of chapter counter: globally increasing, but zero just after \volume and before \chapter (support for volume and document landing pages)
[x] cleaner tree and implementation
[x] null-safe resulting tree
[ ] move empty element checks (i.e. section names) from the parser to the transform
[ ] support for manually setting id (and better support for automatic ids)
This has several objectives...
Syntax/transform:
\volume
and before\chapter
(support for volume and document landing pages)TeX/PDF generation:
Html/website generation: