Hi everyone!
I have my preamble imported with the prefix p as follows:
#import "preamble.typ" as p
#show: doc => p.preamble(doc)
And I want to define, say,
#let int = $integral$
inside my preamble (and potentially other stuff as well), so that in the main.typ I could just do $ int $ instead of $ #p.int $
One proposed solution was to import in this way:
#import "preamble.typ": int
But the issue with that, is I want the "list of things I want without a prefix" to be kind of flexible. Maybe to have some env. inside my preamble.typ where I can put all the stuff I want to import without a prefix, without any changes required to be made to the main.typ
Yet another proposed solution #import "preamble.typ": * doesn't work for me either, since I still want to import things with a prefix by default, unless specified otherwise.