v0.10.0
版本发布时间: 2023-12-04 23:51:31
typst/typst最新发布版本:v0.12.0(2024-10-19 05:41:48)
-
Bibliography management
- Added support for citation collapsing (e.g.
[1]-[3]
instead of[1], [2], [3]
) if requested by a CSL style - Fixed bug where an additional space would appear after a group of citations
- Fixed link show rules for links in the bibliography
- Fixed show-set rules on citations
- Fixed bibliography-related crashes that happened on some systems
- Corrected name of the GB/T 7714 family of styles from 7114 to 7714
- Fixed missing title in some bibliography styles
- Fixed printing of volumes in some styles
- Fixed delimiter order for contributors in some styles (e.g. APA)
- Fixed behavior of alphanumeric style
- Fixed multiple bugs with GB/T 7714 style
- Fixed escaping in Hayagriva values
- Fixed crashes with empty dates in Hayagriva files
- Fixed bug with spacing around math blocks
- Fixed title case formatting after verbatim text and apostrophes
- Page ranges in
.bib
files can now be arbitrary strings - Multi-line values in
.bib
files are now parsed correctly - Entry keys in
.bib
files now allow more characters - Fixed error message for empty dates in
.bib
files - Added support for years of lengths other than 4 without leading zeros in
.bib
files - More LaTeX commands (e.g. for quotes) are now respected in
.bib
files
- Added support for citation collapsing (e.g.
-
Visualization
- Added support for patterns as fills and strokes
- The
alpha
parameter of thecomponents
function on colors is now a named parameter (Breaking change) - Added support for the Oklch color space
- Improved conversions between colors in different color spaces
- Removed restrictions on Oklab chroma component
- Fixed clipping on blocks and boxes without a stroke
- Fixed bug with gradients on math
- Fixed bug with gradient rotation on text
- Fixed bug with gradient colors in PDF
- Fixed relative base of Oklab chroma ratios
- Fixed Oklab color negation
-
Text and Layout
- CJK text can now be emphasized with the
*
and_
syntax even when there are no spaces - Added basic i18n for Greek and Estonian
- Improved default figure caption separator for Chinese, French, and Russian
- Changed default figure supplement for Russian to short form
- Fixed CJK-Latin-spacing before line breaks and in
locate
calls - Fixed line breaking at the end of links
- CJK text can now be emphasized with the
-
Math
- Added
mid
function for scaling a delimiter up to the height of the surroundinglr
group - The
op
function can now take any content, not just strings - Improved documentation for math alignment
- Fixed swallowing of trailing comma when a symbol is used in a function-like way (e.g.
pi(a,b,)
)
- Added
-
Scripting
- Any non-identifier dictionary key is now interpreted as an expression: For instance,
((key): value)
will create a dictionary with a dynamic key - The
stroke
type now has a constructor that converts a value to a stroke or creates one from its parts - Added constructor for
arguments
type - Added
calc.div-euclid
andcalc.rem-euclid
functions - Fixed equality of
arguments
- Fixed
repr
ofcmyk
colors - Fixed crashes with provided elements like figure captions, outline entries, and footnote entries
- Any non-identifier dictionary key is now interpreted as an expression: For instance,
-
Tooling and Diagnostics
- Show rules that match on their own output now produce an appropriate error message instead of a crash (this is a first step, in the future they will just work)
- Too highly or infinitely nested layouts now produce error messages instead of crashes
- Added hints for invalid identifiers
- Added hint when trying to use a manually constructed footnote or outline entry
- Added missing details to autocompletions for types
- Improved error message when passing a named argument where a positional one is expected
- Jump from click now works on raw blocks
-
Export
- PDF compilation output is now again fully byte-by-byte reproducible if the document's
date
is set manually - Fixed color export in SVG
- Fixed PDF metadata encoding of multiple authors
- PDF compilation output is now again fully byte-by-byte reproducible if the document's
-
Command line interface
- Fixed a major bug where
typst watch
would confuse files and fail to pick up updates - Fetching of the release metadata in
typst update
now respects proxies - Fixed bug with
--open
flag on Windows when the path contains a space - The
TYPST_FONT_PATHS
environment variable can now contain multiple paths (separated by;
on Windows and:
elsewhere) - Updated embedded New Computer Modern fonts to version 4.7
- The watching process doesn't stop anymore when the main file contains invalid UTF-8
- Fixed a major bug where
-
Miscellaneous Improvements
- Parallelized image encoding in PDF export
- Improved the internal representation of content for improved performance
- Optimized introspection (query, counter, etc.) performance
- The document title can now be arbitrary content instead of just a string
- The
number-align
parameter on numbered lists now also accepts vertical alignments - Fixed selectors on quote elements
- Fixed parsing of
#return
expression in markup - Fixed bug where inline equations were displayed in equation outlines
- Fixed potential CRLF issue in
raw
blocks - Fixed a bug where Chinese numbering couldn't exceed the number 255
-
Development
- Merged
typst
andtypst-library
and extractedtypst-pdf
,typst-svg
, andtypst-render
into separate crates - The Nix flake now includes the git revision when running
typst --version
- Merged
Thanks to everyone who contributed to this release: @Dherse, @frozolotl, @Leedehai, @Andrew15-5, @MDLC01, @danieleades, @tingerrr, @Jollywatt, @cmoog, @peng1999, @Enter-tainer, @JakobSachs, @KronosTheLate, @MyrtleTurtle22, @T0mstone, @TheJosefOlsson, @antonWetzel, @denkspuren, @kokkonisd, @lihe07, @mattfbacon, @rezzubs, @samueltardieu, @xalbd.
1、 typst-aarch64-apple-darwin.tar.xz 9.56MB
2、 typst-aarch64-unknown-linux-musl.tar.xz 9.6MB
3、 typst-armv7-unknown-linux-musleabi.tar.xz 9.75MB
4、 typst-x86_64-apple-darwin.tar.xz 9.95MB
5、 typst-x86_64-pc-windows-msvc.zip 13.92MB
6、 typst-x86_64-unknown-linux-musl.tar.xz 10.33MB