|||
Skip to current page in TOC

Fundamental limitations

Typst sandboxes your documents, including packages that you probably haven’t inspected, and that’s a good thing. By using Prequery (or rather, a preprocessor based on Prequery), you’re intentionally breaking this sandbox at your own risk. Here are some things you should be aware of when using Prequery:

Breaking the sandbox

As mentioned, there’s a reason for Typst’s sandboxing. Among those reasons are

The sandboxing is something that Typst ensures, but preprocessors will necessarily not do the same. So using Prequery (in the intended way, i.e. utilizing external preprocessing tools) means

This doesn’t mean that using Prequery is necessarily dangerous; it just has more risks than Typst alone.

Compatibility

The preprocessors you use will not necessarily work on all machines where Typst runs, including the web app. Prequery assumes that you are using Typst via the command line.