Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
P
Pressroom JS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 32
    • Issues 32
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1
    • Merge Requests 1
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Manuscripts.app Public
  • Pressroom JS
  • Issues
  • #51

Closed
Open
Opened Sep 18, 2020 by Alf Eaton@alf-eatonOwner

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 type MPSectionCategory:toc is present.
  • This can be combined with --toc-depth= using the includeInTOC 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.
Edited Sep 18, 2020 by Alf Eaton
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: mpapp-public/pressroom-js#51