未翻訳
このページはまだ翻訳されていません。原文の内容が表示されています。
Version 0.5.0 (June 9, 2023)
Text and Layout
- Added
rawsyntax highlighting for many more languages - Added support for Korean numbering
- Added basic i18n for a few more languages (NL, SV, DA)
- Improved line breaking for East Asian languages
- Expanded functionality of outline
indentproperty - Fixed footnotes in columns
- Fixed page breaking bugs with footnotes
- Fixed bug with handling of footnotes in lists, tables, and figures
- Fixed a bug with CJK punctuation adjustment
- Fixed a crash with rounded rectangles
- Fixed alignment of
lineelements
Math
- Breaking change: The syntax rules for mathematical
attachments were improved:
$f^abs(3)$now parses as$f^(abs(3))$instead of$(f^abs)(3)$. To disambiguate, add a space:$f^zeta (3)$. - Added forced size commands for math (e.g.,
display) - Added
supplementparameter toequation, used by references - New symbols:
bullet,xor,slash.big,sigma.alt,tack.r.not,tack.r.short,tack.r.double.not - Fixed a bug with symbols in matrices
- Fixed a crash in the
attachfunction
Scripting
- Added new
datetimetype anddatetime.todayto retrieve the current date - Added
str.from-unicodeandstr.to-unicodefunctions - Added
fieldsmethod on content - Added
baseparameter tostrfunction - Added
calc.expandcalc.ln - Improved accuracy of
calc.powandcalc.logfor specific bases - Fixed removal order for dictionary
- Fixed
.at(default: ..)for strings and content - Fixed field access on styled elements
- Removed deprecated
calc.modfunction
Command line interface
- Added PNG export via
typst compile source.typ output-{n}.png. The output path must contain{n}if the document has multiple pages. - Added
--diagnostic-format=shortfor Unix-style short diagnostics - Doesn't emit color codes anymore if stderr isn't a TTY
- Now sets the correct exit when invoked with a nonexistent file
- Now ignores UTF-8 BOM in Typst files
Miscellaneous Improvements
- Improved errors for mismatched delimiters
- Improved error message for failed length comparisons
- Fixed a bug with images not showing up in Apple Preview
- Fixed multiple bugs with the PDF outline
- Fixed citations and other searchable elements in
hide - Fixed bugs with reference supplements
- Fixed Nix flake