Highlights
Typst now produces accessible PDFs out of the box, with opt-in support for stricter checks and conformance to PDF/UA-1
Typst now supports all PDF/A standards
PDFs can now be used as images (thanks to https://github.com/LaurenzV)
Added support for character-level justification (can significantly improve the appearance of justified text)
Added support for many more built-in elements in HTML export
Added typed HTML API (e.g.
html.div) with individually typed attributesAdded support for multiple headers and subheaders in tables
Added
titleelement for displaying the document titleAdded
frac.styleproperty for producing skewed and inline fractions
PDF export
PDF export was fully rewritten to use the new
krilla library, fixing various
bugs and enabling many improvements. Known fixes are listed below, but
there will likely be other changes in how the output behaves. If you
spot any regressions, please report them on
GitHub. (Thanks to
https://github.com/LaurenzV for creating krilla!)
https://github.com/typst/typst/pull/5420
Typst now produces accessible PDFs out of the box. Such documents are suitable for consumption in a wide range of circumstances. That not only includes consumption by people with permanent or temporary disabilities, but also by those with different devices or preferences.
Typst PDFs are now tagged by default. Tags are rich metadata that PDF viewers can use to make the document consumable in other ways than visually (e.g., through a screen reader).
In addition, Typst can now emit documents conforming to the PDF/UA-1 standard. (PDF/UA-2 is not yet supported, but planned.)
There is an increasing amount of existing and upcoming legislation requiring documents to be accessible, for instance, the European Accessibility Act and the Americans with Disabilities Act.
For more details on all of this, read the new Accessibility Guide.
Typst now supports all PDF/A standards: PDF/A-1b, PDF/A-1a, PDF/A-2b, PDF/A-2u, PDF/A-2a, PDF/A-3b, PDF/A-3u, PDF/A-3a, PDF/A-4, PDF/A-4f, and PDF/A-4e. See the expanded PDF/A documentation for guidance on how to select a suitable standard. https://github.com/typst/typst/pull/5420 https://github.com/typst/typst/pull/7038
Typst now supports the PDF versions 1.4, 1.5, 1.6, and 2.0 in addition to PDF 1.7. See the relevant section of the PDF documentation for details. https://github.com/typst/typst/pull/5420
Added
pdf.artifactfunction for marking content as not semantically meaningful https://github.com/typst/typst/pull/6619Added experimental
pdf.header-cell,pdf.data-cell, andpdf.table-summaryfunctions for enhancing accessibility of documents with complex tables. These functions are guarded by thea11y-extrasfeature. They do not have a final interface and will be removed in the future, either through integration into table functions or through full removal. https://github.com/typst/typst/pull/6619PDF heading bookmarks now contain the heading's numbering https://github.com/typst/typst/pull/6622
Attachments
Renamed
pdf.embedtopdf.attach(the old name will remain as a deprecated alias until Typst 0.15) https://github.com/typst/typst/pull/6705The
mimeproperty ofpdf.attachis now checked for syntactical correctness (Minor breaking change)Fixed parsing of the
dataargument ofpdf.attachhttps://github.com/typst/typst/pull/6435Attachments now smartly determine whether they should be compressed https://github.com/typst/typst/pull/6256
Text extraction (i.e. copy paste)
Now works correctly even when multiple different characters result in the same glyph https://github.com/typst/typst/pull/5420
Spaces between words at which a natural line break occurred are now correctly retained for text extraction https://github.com/typst/typst/pull/6866
Fixed mapping of hyphenation artifacts to Unicode text https://github.com/typst/typst/pull/6799
Images
CMYK images now work properly in PDF export https://github.com/typst/typst/pull/5420
Improved export of text in SVG images with a filter https://github.com/typst/typst/pull/5420
Improved compatibility of SVG images with Quartz rendering engine (the engine used in Apple Preview) https://github.com/typst/typst/pull/5420
Improved handling of SVG images with high group nesting depth https://github.com/typst/typst/pull/5420
Fixed a bug with text in patterns https://github.com/typst/typst/pull/5420
Fixed gradients with transparency https://github.com/typst/typst/pull/5420
HTML export
Added support for many more built-in elements (the Model category is now fully covered)
The
imageelement https://github.com/typst/typst/pull/6578The
footnoteandfootnote.entryelement https://github.com/typst/typst/pull/6917The
outlineandoutline.entryelement https://github.com/typst/typst/pull/6606The
bibliographyelement https://github.com/typst/typst/pull/6952The
smartquoteelement https://github.com/typst/typst/pull/6710The
subandsuperelements https://github.com/typst/typst/pull/6422The
underline,overline,strike, andhighlightelements https://github.com/typst/typst/pull/6510The
smallcapselement https://github.com/typst/typst/pull/6600The
lowerandupperfunctions https://github.com/typst/typst/pull/6585
Added typed HTML API (e.g.
html.div) with individually typed attributes https://github.com/typst/typst/pull/6476- For example, to generate a
videoelement you can now write[#html.video(width: 400, src: "sunrise.mp4")]instead of[#html.elem("video", attrs: (width: "400", src: "sunrise.mp4"))]. Note how thewidthattribute takes an integer instead of a string.
- For example, to generate a
Added support for intra-doc
linktargets https://github.com/typst/typst/pull/6602The
rawelementAdded syntax highlighting support https://github.com/typst/typst/pull/6691
Block-level
rawelements now emit both a<code>and a<pre>tag https://github.com/typst/typst/pull/6701The language tag of
rawelements is now preserved as adata-langattribute on the<code>tag https://github.com/typst/typst/pull/6702
The
authorsandkeywordsproperties of thedocumentfunction now yield corresponding HTML<meta>tags https://github.com/typst/typst/pull/6134The
html.elemfunction now supports custom HTML element names https://github.com/typst/typst/pull/6676Improved encoding of
html.framehttps://github.com/typst/typst/pull/6605Empty attributes are now encoded with shorthand syntax (e.g.
html <div hidden></div>) https://github.com/typst/typst/pull/6479Zero-sized horizontal weak spacing (
{h(0pt, weak: true)}) does not cause a "was ignored during HTML export" warning anymore, so it can be used to destruct surrounding spaces without producing any output, as in paged export https://github.com/typst/typst/pull/6917Fixed encoding of
<pre>and<textarea>elements that start with a newline https://github.com/typst/typst/pull/6487 https://github.com/typst/typst/pull/6497Fixed encoding of raw text elements https://github.com/typst/typst/pull/6487 https://github.com/typst/typst/pull/6720
Fixed sizing of
html.framehttps://github.com/typst/typst/pull/6505Fixed
measurein HTML export https://github.com/typst/typst/pull/7186Fixed nested
html.frames https://github.com/typst/typst/pull/6509Fixed that a
boxwithout a body was ignored in HTML export https://github.com/typst/typst/pull/6709Fixed encoding of whitespace in HTML https://github.com/typst/typst/pull/6750
SVG export
Added support for COLR-flavored color glyphs https://github.com/typst/typst/pull/6693
Reduced amount of
<g>grouping elements that are generated https://github.com/typst/typst/pull/6247
PNG export
- Fixed crash when text size is negative https://github.com/typst/typst/pull/7004
Visualize
Added support for using PDFs as images using the new
hayrolibrary. PDFs will be embedded directly in PDF export, rasterized in PNG export, and turned into SVGs in SVG and HTML export. (Thanks to https://github.com/LaurenzV for creating hayro!) https://github.com/typst/typst/pull/6623Added support for WebP images https://github.com/typst/typst/pull/6311
Various minor improvements for SVG images (see the resvg 0.44 and 0.45 changelogs)
SVG images can now refer to external image files https://github.com/typst/typst/pull/6794
Clip paths are now properly anti-aliased https://github.com/typst/typst/pull/6570
Fixed gradients on curves where the last segment is
curve.linehttps://github.com/typst/typst/pull/6647Fixed stroke cap handling of shapes with partial strokes https://github.com/typst/typst/pull/5688
Fixed corner radius handling of shapes with partial strokes https://github.com/typst/typst/pull/6976
Fixed crash when sampling across two coinciding gradient stops https://github.com/typst/typst/pull/6166
Layout
Added opt-in support for character-level justification in addition to word-level justification, configured via the new
par.justification-limitsproperty. This is an impactful microtypographical technique that can significantly improve the appearance of justified text. https://github.com/typst/typst/pull/6161Fixed wrong linebreak opportunities related to object replacement characters https://github.com/typst/typst/pull/6251
Fixed an issue where a breakable block would still produce an empty segment even if nothing fit into the first segment, leading to various undesirable behaviors in combination with fills, strokes, and stickiness https://github.com/typst/typst/pull/6335
Fixed crash with set rule for column or rowspan on a grid cell https://github.com/typst/typst/pull/6401
Fixed CJK-Latin-spacing at manual line breaks https://github.com/typst/typst/pull/6700 and at sub- and superscript boundaries https://github.com/typst/typst/pull/7175
Math
Added
frac.styleproperty with new options for skewed and inline fractions https://github.com/typst/typst/pull/6672Added
math.equation.altproperty for setting an alternative description for an equation https://github.com/typst/typst/pull/6619Text handling
A single equation can now use multiple fonts https://github.com/typst/typst/pull/6365
Glyph layout in math now uses proper text shaping, leading to better handling of more complex Unicode features https://github.com/typst/typst/pull/6336
Generated characters in an equation (e.g. the
√produced bysqrt) can now be targeted by text show rules https://github.com/typst/typst/pull/6365Added
scrfunction for roundhand script font style https://github.com/typst/typst/pull/6309Added
dotlessparameter toaccent(typically for rendering a dotless accented i or j) https://github.com/typst/typst/pull/5939Script-style glyphs are now preferred at reduced math sizes https://github.com/typst/typst/pull/6320
Fixed
text.strokein math https://github.com/typst/typst/pull/6243Broken glyph assemblies are now prevented even when font data is incorrect https://github.com/typst/typst/pull/6688
Layout
Fixed a bug with vertical accent positioning https://github.com/typst/typst/pull/5941
Fixed positioning of bottom accents https://github.com/typst/typst/pull/6187
Fixed a bug with layout of roots https://github.com/typst/typst/pull/6021
Improved layout of
vecandcases, making it consistent withmathttps://github.com/typst/typst/pull/5934Removed linebreak opportunity before closing bracket in inline math https://github.com/typst/typst/pull/6216
An
augmentline can now exist at the start and end of a matrix, not only in between columns and rows https://github.com/typst/typst/pull/5806Shorthands and multi-character numbers do not bind more tightly than fractions anymore in cases like
[$x>=(y)/z$]https://github.com/typst/typst/pull/5925 https://github.com/typst/typst/pull/5996 (Minor breaking change)Named arguments passed to symbols used as function now raise an error instead of being silently ignored https://github.com/typst/typst/pull/6192 (Minor breaking change)
The
midelement does not force the{"large"}math class upon its contents anymore and instead defaults to{"relation"}https://github.com/typst/typst/pull/5980Fixed error in math parsing when
..isn't followed by anything https://github.com/typst/typst/pull/7105Fixed the default math class of ⅋, ⎰, ⟅, ⎱, ⟆, ⟇, and ، https://github.com/typst/typst/pull/5949 https://github.com/typst/typst/pull/6537
Thanks to https://github.com/mkorje for his work on math!
Model
Tables
Added support for multiple headers and subheaders in tables https://github.com/typst/typst/pull/6168
Table headers now force a rowbreak, i.e. an incomplete row before a header will not be filled with cells after the header https://github.com/typst/typst/pull/6687
Fixed a bug where headers and footers could accidentally expand to contain non-header cells https://github.com/typst/typst/pull/5919
Added
titleelement for displaying the document title https://github.com/typst/typst/pull/5618Added
figure.altproperty for setting an alternative description for a figure https://github.com/typst/typst/pull/6619Link hit boxes for text are now vertically a bit larger to avoid issues with automatic link detection in PDF viewers https://github.com/typst/typst/pull/6252
The
linkfunction will now produce an error when passed an empty string as a URL https://github.com/typst/typst/pull/7049 (Minor breaking change)The value of the
numberargument ofenum.itemnow takes{auto}instead of{none}for automatic numbering https://github.com/typst/typst/pull/6609 (Minor breaking change)Improved spacing of nested tight lists https://github.com/typst/typst/pull/6242
Fixed that
{quotes: false}was ignored for inline-level quotes https://github.com/typst/typst/pull/5991Fixed hanging indent for centered, numbered headings https://github.com/typst/typst/pull/6839
Fixed
footnote.entryshow rules breaking links from footnote to entry https://github.com/typst/typst/pull/6912Hebrew numbering does not add Geresh and Gershayim anymore https://github.com/typst/typst/pull/6122
Bibliography
Built-in styles
Updated styles to their latest upstream CSL versions https://github.com/typst/hayagriva/pull/350
Renamed
{"chicago-fullnotes"}to{"chicago-notes"}(the old name remains as a deprecated alias) https://github.com/typst/typst/pull/6920Renamed
{"modern-humanities-research-association"}to{"modern-humanities-research-association-notes"}(the old name remains as a deprecated alias) https://github.com/typst/typst/pull/6994Added support for locator/supplement in alphanumeric style https://github.com/typst/hayagriva/pull/307
Hayagriva format
- Added
chapterfield corresponding to CSLchapter-numberand BibLaTeXchapterhttps://github.com/typst/hayagriva/pull/383
- Added
BibLaTeX format
Fixed parsing of alphanumeric page ranges https://github.com/typst/biblatex/pull/86
Added support for
%comment syntax https://github.com/typst/biblatex/pull/80Fixed parsing of space-separated single character commands https://github.com/typst/biblatex/pull/71
Added "primaryclass" alias for "eprintclass" field https://github.com/typst/biblatex/pull/75
Added support for BibLaTeX
languagefield https://github.com/typst/hayagriva/pull/317Improved translation of BibLaTeX fields to
genreandserial-numberhttps://github.com/typst/hayagriva/pull/296 https://github.com/typst/hayagriva/pull/369
CSL handling
The bibliography rendering now uses
strong,emph, andsmallcapsto express CSL font styling instead of directly adjusting thetextstyle, making styling easier https://github.com/typst/typst/pull/6984Added support for date seasons, which are displayed when the month is missing https://github.com/typst/hayagriva/pull/391
Terms for "AD" and "BC" are now correctly used from the chosen locale https://github.com/typst/hayagriva/pull/364
Fixed how subsequent citations with differing supplements translate into CSL
ibidandibid-with-locatorpositions https://github.com/typst/typst/pull/6171Fixed handling of
ibidandibid-with-locatorpositions in styles https://github.com/typst/hayagriva/pull/301Fixed the
locationconditional in CSL styles for citations with no locator https://github.com/typst/hayagriva/pull/399Fixed accesses of the year suffix resulting in wrong CSL renders https://github.com/typst/hayagriva/pull/400
Fixed regression where page variables were no longer supported in styles'
<number>elements https://github.com/typst/hayagriva/pull/289Fixed sorting and formatting of name parts https://github.com/typst/hayagriva/pull/287 https://github.com/typst/hayagriva/pull/313
Fixed year suffix collapsing https://github.com/typst/hayagriva/pull/367
Fixed delimiters in locale-specific date formatting https://github.com/typst/hayagriva/pull/385
Fixed rendering of date ordinals https://github.com/typst/hayagriva/pull/366
Fixed rendering and sorting of dates with BC years https://github.com/typst/hayagriva/pull/334 https://github.com/typst/hayagriva/pull/368
Fixed sorting for empty sort values https://github.com/typst/hayagriva/pull/390
Text
The
subandsuperfunctions now use thesubsandsupsOpenType font features instead of special Unicode characters for typographic scripts, fixing semantical, sizing, and positioning issues https://github.com/typst/typst/pull/5777The
rawelementTweaked default syntax-highlighting color scheme of
rawtext to make the colors more accessible https://github.com/typst/typst/pull/6754JSON keys and string values now use different colors in the default
rawsyntax highlighting theme https://github.com/typst/typst/pull/6873Fixed a crash when a
rawsyntax contains an unescaped trailing backslash https://github.com/typst/typst/pull/6883Fixed tab indentation in
rawtext with CRLF line terminators https://github.com/typst/typst/pull/6961
Translations
Added term translations (a term being the "Section" in "Section 1") for many new languages by importing pre-existing translations from LaTeX packages https://github.com/typst/typst/pull/6852
Added term translations for Indonesian https://github.com/typst/typst/pull/6108 Latvian https://github.com/typst/typst/pull/6348 Croatian https://github.com/typst/typst/pull/6413 Lithuanian https://github.com/typst/typst/pull/6587 French https://github.com/typst/typst/pull/7010 French (Canada) https://github.com/typst/typst/pull/7098 Galician https://github.com/typst/typst/pull/7019 Dutch https://github.com/typst/typst/pull/7026 Danish https://github.com/typst/typst/pull/7031 Slovenian https://github.com/typst/typst/pull/7032 Italian https://github.com/typst/typst/pull/7050 Chinese https://github.com/typst/typst/pull/7044 Spanish https://github.com/typst/typst/pull/7051 and Irish (Gaeilge) https://github.com/typst/typst/pull/7024
Improved term translations for Czech https://github.com/typst/typst/pull/6101 Swedish https://github.com/typst/typst/pull/6519 Galician https://github.com/typst/typst/pull/7019 Dutch https://github.com/typst/typst/pull/7026 Chinese https://github.com/typst/typst/pull/7044 Spanish https://github.com/typst/typst/pull/7051 Irish (Gaeilge) https://github.com/typst/typst/pull/7024 and German https://github.com/typst/typst/pull/7082
Improved smart quotes for French https://github.com/typst/typst/pull/5976 Ukrainian https://github.com/typst/typst/pull/6372 Russian https://github.com/typst/typst/pull/6331 and Arabic https://github.com/typst/typst/pull/6626
An empty font list is not allowed anymore in
text.fonthttps://github.com/typst/typst/pull/6049 (Minor breaking change)Added a warning when using a variable font as those are not currently supported https://github.com/typst/typst/pull/6425
Fixed usage of the same font with different coverage settings https://github.com/typst/typst/pull/6604
Fixed hyphens not showing up when hyphenating at specific positions (where invisible metadata exists) https://github.com/typst/typst/pull/6807
Fixed styling of repeated hyphens in languages with hyphen repetition https://github.com/typst/typst/pull/6798
Last resort font fallback does not consider default ignorable characters anymore during font selection https://github.com/typst/typst/pull/6805
Updated New Computer Modern fonts to version 7.0.4 https://github.com/typst/typst/pull/6376
Updated data and shaper to Unicode 16.0.0 https://github.com/typst/typst/pull/5407
Scripting
The
{in}operator can now be used to check whether a definition is present in a module https://github.com/typst/typst/pull/6498Added
defaultparameter toarray.first,array.lasthttps://github.com/typst/typst/pull/5970array.joinhttps://github.com/typst/typst/pull/6932str.first, andstr.lasthttps://github.com/typst/typst/pull/6554 methodsAdded
byparameter toarray.sortedfor sorting with a comparison function https://github.com/typst/typst/pull/5627Added
str.normalizefunction for Unicode normalization https://github.com/typst/typst/pull/5631Added
from,to, andsignmethods todirectiontype https://github.com/typst/typst/pull/5893Labels cannot be empty anymore https://github.com/typst/typst/pull/6332 (Minor breaking change)
The WebAssembly runtime used by the
pluginsystem was updated and now supports SIMD https://github.com/typst/typst/pull/6997Numberings and counters now use 64-bit numbers instead of platform-dependent numbers for consistency across platforms https://github.com/typst/typst/pull/6026
Improved consistency of how large numbers are handled in data loading functions https://github.com/typst/typst/pull/6836
The
tomlfunction is now guaranteed to return a dictionary andtoml.encodemust receive a dictionary (it already errored before when passed something else, but the new function signature makes the error clearer) https://github.com/typst/typst/pull/6743Serialization of
bytesin human-readable formats now usesreprhttps://github.com/typst/typst/pull/6743Fixed slicing of last N elements of an array using the
countparameter https://github.com/typst/typst/pull/6838Fixed crash when the expression wrapped in a
{context}expression is an anonymous function https://github.com/typst/typst/pull/6975Fixed equality check between
raw.lineelements https://github.com/typst/typst/pull/6560Fixed
reprof labels being potentially syntactically invalid https://github.com/typst/typst/pull/6456Fixed
reprof functions modified throughwithhttps://github.com/typst/typst/pull/6773
Introspection
The following elements are newly locatable (i.e. they can be discovered with
query,locate, etc. without having a label):par,table,enum,list,terms,title,figure.caption,footnote.entry,outline.entry,image,emph,strong,link,cite,raw,underline,overline,strike, andhighlighthttps://github.com/typst/typst/pull/6619Fixed issues with logical order in bidirectional text https://github.com/typst/typst/pull/5887 https://github.com/typst/typst/pull/6796
Fixed logical order of cells in right-to-left
gridhttps://github.com/typst/typst/pull/6232Fixed logical order of elements in
gridcells that span multiple pages https://github.com/typst/typst/pull/7198Fixed logical order of metadata at the starts and ends of paragraphs https://github.com/typst/typst/pull/6881 https://github.com/typst/typst/pull/6909
Fixed introspection positions of inline elements at the very start of a paragraph (previously the Y position of an element at the very start would differ from one in the middle of the first line) https://github.com/typst/typst/pull/6881
Styling
- Fixed rare infinite loop in show rule application https://github.com/typst/typst/pull/6259
Performance
- Optimized incremental compilation with a new algorithm that, in particular, eliminates cases of very slow compilation with heavy context usage https://github.com/typst/typst/pull/6683
Command Line Interface
Added
typst infosubcommand for emitting build and environment information https://github.com/typst/typst/pull/6761Added
typst completionssubcommand for retrieving shell completions https://github.com/typst/typst/pull/6568Added
TYPST_IGNORE_SYSTEM_FONTSenvironment variable https://github.com/typst/typst/pull/6092Added
--ignore-embedded-fontsflag andTYPST_IGNORE_EMBEDDED_FONTSenvironment variable for disabling the use of fonts embedded into the Typst binary https://github.com/typst/typst/pull/7037Added
--no-pdf-tagsflag for disabling the automatic generation of accessibility tags. These are emitted when no particular standard like PDF/UA-1 is selected to provide a baseline of accessibility. https://github.com/typst/typst/pull/6619Added
--targetparameter totypst queryhttps://github.com/typst/typst/pull/6405Added
--depsand--deps-formatparameters for emitting a list of files compilation depends on. Supports the three formatsjson,zero, andmake. https://github.com/typst/typst/pull/7022Deprecated the
--make-depsflag in favor of--depswith--deps-format makehttps://github.com/typst/typst/pull/7022On Linux, the font search will now fall back to known font directories if none were loaded via Fontconfig. https://github.com/RazrFalcon/fontdb/pull/71
The CLI will now warn when trying to watch the standard input https://github.com/typst/typst/pull/6381
Fixed race condition when two separate Typst CLI processes concurrently try to install a package https://github.com/typst/typst/pull/5979
Fixed incremental SVG export not writing output SVGs on changes that only affect the page (e.g. changing
page.fill) https://github.com/typst/typst/pull/6810Fixed a rare potential crash when stack space couldn't be grown as expected https://github.com/typst/typst/pull/6969
Tooling and Diagnostics
Errors in many kinds of external text files (e.g., bibliographies, JSON files, etc.) are now annotated within these files instead of at the positions where the files are loaded from a Typst file https://github.com/typst/typst/pull/6308
Warnings originating from within
evalare now correctly emitted https://github.com/typst/typst/pull/6100Diagnostic messages and hints
Improved error messages related to parsing of numbers https://github.com/typst/typst/pull/5969
The error message for an unsuitable CSL style now mentions the name of the style https://github.com/typst/typst/pull/6306
Added hints to various deprecated items with the removal timeline https://github.com/typst/typst/pull/6617
Added hint for the error message when an X/Y pair is expected https://github.com/typst/typst/pull/6476
Added hint for a label that appears in both the document and the bibliography https://github.com/typst/typst/pull/6457
Added additional hint for show rule recursion depth error https://github.com/typst/typst/pull/5856
Fixed inconsistent formatting of code points and strings in error messages https://github.com/typst/typst/pull/6487
Autocompletion
Labels will now be deduplicated in completions https://github.com/typst/typst/pull/6516
Math font autocompletions are now based on the presence of an OpenType MATH table instead of the word "Math" in the name https://github.com/typst/typst/pull/6316
Autocompletion immediately after a comma in a parameter list is now supported for explicitly triggered completions (e.g. via Ctrl/Cmd+Space) https://github.com/typst/typst/pull/6550
Citation style aliases are now displayed as autocompletions https://github.com/typst/typst/pull/6696
Fixed autocompletion false positives with cursor after parameter list https://github.com/typst/typst/pull/6475
Fixed autocompletion after partial identifier in math https://github.com/typst/typst/pull/6415
Fixed which definitions are suggested in math https://github.com/typst/typst/pull/6415
Fixed inapplicable method autocompletions being listed https://github.com/typst/typst/pull/5824
Tooltips
Fixed tooltip for scoped functions (e.g.
calc.round) https://github.com/typst/typst/pull/6234Fixed tooltip and details for figure references https://github.com/typst/typst/pull/6580
Expression tooltips now use
×instead ofxto indicate a repeated value https://github.com/typst/typst/pull/6163
Fixed jump from click (jumping to the source panel with a click in the preview) in presence of transformations and clipping https://github.com/typst/typst/pull/6037
Symbols
Added many new symbols and variants; many more than could be listed here. View the dedicated changelog for a full listing.
Code points that have a symbol and emoji presentation now have the correct variation selector attached depending on whether they appear in
symoremoji. That said, they still don't render consistently in Typst due to how font fallback works. https://github.com/typst/codex/pull/114The
symbolfunction can now be used to create symbols that comprise not just one character, but one full grapheme cluster https://github.com/typst/typst/pull/6489
Deprecations
The name
pdf.embedin favor of the new namepdf.attachhttps://github.com/typst/typst/pull/6705The
{"chicago-fullnotes"}bibliography style in favor of{"chicago-notes"}https://github.com/typst/typst/pull/6920The
{"modern-humanities-research-association"}bibliography style in favor of{"modern-humanities-research-association-notes"}https://github.com/typst/typst/pull/6994The
--make-depsCLI flag in favor of--depswith--deps-format makehttps://github.com/typst/typst/pull/7022Various symbols, see the deprecation section in the dedicated changelog for a full listing
Removals
- Removed compatibility behavior of type/str comparisons (e.g.
{int == "integer"}), which was temporarily introduced in Typst 0.8 and deprecated in Typst 0.13 (Breaking change)
Development
The
Defaultimpl forLibraryhad to be removed for crate splitting and trait coherence reasons, but you can get a drop-in replacement viause typst::LibraryExthttps://github.com/typst/typst/pull/6576The
PdfOptionsstruct has a newtaggedfield, which defaults to{true}https://github.com/typst/typst/pull/6619 https://github.com/typst/typst/pull/7046Fixed a potential panic in
World::fontimplementations. DownstreamWorldimplementations might need to apply the same fix. https://github.com/typst/typst/pull/6117Increased minimum supported Rust version to 1.88 https://github.com/typst/typst/pull/6637
The Docker container now has the optional non-root user
typsthttps://github.com/typst/typst/pull/7058