Skip to content

markdown to typst code generated does not compile with typst compiler default to pdf #11297

@agompel

Description

@agompel

Explain the problem.

pandoc -s --pdf-engine=^Cpst gaza-peace-plan-september-22-2025.md -o gaza-peace-plan-september-22-2025.typ
typst compile gaza-peace-plan-september-22-2025.typ

ERROR: ┌─ gaza-peace-plan-september-22-2025.typ:81:17

81 │ font: font,
│ ^^^^

help: error occurred in this call of function conf
┌─ gaza-peace-plan-september-22-2025.typ:143:14

143 │ #show: doc => conf(
│ ╭───────────────^
144 │ │ abstract-title: [Abstract],
145 │ │ pagenumbering: "1",
146 │ │ cols: 1,
147 │ │ doc,
148 │ │ )
│ ╰─^

Pandoc version?

Latest : pandoc 3.8.2.1 On endeavor Linux (Arch spin)

What version of pandoc are you using, on what OS? (If it's not the latest release, please try with the latest release before reporting the issue. Note that many linux distributions have old versions of pandoc in their repositories.)

gaza-peace-plan-september-22-2025.md.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions