Skip to content

PDF metadata with formatted titles #4

@devmotion

Description

@devmotion

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 title for the plain title and a new optional title-formatted for the formatted title (similar to the keywords); then the Pandoc template would automatically use the plain title whenever it falls back to the title information 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions