v0.5.0
版本发布时间: 2023-06-09 22:55:29
typst/typst最新发布版本:v0.12.0(2024-10-19 05:41:48)
-
Text and Layout
- Added
raw
syntax highlighting for many more languages - Added support for Korean numbering
- Added basic i18n for a few more languages (NL, SV, DA)
- Improved linebreaking for East Asian languages
- Expanded functionality of outline
indent
property - 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
line
elements
- Added
-
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
supplement
parameter 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
attach
function
-
Breaking change: The syntax rules for mathematical attachments were improved:
-
Scripting
- Added new
datetime
type anddatetime.today()
to retrieve the current date - Added
str.from-unicode
andstr.to-unicode
functions - Added
fields
method on content - Added
base
parameter tostr
function - Added
calc.exp
andcalc.ln
- Improved accuracy of
calc.pow
andcalc.log
) for specific bases - Fixed removal order for dictionary
- Fixed
.at(default: ..)
for strings and content - Fixed field access on styled elements
- Removed deprecated
calc.mod
function
- Added new
-
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=short
for Unix-style short diagnostics - Doesn't emit color codes anymore if stderr isn't a TTY
- Now sets the correct exit code when invoked with a non-existent file
- Now ignores UTF-8 BOM in Typst files
- Added PNG export via
-
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
Thanks to everyone who contributed to this release: @EpicEricEE, @LaurenzV, @PgBiel, @SUPERCILEX, @figsoda, @lynn, @peng1999, @sandalbanditten, @BasixKOR, @JettChenT, @Leedehai, @MDLC01, @StrangeGirlMurph, @alixmacdonald10, @coughmedicine, @epbuennig, @erikwastaken, @glocq, @howjmay, @jassler, @lino-levan, @lucifer1004, @matthiasGmayer, @naim94a, @ollema, @sbatial, @sitandr, @xiongmao86.
1、 typst-aarch64-apple-darwin.tar.xz 7.75MB
2、 typst-aarch64-pc-windows-msvc.zip 10.88MB
3、 typst-aarch64-unknown-linux-musl.tar.xz 7.73MB
4、 typst-armv7-unknown-linux-musleabi.tar.xz 7.93MB
5、 typst-riscv64gc-unknown-linux-gnu.tar.xz 8.11MB
6、 typst-x86_64-apple-darwin.tar.xz 7.95MB
7、 typst-x86_64-pc-windows-msvc.zip 11.11MB
8、 typst-x86_64-unknown-linux-musl.tar.xz 8.21MB