-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I noticed that currently the PDF metadata is incorrect if title: contains formatted parts such as [...]{.pkg} or [...]{.proglang}, even if title-plain is specified. The problem seems to be that the default Pandoc template (re-)sets the metadata and overrides the metadata generated by the JSS class file (which uses the plain title).
I think there are two main options:
- Use
titlefor the plain title and a new optionaltitle-formattedfor the formatted title (similar to the keywords); then the Pandoc template would automatically use the plain title whenever it falls back to thetitleinformation and resetting the metadata would not mess up the title metadata - Do not use the default Pandoc template (which also e.g. already loads
lmodern) but rather use a custom reduced template and include only desired Pandoc partials for e.g. tables but not the hypersetup block
I guess the second alternative would be cleaner since it would not reset and redefine things already handled by the JSS class file.
Metadata
Metadata
Assignees
Labels
No labels