Closed taylorh140 closed 1 year ago
I have a local install of typst 0.2.0 (23/04/11). when in try to compile the \demo\3d-diagram.typ i get the following error:
error: expected length, color, stroke, none, or auto, found dictionary ┌─ C:\Work\devEnv\typst\libs\canvas\canvas.typ:240:25 │ 240 │ place(path(stroke: self.stroke, fill: self.fill, │ ^^^^^^^^^^^ help: error occurred in this function call ┌─ C:\Work\devEnv\typst\libs\canvas\canvas.typ:256:6 │ 256 │ ╭ draw.at(d.cmd)(d, ..d.pos.map(v => 257 │ │ apply-transform((translate: translate), v).slice(0, 2) 258 │ │ .map(x => length * x))) │ ╰─────────────────────────────────^ [Finished in 182ms]
This example uses features from typst/main (stroke styles). Commenting out line 7 and 12 allows compilation with the latest released version.
Ahh very cool. I had a feeling it was something like that.
I have a local install of typst 0.2.0 (23/04/11). when in try to compile the \demo\3d-diagram.typ i get the following error: