Version 0.6.0 (June 30, 2023)
Package Management
- Typst now has built-in package management
- You can import published community packages or create and use system-local ones
- Published packages are also supported in the web app
Math
- Added support for optical size variants of glyphs in math mode
- Added argument to enable
limitsconditionally depending on whether the equation is set indisplayorinlinestyle - Added
gt.eq.slantandlt.eq.slantsymbols - Increased precedence of factorials in math mode (
$1/n!$works correctly now) - Improved underlines and overlines in math mode
- Fixed usage of
limitsfunction in show rules - Fixed bugs with line breaks in equations
Text and Layout
- Added support for alternating page margins with the
insideandoutsidekeys - Added support for specifying the page
binding - Added
toargument to pagebreak function to skip to the next even or odd page - Added basic i18n for a few more languages (TR, SQ, TL)
- Fixed bug with missing table row at page break
- Fixed bug with underlines
- Fixed bug superfluous table lines
- Fixed smart quotes after line breaks
- Fixed a crash related to text layout
Command line interface
- Breaking change: Added requirement for
--root/TYPST_ROOTdirectory to contain the input file because it designates the project root. Existing setups that useTYPST_ROOTto emulate package management should switch to local packages - Breaking change: Now denies file access outside of the project root
- Added support for local packages and on-demand package download
- Now watches all relevant files, within the root and all packages
- Now displays compilation time
Miscellaneous Improvements
- Added
outline.entryto customize outline entries with show rules - Added some hints for error messages
- Added some missing syntaxes for
rawhighlighting - Improved rendering of rotated images in PNG export and web app
- Made footnotes reusable and referenceable
- Fixed bug with citations and bibliographies in
locate - Fixed inconsistent tense in documentation
Development
- Added contribution guide
- Reworked
Worldinterface to accommodate for package management and make it a bit simpler to implement (Breaking change for implementors)