Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: typst/typst

Version 0.14.0 (October 24, 2025)

24 Oct 12:27

Choose a tag to compare

Read the announcement blog post

View changelog with links into the documentation on typst.app/docs

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 @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 attributes
  • Added support for multiple headers and subheaders in tables
  • Added title element for displaying the document title
  • Added frac.style property 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 @LaurenzV for creating krilla!)

  • 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.
  • 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.
  • Added pdf.artifact function for marking content as not semantically meaningful
  • Added experimental pdf.header-cell, pdf.data-cell, and pdf.table-summary functions for enhancing accessibility of documents with complex tables. These functions are guarded by the a11y-extras feature. They do not have a final interface and will be removed in the future, either through integration into table functions or through full removal.
  • PDF heading bookmarks now contain the heading's numbering
  • Attachments
    • Renamed pdf.embed to pdf.attach (the old name will remain as a deprecated alias until Typst 0.15)
    • The mime property of pdf.attach is now checked for syntactical correctness (Minor breaking change)
    • Fixed parsing of the data argument of pdf.attach
    • Attachments now smartly determine whether they should be compressed
  • Text extraction (i.e.Β copy paste)
    • Now works correctly even when multiple different characters result in the same glyph
    • Spaces between words at which a natural line break occurred are now correctly retained for text extraction
    • Fixed mapping of hyphenation artifacts to Unicode text
  • Images
    • CMYK images now work properly in PDF export
    • Improved export of text in SVG images with a filter
    • Improved compatibility of SVG images with Quartz rendering engine (the engine used in Apple Preview)
    • Improved handling of SVG images with high group nesting depth
  • Fixed a bug with text in patterns
  • Fixed gradients with transparency

HTML export

  • Added support for many more built-in elements (the Model category is now fully covered)
    • The image element
    • The footnote and footnote.entry element
    • The outline and outline.entry element
    • The bibliography element
    • The smartquote element
    • The sub and super elements
    • The underline, overline, strike, and highlight elements
    • The smallcaps element
    • The lower and upper functions
  • Added typed HTML API (e.g.Β html.div) with individually typed attributes
    • For example, to generate a video element you can now write #html.video(width: 400, src: "sunrise.mp4") instead of #html.elem("video", attrs: (width: "400", src: "sunrise.mp4")). Note how the width attribute takes an integer instead of a string.
  • Added support for intra-doc link targets
  • The raw element
    • Added syntax highlighting support
    • Block-level raw elements now emit both a <code> and a <pre> tag
    • The language tag of raw elements is now preserved as a data-lang attribute on the <code> tag
  • The authors and keywords properties of the document function now yield corresponding HTML <meta> tags
  • The html.elem function now supports custom HTML element names
  • Improved encoding of html.frame
  • Empty attributes are now encoded with shorthand syntax (e.g.Β <div hidden></div>)
  • Zero-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
  • Fixed encoding of <pre> and <textarea> elements that start with a newline
  • Fixed encoding of raw text elements
  • Fixed sizing of html.frame
  • Fixed measure in HTML export
  • Fixed nested html.frames
  • Fixed that a box without a body was ignored in HTML export
  • Fixed encoding of whitespace in HTML

SVG export

  • Added support for COLR-flavored color glyphs
  • Reduced amount of <g> grouping elements that are generated

PNG export

  • Fixed crash when text size is negative

Visualize

  • Added support for using PDFs as images using the new hayro library. PDFs will be embedded directly in PDF export, rasterized in PNG export, and turned into SVGs in SVG and HTML export. (Thanks to @LaurenzV for creating hayro!)
  • Added support for WebP images
  • Various minor improvements for SVG images (see the resvg 0.44 and 0.45 changelogs)
  • SVG images can now refer to external image files
  • Clip paths are now properly anti-aliased
  • Fixed gradients on curves where the last segment is curve.line
  • Fixed stroke cap handling of shapes with partial strokes
  • Fixed corner radius handling of shapes with partial strokes
  • Fixed crash when sampling across two coinciding gradient stops

