Skip to content

use typst-kit for referring to package paths#113

Merged
Thumuss merged 7 commits intotypst-community:mainfrom
ensko:kit-for-paths
Mar 4, 2026
Merged

use typst-kit for referring to package paths#113
Thumuss merged 7 commits intotypst-community:mainfrom
ensko:kit-for-paths

Conversation

@ensko
Copy link
Copy Markdown
Collaborator

@ensko ensko commented Feb 19, 2026

this required changing the used environment variables, but it also makes them more consistent with how Typst uses them: instead of providing UTPM_DATA_DIR to point to an alternative for XDG_DATA_HOME within which typst/packages is resolved, you provide TYPST_PACKAGE_PATH directly there. Of course, this could be changed back to UTPM_PACKAGE_PATH if we prefer that. (On Discord I suggested reusing the clap CLI arg type from typst_cli, but since that is a binary-only crate that wouldn't work anyway, even if we use the same env var.)

…... ones; get rid of hard coded fallback paths. this allows us to use typst-kit provided functions for package paths.
@Thumuss Thumuss merged commit efc5372 into typst-community:main Mar 4, 2026
6 checks passed
@Thumuss
Copy link
Copy Markdown
Member

Thumuss commented Mar 4, 2026

thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants