Include table of contents when exporting to certain formats
The table of contents isn't included when exporting a manuscript to JATS, but it should be included when exporting to some document types.
- It may be enough to add the
--table-of-contents
option to pandoc when a section of typeMPSectionCategory:toc
is present. - This can be combined with
--toc-depth=
using theincludeInTOC
setting of each section style to determine the maximum depth. - The Table of Contents title can be customised using
-V toc-title:"Custom text"
, which could take the title from the Section object.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information