TYPST: A new markup + page layout engine to take on LaTeX

I attach an updated Typst sample project:

Typst.scriv.zip (369.7 KB)

This is built to compile and produce a Typst PDF and demonstrates the Scrivener workflow: custom styles and section types to build markup. It is mostly built around Pandoc Markdown, so we can benefit from all the existing Scrivener tools for markdown output (heading levels, conversion of RTF lists and tables, figures with captions, footnotes etc.) and use the many features that Pandoc offers.


But I also made a really quick-n-dirty direct-to-Typst compile format, Select Compile to Plain Text and choose “Pure Typst” and you get Typst output and the post processor runs Typst directly:

Currently some of the markdown sections of the content (like maths) are just turned to code to get it to compile. Scrivener’s lists don’t work, the title page is missing, and some styles are not set up, but at least captioned figures and footnotes are working. There is more work that needs to be done but Scrivener is able to build complex Typst document directly, given the caveats I mention above…