Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 21, 2024

Bumps typst from v0.11.1 to v0.12.0.

Release notes

Sourced from typst's releases.

Version 0.12.0 (October 18, 2024)

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

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [typst](https://github.com/typst/typst) from v0.11.1 to v0.12.0.
- [Release notes](https://github.com/typst/typst/releases)
- [Commits](typst/typst@5011510...737895d)

---
updated-dependencies:
- dependency-name: typst
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants