Skip to content

Can cetz be loaded directly from subdirectory of the project? #413

Answered by johannes-wolf
linuxrider asked this question in Q&A
Discussion options

You must be logged in to vote

Yes it can (with 0.2.0), but you have to change all absolute import paths to relative ones. There is a script for that in the scripts directory.

If you have just installed, you can (from your cetz clone outsides your project) call: just package <project-path-to-install-cetz-to> --relative-paths.

Or run the ./scripts/relpaths <your-cetz-root-dir> Python script.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@linuxrider
Comment options

Answer selected by linuxrider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants