Skip to content

Page break not suported for typst -> docx #11101

@RayBB

Description

@RayBB

Explain the problem.

pagebreak.typ:

First Page
#pagebreak()
Second Page

Running: pandoc pagebreak.typ -f typst -t docx -s -o pagebreak.docx

The output is missing the page break:

Image

The same issue happens when outputting to PDF.

I would expect the content after the #pagebreak() to start on a new page.

Related typst docs: https://typst.app/docs/reference/layout/pagebreak/

Pandoc version? MacOS and commit: 22ff5a8909dc8ce4f9d8a7dbdb97dcd657f9ebb0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions