-
-
Couldn't load subscription status.
- Fork 3.7k
Closed
Description
Explain the problem.
pagebreak.typ:
First Page
#pagebreak()
Second Page
Running: pandoc pagebreak.typ -f typst -t pdf -s -o pagebreak.pdf
The output is missing the page break in PDF. docx also doesn't show it but pandoc to docx isn't supporting pagebreaks by default.
I would expect the content after the #pagebreak() to start on a new page.
Related typst docs: https://typst.app/docs/reference/layout/pagebreak/
Note: Typst supports two parameters:
pagebreak(
weak: bool, to: none | str,
) -> content
However, for a first version it would probably be fine to ignore those options and give a warning if they're seen.
Pandoc version? MacOS and commit: 22ff5a8909dc8ce4f9d8a7dbdb97dcd657f9ebb0