flavio20002 / typst-orange-template

The Legrand Orange Book implemented in Typst
Other
64 stars 2 forks source link

clone and compile does not work #15

Closed fredguth closed 9 months ago

fredguth commented 9 months ago

I just cloned your repo and followed the readme instruction to compile and it didn't work:

❯ typst watch ./example/example.typ --root . --font-path fonts
watching ./example/example.typ
writing to ./example/example.pdf

[10:52:52] compiling ...
watching ./example/example.typ
writing to ./example/example.pdf

[10:52:52] compiled with errors

error: content does not contain field "text"
   ┌─ my-index.typ:21:28
   │
21 │             ct = el.caption.text
   │                             ^^^^
flavio20002 commented 9 months ago

Fixed, sorry. There was an error with version 0.8.0 beacuse the if else statement was changed a bit