Closed sjqtentacles closed 2 weeks ago
I'm new to typst, tried brew installing it, seems to work, but when I have a file like this
#import "@preview/board-n-pieces:0.5.0" #board(starting-position)
I got the following error. Any idea what I'm doing wrong?
>>typst compile test.typ error: unknown variable: board ┌─ test.typ:3:1 │ 3 │ #board(starting-position) │ ^^^^^
Try this:
#import "@preview/board-n-pieces:0.5.0": * #board(starting-position)
Try this: #import "@preview/board-n-pieces:0.5.0": * #board(starting-position)
Ah! Thanks, got it now.
I'm new to typst, tried brew installing it, seems to work, but when I have a file like this
I got the following error. Any idea what I'm doing wrong?