#pandoc 3.1.11 - improved typst support

9 messages · Page 1 of 1 (latest)

torpid ledge
#

https://github.com/jgm/pandoc/releases/tag/3.1.11

The typst reader now handles multiline strings and "as" with "import". The writer avoids unnecessary uses of "lr" in math. And a few other improvements! Reports of issues encountered converting real-world documents are always welcome on our bug tracker and will help pandoc's typst support improve.

GitHub

Click to expand changelog

Typst writer:

Emit ; after typst code, unless followed by space (#9252). Otherwise there’s the potential that the typst code will swallow up a following character.

T...

upbeat hill
#

What version of typst is supported ? I get ```Identifier "color" not found

#

#block(fill: color.linear-rgb(255,120,0,25%))[] is making pandoc fail

normal hatch
#

though otherwise it targets 0.10.0

upbeat hill
#

Well there are a lot of rgb spaces now but rgb seems to be the only one that can be parsed atm

undone fractal
#

@torpid ledge thanks for the awesome work so far! I'm amazed at how, for the most part, things JustWork ™️
Looking at https://pandoc.org/MANUAL.html#variables-for-typst, I'm not seeing an option to specify the project --root, is this configurable currently? It impacts what /absolute/paths resolve to in typst files