rootstock
rootstock copied to clipboard
Allow use of --number-sections
It would be good to be able to number the sections. Pandoc has an option for this, but it's not directly usable.
Changes in rootstock:
- Authors, Abstract, Bibliography should be
{.unnumbered} number-sections: truein default.yaml
Changes in pandoc itself:
This probably needs fixing of https://github.com/jgm/pandoc/issues/5071 since otherwise with the recommended level-two headings (or with shift-heading-level-by: 1) the numbers are wrong.
Thanks for sharing this. Numbered sections were mentioned by @agitter in https://github.com/manubot/rootstock/issues/365#issuecomment-699995029.
I think https://github.com/greenelab/covid19-review/pull/207 is a helpful reference.
Perhaps we should add a note in USAGE.md about numbering sections?