Feature Request: Expose the package name #17
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First thanks for making this really compatible with cetz (only a shallow wrapper), that makes so many things easier.
I want to integrate all cetz-based drawing packages with touying nicely, which requires conditionally accessing packages, which only really works by having the user input the module and us recognizing it.
Thus i need to recognize packages, which currently is hard to do, so please expose the module name.
at best just as
#let name = circuiteriain yourlib.typthx
Thank you for taking interest in Circuiteria
I'm not sure I understand the need for a package to expose its name. What do you mean by "conditionally accessing packages" ?
Wouldn't users simply import the package and use it directly in their document ?
Hi, please take a look at this issue i would like to do: https://github.com/touying-typ/touying/issues/302
And a more general answer to why exposing names is useful:
It allows other packages to build on top of packages if they are imported / if the user wants to use them.
E,g, for touying this would allow us to use animated graphics without the user having to specify the bindings bc we can put them in the code. The user only needs to specify sth like
reduce(MODULE), which based on the module would do different things. But to properly recognize the module we need the name.