Layout

  • Added opt-in support for character-level justification in addition to word-level justification, configured via the new par.justification-limits property. This is an impactful microtypographical technique that can significantly improve the appearance of justified text.
  • Fixed wrong linebreak opportunities related to object replacement characters
  • 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
  • Fixed crash with set rule for column or rowspan on a grid cell
  • Fixed CJK-Latin-spacing at manual line breaks and at sub- and superscript boundaries

Math

  • Added frac.style property with new options for skewed and inline fractions
  • Added math.equation.alt property for setting an alternative description for an equation
  • Text handling
    • A single equation can now use multiple fonts
    • Glyph layout in math now uses proper text shaping, leading to better handling of more complex Unicode features
    • Generated characters in an equation (e.g.Β the √ produced by sqrt) can now be targeted by text show rules
    • Added scr function for roundhand script font style
    • Added dotless parameter to accent (typically for rendering a dotless accented i or j)
    • Script-style glyphs are now preferred at reduced math sizes
    • Fixed text.stroke in math
    • Broken glyph assemblies are now prevented even when font data is incorrect
  • Layout
    • Fixed a bug with vertical accent positioning
    • Fixed positioning of bottom accents
    • Fixed a bug with layout of roots
    • Improved layout of vec and cases, making it consistent with mat
    • Removed linebreak opportunity before closing bracket in inline math
  • An augment line can now exist at the start and end of a matrix, not only in between columns and rows
  • Shorthands and multi-character numbers do not bind more tightly than fractions anymore in cases like $x>=(y)/z$ (Minor breaking change)
  • Named arguments passed to symbols used as function now raise an error instead of being silently ignored (Minor breaking change)
  • The mid element does not force the "large" math class upon its contents anymore and instead defaults to "relation"
  • Fixed error in math parsing when .. isn't followed by anything
  • Fixed the default math class of β…‹, ⎰, βŸ…, ⎱, βŸ†, βŸ‡, and ،

Thanks to @mkorje for his work on math!

Model

  • Tables
    • Added support for multiple headers and subheaders in tables
    • Table headers now force a rowbreak, i.e.Β an incomplete row before a header will not be filled with cells after the header
    • Fixed a bug where headers and footers could accidentally expand to contain non-header cells
  • Added title element for displaying the document title
  • Added figure.alt property for setting an alternative description for a figure
  • Link hit boxes for text are now vertically a bit larger to avoid issues with automatic link detection in PDF viewers
  • The link function will now produce an erro...
Read more

Version 0.14.0, Release Candidate 2 (October 17, 2025)

17 Oct 16:54

Choose a tag to compare

Changes since Release Candidate 1:

  • PDF export

    • Avoided bugs of some PDF viewers (e.g. Apple Preview) with links when possible (#7146)
    • Fixed encoding of text attributes in PDF tagging in some circumstances (#7092)
    • Fixed that Tagged PDF output could emit empty paragraphs (#7130)
    • Fixed crash in PDF export on empty table (#7126)
    • Fixed crash in PDF export when multiple captions appear inside a figure (#7177)
    • Improved the hint for setting the document title (#7149)
    • Improved the error message for empty heading titles in PDF/UA export (#7171)
  • HTML export

    • The HTML export error about footnotes in combination with a custom <head> or <body> can now be silenced with a custom footnote show rule (#7145)
    • Fixed crash with footnote references in HTML export (#7158)
    • Fixed encoding of CSS relative values in HTML export (#7096)
    • Fixed encoding of the placeholder HTML for typst watch (#7108)
  • Text & Layout

    • Fixed regression in line layout of right-to-left justified text (#7172)
    • CJK-Latin-Spacing is not added anymore at sub- and superscript boundaries (#7175)
    • Added French (Canada) translation for one term (#7098)
  • Math

    • Reverted changes to accent width calculations in math (#7138)
    • Fixed regression in vertical stretching of glyphs (#7170)
    • Fixed error in math parsing when .. isn't followed by anything (#7105)
  • Introspection

    • Fixed regression related to introspection of elements in grids that span multiple pages (#7124)
  • Development

    • Fixed warning in cargo release builds due to a yanked package (#7141)
  • Various docs fixes and improvements

Version 0.14.0, Release Candidate 1 (October 10, 2025)

10 Oct 12:54

Choose a tag to compare

Version 0.13.1 (March 7, 2025)

07 Mar 12:50

Choose a tag to compare

View changelog with links into the documentation on typst.app/docs

Command Line Interface

  • Fixed high CPU usage for typst watch on Linux. Depending on the project size, CPU usage would spike for varying amounts of time. This bug appeared with 0.13.0 due to a behavioral change in the inotify file watching backend.

HTML export

  • Fixed export of tables with gutters
  • Fixed usage of <html> and <body> element within context
  • Fixed querying of metadata next to <html> and <body> element

Visualization

  • Fixed curves with multiple non-closed components

Introspection

  • Fixed a regression where labelled symbols could not be queried by label

Deprecations

  • Fixed false positives in deprecation warnings for type/str comparisons

Contributors

Thanks to everyone who contributed to this release: @7ijme, @Andrew15-5, @Emm54321, @F2011, @MDLC01, @PgBiel, @SharzyL, @aodenis.

Version 0.13.0 (February 19, 2025)

19 Feb 16:25

Choose a tag to compare

Read the announcement blog post

View changelog with links into the documentation on typst.app/docs

Highlights

  • There is now a distinction between proper paragraphs and just inline-level content. This is important for future work on accessibility and means that first line indent can now be enabled for all paragraphs instead of just consecutive ones.
  • The outline has a better out-of-the-box look and is more customizable
  • The new curve function (that supersedes the path function) provides a simpler and more flexible interface for creating BΓ©zier curves
  • The image function now supports raw pixel raster formats for generating images from within Typst
  • Functions that accept file paths now also accept raw bytes, for full flexibility
  • WebAssembly plugins are more flexible and automatically run multi-threaded
  • Fixed a long-standing bug where single-letter strings in math ($"a"$) would be displayed in italics
  • You can now specify which charset should be covered by which font family
  • The pdf.embed function lets you embed arbitrary files in the exported PDF
  • HTML export is currently under active development. The feature is still very incomplete, but already available for experimentation behind a feature flag.

Model

  • There is now a distinction between proper paragraphs and just inline-level content (Breaking change)
    • All text at the root of a document is wrapped in paragraphs. Meanwhile, text in a container (like a block) is only wrapped in a paragraph if the container holds any block-level content. If all of the content is inline-level, no paragraph is created.
    • In the laid-out document, it's not immediately visible whether text became part of a paragraph. However, it is still important for accessibility, HTML export, and for properties like first-line-indent.
    • Show rules on par now only affect proper paragraphs
    • The first-line-indent and hanging-indent properties also only affect proper paragraphs
    • Creating a par[..] with body content that is not fully inline-level will result in a warning
    • The default show rules of various built-in elements like lists, quotes, etc. were adjusted to ensure they produce/don't produce paragraphs as appropriate
    • Removed support for booleans and content in outline.indent
  • The outline function was fully reworked to improve its out-of-the-box behavior (Breaking change)
    • Outline entries are now blocks and are thus affected by block spacing
    • The auto indentation mode now aligns numberings and titles outline-wide for a grid-like look
    • Automatic indentation now also indents entries without a numbering
    • Titles wrapping over multiple lines now have hanging indent
    • The page number won't appear alone on its own line anymore
    • The link now spans the full entry instead of just the title and page number
    • The default spacing between outline leader dots was increased
    • The fill parameter was moved from outline to outline.entry and can thus be configured through show-set rules
    • Removed body and page fields from outline entry
    • Added indented, prefix, inner, body, and page methods on outline entries to simplify writing of show rules
  • Added configuration to par.first-line-indent for indenting all paragraphs instead of just consecutive ones
  • Added form parameter to ref function. Setting the form to "page" will produce a page reference instead of a textual one.
  • Added document.description field, which results in corresponding PDF and HTML metadata
  • Added enum.reversed parameter
  • Added support for Greek numbering
  • When the link function wraps around a container like a block, it will now generate only one link for the whole block instead of individual links for all the visible leaf elements. This significantly reduces PDF file sizes when combining link and repeat.
  • The link function will now only strip one prefix (like mailto: or tel:) instead of multiple
  • The link function now suppresses hyphenation via a built-in show-set rule rather than through its default show rule
  • Displaying the page counter without a specified numbering will now take the page numbering into account

Visualization

  • Added new curve function that supersedes the path function and provides a simpler and more flexible interface. The path function is now deprecated.
  • The image function now supports raw pixel raster formats. This can be used to generate images from within Typst without the need for encoding in an image exchange format.
  • Added image.scaling parameter for configuring how an image is scaled by PNG export and PDF viewers (smooth or pixelated)
  • Added image.icc parameter for providing or overriding the ICC profile of an image
  • Renamed pattern to tiling. The name pattern remains as a deprecated alias.
  • Added gradient.center, gradient.radius, gradient.focal-center, and gradient.focal-radius methods
  • Fixed interaction of clipping and outset on box and block
  • Fixed panic with path of infinite length
  • Fixed non-solid (e.g. tiling) text fills in clipped blocks
  • Fixed a crash for images with a DPI value of zero
  • Fixed floating-point error in gradient.repeat
  • Auto-detection of image formats from a raw buffer now has support for SVGs

Scripting

  • Functions that accept file paths now also accept raw bytes
    • image, cbor, csv, json, toml, xml, and yaml now support a path string or bytes and their .decode variants are deprecated
    • plugin, bibliography, bibliography.style, cite.style, raw.theme, and raw.syntaxes now accept bytes in addition to path strings. These did not have .decode variants, so this adds new flexibility.
    • The path argument/field of image and bibliography was renamed to source and sources, respectively (Minor breaking change)
  • Improved WebAssembly plugins
    • The plugin type is replaced by a plugin function that returns a module containing normal Typst functions. This module can be used with import syntax. (Breaking change)
    • Plugins now automatically run in multiple threads without any changes by plugin authors
    • A new plugin.transition API is introduced which allows plugins to run impure initialization in a way that doesn't break Typst's purity guarantees
  • The variable name bound by a bare import (no renaming, no import list) is now determined statically and dynamic imports without as renaming (e.g. import "ot" + "her.typ") are a hard error (Breaking change)
  • Values of the arguments type can now be added with + and joined in curly-braced code blocks
  • Functions in an element function's scope can now be called with method syntax, bringing elements and types closer (in anticipation of a future full unification of the two). Currently, this is only useful for outline.entry as no other element function defines methods.
  • Added calc.norm function
  • Added support for 32-bit floats in float.from-bytes and float.to-bytes
  • The decimal constructor now also accepts decimal values
  • Improved repr of symbols, arguments, and types
  • Duplicate symbol variants and modifiers are now a hard error (Breaking change)

Math

  • Fixed a bug where single letter strings in math ($"a"$) would be displayed in italics
  • Math function calls can now have hyphenated named arguments and support argument spreading
  • Better looking accents thanks to support for the flac (Flattened Accent Forms) and dtls (Dotless Forms) OpenType features
  • Added lcm text operator
  • The bold function now works with ϝ and Ϝ
  • The italic function now works with Δ§
  • Fixed a bug where the extent of a math equation was wrongly affected by internal metadata
  • Fixed interaction of lr and context expressions
  • Fixed weak spacing being unconditionally ignored in lr
  • Fixed sub/superscripts sometimes being in the wrong position with lr
  • Fixed multi-line annotations (e.g. overbrace) changing the math baseline
  • Fixed merging of attachments when the base is a nested equation
  • Fixed resolving of contextual (em-based) text sizes within math
  • Fixed spacing around up tacks (βŠ₯)

Bibliography

  • Prose and author-only citations now use editor names if the author names are unavailable
  • Some non-standard but widely used BibLaTeX editortypes like producer, writer, scriptwriter, and none (defined by widespread style biblatex-chicago to mean performers within music and video entries) are now recognized
  • CSL styles can now render affixes around the bibliography
  • For BibTeX entries with eprinttype = {pubmed}, the PubMed ID will now be correctly processed
  • Whitespace handling for strings delimiting initialized names has been improved
  • Uppercase spelling after apostrophes used as quotation marks is now possible
  • Fixed bugs around the handling of CSL delimiting characters
  • Fixed a problem with parsing multibyte characters in page ranges that could prevent Hayagriva from parsing some BibTeX page ranges
  • Updated CSL APA style
  • Updated CSL locales for Finnish, Swiss German, Austrian German, German, and Arabic

Text

  • Added support for specifying which charset should be covered by which font family
  • Added all parameter to smallcaps function that also enables small capitals on uppercase letters
  • Added basic i18n for Basque and Bulgarian
  • Justification does not affect raw blocks anymore
  • CJK-Latin-spacing does not affect raw text anymore
  • Fixed wrong language codes being used for Greek and Ukrainian
  • Fixed default quotes for Croatian and Bulgarian
  • Fixed crash in RTL text handling
  • Added support for raw syntax highlighting for a few new languages: CFML, NSIS, and WGSL
  • New font metadata exception for New Computer Modern Sans Math
  • Updated bu...
Read more

Version 0.13.0, Release Candidate 1 (February 5, 2025)

05 Feb 17:31

Choose a tag to compare

Version 0.12.0 (October 18, 2024)

18 Oct 21:41

Choose a tag to compare

View changelog with links into the documentation on typst.app/docs

Highlights

  • Added support for multi-column floating placement and figures
  • Added support for automatic line numbering (often used in academic papers)
  • Typst's layout engine is now multithreaded. Typical speedups are 2-3x for larger documents. The multithreading operates on page break boundaries, so explicit page breaks are necessary for it to kick in.
  • Paragraph justification was optimized with a new two-pass algorithm. Speedups are larger for shorter paragraphs and go up to 6x.
  • Highly reduced PDF file sizes due to better font subsetting (thanks to @LaurenzV)
  • Emoji are now exported properly in PDF
  • Added initial support for PDF/A. For now, only the PDF/A-2b profile is supported, but more is planned for the future.
  • Added various options for configuring the CLI's environment (fonts, package paths, etc.)
  • Text show rules now match across multiple text elements
  • Block-level equations can now optionally break over multiple pages
  • Fixed a bug where some fonts would not print correctly on professional printers
  • Fixed a long-standing bug which could cause headings to be orphaned at the bottom of the page

Layout

  • Added support for multi-column floating placement and figures via place.scope and figure.scope. Two-column documents should now prefer set page(columns: 2) over show: column.with(2) (see the page setup guide).
  • Added support for automatic line numbering (often used in academic papers)
  • Added par.spacing property for configuring paragraph spacing. This should now be used instead of show par: set block(spacing: ..) (Breaking change)
  • Block-level elements like lists, grids, and stacks now show themselves as blocks and are thus affected by all block properties (e.g. stroke) rather than just spacing (Breaking change)
  • Added block.sticky property which prevents a page break after a block
  • Added place.flush function which forces all floating figures to be placed before any further content
  • Added skew function
  • Added auto option for page.header and page.footer which results in an automatic header/footer based on the numbering (which was previously inaccessible after a change)
  • Added gap and justify parameters to repeat function
  • Added width and height parameters to the measure function to define the space in which the content should be measured. Especially useful in combination with layout.
  • The height of a block, image, rect, square, ellipse, or circle can now be specified in fractional units
  • The scale function now supports absolute lengths for x, y, factor. This way an element of unknown size can be scaled to a fixed size.
  • The values of block.above and block.below can now be retrieved in context expressions.
  • Increased accuracy of conversions between absolute units (pt, mm, cm, in)
  • Fixed a bug which could cause headings to be orphaned at the bottom of the page
  • Fixed footnotes within breakable blocks appearing on the page where the breakable block ends instead of at the page where the footnote marker is
  • Fixed numbering of nested footnotes and footnotes in floats
  • Fixed empty pages appearing when a context expression wraps whole pages
  • Fixed set block(spacing: x) behaving differently from set block(above: x, below: x)
  • Fixed behavior of rotate and scale with reflow: true
  • Fixed interaction of align(horizon) and v(1fr)
  • Fixed various bugs where floating placement would yield overlapping results
  • Fixed a bug where widow/orphan prevention would unnecessarily move text into the next column
  • Fixed weak spacing not being trimmed at the start and end of lines in a paragraph (only at the start and end of paragraphs)
  • Fixed interaction of weak page break and pagebreak.to
  • Fixed compilation output of a single weak page break
  • Fixed crash when padding by 100%

Text

  • Tuned hyphenation: It is less eager by default and hyphenations close to the edges of words are now discouraged more strongly (May lead to larger layout reflows)
  • New default font: Libertinus Serif. This is the maintained successor to the old default font Linux Libertine. (May lead to smaller reflows)
  • Setting the font to an unavailable family will now result in a warning
  • Implemented a new smart quote algorithm, fixing various bugs where smart quotes weren't all that smart
  • Added text.costs parameter for tweaking various parameters that affect the choices of the layout engine during text layout
  • Added typm highlighting mode for math in raw blocks
  • Added basic i18n for Galician, Catalan, Latin, Icelandic, Hebrew
  • Implemented hyphenation duplication for Czech, Croatian, Lower Sorbian, Polish, Portuguese, Slovak, and Spanish.
  • The smallcaps function is now an element function and can thereby be used in show(-set) rules.
  • The raw.theme parameter can now be set to none to disable highlighting even in the presence of a language tag, and to auto to reset to the default
  • Multiple stylistic sets can now be enabled at once
  • Fixed the Chinese translation for "Equation"
  • Fixed that hyphenation could occur outside of words
  • Fixed incorrect layout of bidirectional text in edge cases
  • Fixed layout of paragraphs with explicit trailing whitespace
  • Fixed bugs related to empty paragraphs created via #""
  • Fixed accidental trailing spaces for line breaks immediately preceding an inline equation
  • Fixed text.historical-ligatures not working correctly
  • Fixed accidental repetition of Thai characters around line breaks in some circumstances
  • Fixed smart quotes for Swiss French
  • New font metadata exceptions for Archivo, Kaiti SC, and Kaiti TC
  • Updated bundled New Computer Modern fonts to version 6.0

Math

  • Block-level equations can now break over multiple pages if enabled via show math.equation: set block(breakable: true).
  • Matrix and vector sizing is now more consistent across different cell contents
  • Added stretch function for manually or automatically stretching characters like arrows or parentheses horizontally or vertically
  • Improved layout of attachments on parenthesized as well as under- or overlined expressions
  • Improved layout of nested attachments resulting from code like #let a0 = $a_0$; $a0^1$
  • Improved layout of primes close to superscripts
  • Improved layout of fractions
  • Typst now makes use of math-specific height-dependent kerning information in some fonts for better attachment layout
  • The floor and ceil functions in math are now callable symbols, such that $ floor(x) = lr(floor.l x floor.r) $
  • The mat.delim, vec.delim, and cases.delim parameters now allow any character that is considered a delimiter or "fence" (e.g. |) by Unicode. The delim: "||" notation is not supported anymore and should be replaced by delim: bar.double (Minor breaking change)
  • Added vec.align and mat.align parameters
  • Added underparen, overparen, undershell, and overshell
  • Added ~ shorthand for tilde.op in math mode (Minor breaking change)
  • Fixed baseline alignment of equation numbers
  • Fixed positioning of corner brackets (⌜, ⌝, ⌞, ⌟)
  • Fixed baseline of large roots
  • Fixed multiple minor layout bugs with attachments
  • Fixed that alignment points could affect line height in math
  • Fixed that spaces could show up between text and invisible elements like metadata in math
  • Fixed a crash with recursive show rules in math
  • Fixed lr.size not affecting characters enclosed in mid in some cases
  • Fixed resolving of em units in sub- and superscripts
  • Fixed bounding box of inline equations when a text edge is set to "bounds"

Introspection

  • Implemented a new system by which Typst tracks where elements end up on the pages. This may lead to subtly different behavior in introspections. (Breaking change)
  • Fixed various bugs with wrong counter behavior in complex layout situations, through a new, more principled implementation
  • Counter updates can now be before the first, in between, and after the last page when isolated by weak page breaks. This allows, for instance, updating a counter before the first page header and background.
  • Fixed logical ordering of introspections within footnotes and figures
  • Fixed incorrect here().position() when place was used in a context expression
  • Fixed resolved positions of elements (in particular, headings) whose show rule emits an invisible element (like a state update) before a page break
  • Fixed behavior of stepping a counter at a deeper level than its current state has
  • Fixed citation formatting not working in table headers and a few other places
  • Displaying the footnote counter will now respect the footnote numbering style

Model

  • Document set rules do not need to be at the very start of the document anymore. The only restriction is that they must not occur inside of layout containers.
  • The spacing property of lists, enumerations, and term lists is now also respected for tight lists
  • Tight lists now only attach (with tighter spacing) to preceding paragraphs, not arbitrary blocks
  • The quote element is now locatable (can be used in queries)
  • The bibliography heading now uses depth instead of level so that its level can still be configured via a show-set rule
  • Added support for more numbering formats: Devanagari, Eastern Arabic, Bengali, and circled numbers
  • Added hanging-indent parameter to heading function to tweak the appearance of multi-line headings and improved default appearance of multi-line headings
  • Improved handling of bidirectional text in outline entry
  • Fixed document set rules being ignored in an otherwise empty document
  • Fixed document set rules not being usable in context expressions
  • Fixed bad interactio...
Read more

Version 0.12.0, Release Candidate 2 (October 15, 2024)

15 Oct 14:28

Choose a tag to compare

View changes since RC1.

Version 0.12.0, Release Candidate 1 (October 3, 2024)

03 Oct 21:52

Choose a tag to compare

For a preliminary 0.12 changelog, see https://staging.typst.app/docs/changelog

Version 0.11.1 (May 17, 2024)

17 May 15:33

Choose a tag to compare

  • Security

    • Fixed a vulnerability where image files at known paths could be embedded into the PDF even if they were outside of the project directory
  • Bibliography

    • Fixed et-al handling in subsequent citations
    • Fixed suppression of title for citations and bibliography references with no author
    • Fixed handling of initials in citation styles without a delimiter
    • Fixed bug with citations in footnotes
  • Text and Layout

    • Fixed interaction of first-line-indent and outline
    • Fixed compression of CJK punctuation marks at line start and end
    • Fixed handling of rectangles with negative dimensions
    • Fixed layout of path in explicitly sized container
    • Fixed broken raw text in right-to-left paragraphs
    • Fixed tab rendering in raw text with language typ or typc
    • Fixed highlighting of multi-line raw text enclosed by single backticks
    • Fixed indentation of overflowing lines in raw blocks
    • Fixed extra space when raw text ends with a backtick
  • Math

    • Fixed broken equations in right-to-left paragraphs
    • Fixed missing blackboard bold letters
    • Fixed error on empty arguments in 2D math argument list
    • Fixed stretching via mid for various characters
    • Fixed that alignment points in equations were affected by set align(..)
  • Export

    • Fixed smart quotes in PDF outline
    • Fixed patterns with spacing in PDF
    • Fixed wrong PDF page labels when page numbering was disabled after being previously enabled
  • Scripting

    • Fixed overflow for large numbers in external data files (by converting to floats instead)
    • Fixed str.trim(regex, at: end) when the whole string is matched
  • Miscellaneous

    • Fixed deformed strokes for specific shapes and thicknesses
    • Fixed newline handling in code mode: There can now be comments within chained method calls and between an if branch and the else keyword
    • Fixed inefficiency with incremental reparsing
    • Fixed autocompletions for relative file imports
    • Fixed crash in autocompletion handler
    • Fixed a bug where the path and entrypoint printed by typst init were not properly escaped
    • Fixed various documentation errors

Thanks to everyone who contributed to this release: @Leedehai, @elegaanz, @frozolotl, @A-Walrus, @MDLC01, @Myriad-Dreamin, @3w36zj6, @Enter-tainer, @EpicEricEE, @Jocs, @PgBiel, @QuarticCat, @Tom4sCruz, @bluebear94, @etiennecollin, @gabriel-araujjo, @joserlopes, @rikhuijzer, @wrzian.