Hello!
The reason why sys.version
reports the same version for both is because the compilation was done without modifying the version in Cargo.toml
. You can re-compile after changing that, or use a condition on a sys.inputs
. See Can I configure my document (e.g. draft/release version, color theme) when creating a PDF without modifying the Typst file directly?
1 Like