Set QUARTO_TYPST to a newer version of Typst (the one in Quarto 1.5 with version 0.11.0)
Run quarto render with Quarto 1.4.455
This means that Quarto 1.4 is now running Typst 0.11.0 instead of 0.10.0 is this is not expected. The source of the bug if from here because now Quarto 1.4 with Pandoc 3.1.11 is producing a .typ file that is not compatible with Typst 0.11.0
The users is using a NixOs package version which bundling / using a bad typst version for Quarto 1.4 . From the user
I use NixOS, so i used the quarto-package that is provided by nixpkgs.
Unfortunately distributed binaries dont work on NixOS, so they just remove the bin/tools directory in the finished package.
They wrap the quarto program with the definition of the env-variable QUARTO_TYPST, but this points to the newest version of typst available in nixpkgs. This is also why there is (unknown hash) inside of the version number, i guess.
From #9921, the issue is reproducible doing
QUARTO_TYPST
to a newer version of Typst (the one in Quarto 1.5 with version 0.11.0)quarto render
with Quarto 1.4.455This means that Quarto 1.4 is now running Typst 0.11.0 instead of 0.10.0 is this is not expected. The source of the bug if from here because now Quarto 1.4 with Pandoc 3.1.11 is producing a
.typ
file that is not compatible with Typst 0.11.0The users is using a NixOs package version which bundling / using a bad typst version for Quarto 1.4 . From the user
Quarto 1.4 has an expected version https://github.com/quarto-dev/quarto-cli/blob/1f5fd5e7f70f4aa0ed38ab3d21d8fa8914aa63c7/configuration#L17
So we could check when a variable like
QUARTO_TYPST
is checked, that at least the expected version is used.Originally posted by @cderv in https://github.com/quarto-dev/quarto-cli/discussions/9921#discussioncomment-9807151