Skip to content
Discussion options

You must be logged in to vote

Figured it out.

Apparently, input-file: is not passed on to Pandoc by Quarto, but defaults: is. I can therefore in my custom format definition write

contributes:
  formats:
    html:
      defaults: math-definitions.yaml

and include in the format a file math-definitions.yaml which contains

input-file: _extensions/document/math-definitions.tex

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@allefeld
Comment options

@allefeld
Comment options

@dhodge180
Comment options

@allefeld
Comment options

Answer selected by allefeld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
extensions relates to Quarto extensions mechanism latex LaTeX engines related libraries and technologies
2 participants