Skip to content

Different behaviour for csl & citation-style metadata field in typst export #10661

@zod

Description

@zod

Explain the problem.
When converting a document from markdown to typst the behaviour is different if the csl or citation-style metadata field is used.

citation-style.md

---
citation-style: x
---
Hello

csl.md

---
csl: x
---
Hello

Converting them using

pandoc --standalone -t typst -o citation-style.typst citation-style.md
pandoc --standalone -t typst -o csl.typst csl.md

Only csl.typst contains #set bibliography(style: "x"). The [manual)(https://pandoc.org/MANUAL.html#specifying-a-citation-style) doesn't specify any behavioral difference so I expected both variables to be treated equal.

Pandoc version?

pandoc --version
pandoc 3.6.3
Features: +server +lua
Scripting engine: Lua 5.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions