Support for Typst 0.12.0 #11142
-
DescriptionCan anyone point me to Quarto's vendoring cycle/policy for Typst? My question was prompted by the release of Typst 0.12.0 a few days ago, which includes a bunch of nice features that I'd like to access via Quarto. In particular, enabling line numbers. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 16 replies
-
It will likely be included in 1.7. |
Beta Was this translation helpful? Give feedback.
-
Late follow-up to this, but has anyone successfully managed to include line numbers in the Quarto documents via Typst? I'm struggling, although "native" Typst works as expected. I've set my quarto check ─╯
Quarto 1.5.57
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.12.0: OK
... However when I try to render a document with line numbers I encounter an error. Minimal YAML: title: "Important findings"
date: last-modified
format:
typst:
include-in-header:
- text: |
#set par.line(numbering: "1") Rendering triggers the following error: [typst]: Compiling typst-ex.typ to typst-ex.pdf...error: function `par` does not contain field `line`
┌─ typst-ex.typ:282:9
│
282 │ #set par.line(numbering: "1") Grateful for any guidance here... |
Beta Was this translation helpful? Give feedback.
-
Confirmed that line numbering (and presumably other new features too) work out-of-the-gate with the latest available 1.7.22 pre-release, which bundles Typst 0.13.0. 🎉🎉 Thanks to the @gordonwoodhull and other Quarto-typst devs. |
Beta Was this translation helpful? Give feedback.
-
As a tangential question, is there a way to specify a path to a different Typst installation? I see there's a |
Beta Was this translation helpful? Give feedback.
It will likely be included in 1.7.