In order to standardize the look of a template for all users, I’ve been meaning to include a set of openly licensed fonts for normal text, code and math in a template, but I am unsure about what would be the best location for these, if the user is not supposed to change them. Can the folder structure be as follows, while still maintaining font discoverability of the fonts in the web app?
Template Git repo/
template.typ
fonts/
TextFont.otf
CodeFont.otf
MathFont.otf
template/
main.typ
In other words, I would prefer if a fonts folder did not pollute the template
folder, which a user sees if they use the template via the Typst web app. Is this possible?
Alternatively, is the following the only option, if the above structure does not work?
Template Git repo/
template.typ
template/
fonts/
TextFont.otf
CodeFont.otf
MathFont.otf
main.typ
The fonts at least seem the be discoverable, if they are in a subfolder of template
.