HeadlinesBriefing favicon HeadlinesBriefing.com

Typst 0.15.0 Adds Variable Fonts and Bundle Export

Hacker News •
×

Typst 0.15.0 introduces significant upgrades to the markup language compiler, including native variable font support and automatic MathML equation export for HTML documents. The release addresses long-standing layout issues while expanding export capabilities through an experimental bundle target that enables single projects to output multiple files simultaneously.

Developers gain finer control over typography with automatic handling of standard variation axes like wght, wdth, and ital, plus custom variation configuration. The new within selector streamlines introspection tasks, while spot colors enable custom pigment usage in professional offset printing workflows. Path handling improvements allow packages to accept project-relative file paths more reliably.

HTML export receives major attention with improved paragraph grouping that prevents unexpected paragraph breaks, better baseline alignment for boxed content, and enhanced accessibility through semantic MathML equations. Package authors should note breaking changes to box and block element behavior that align HTML and paged export semantics.

Layout engine refinements fix marker alignment and centering in lists, while the bibliography system now supports multiple bibliographies within single documents. Detailed diagnostics help developers troubleshoot layout convergence issues more effectively.