ntjess / typst-drafting

Some common drafting utilities for the `typst` document typesetter
The Unlicense
52 stars 2 forks source link

Import Required in Every File #13

Open CronJorian opened 1 month ago

CronJorian commented 1 month ago

Not sure if this is intended, however, if your file structure looks like this:

├── main.typ <- imports drafting └── chapters/ ├── chapter1.typ └── chapter2.typ

The note commands can only be called from chapter1.typ or chapter2.typ if these import drafting too. I did not find anything in the docs according to modular files.

If the required reimports are intentional, just close this issue, however I think it'd be more convenient to import it just once.