Hi, I am encountering an error when using the pdv function, for example $ pdv(,t,2) $ and am trying to find the cause. In an empty document it works fine:
the following error occurs:
error: unknown variable: content
┌─ @preview/physica:0.8.1\physica.typ:549:19
│
549 │ if type(last) == content {
│ ^^^^^^^
help: error occurred in this call of function partialderivative
Where my template contains no variable called content.
This could of course just be a conflict with other includes, but I did not find the cause and am wondering if it could be an error in the library. Thank you for a response.
Actually it seems to be specific to my compiler or version of typst.
Glad you solved it:) it appears the compiler was not checking the minimum version requirement in the package's manifest (typst.toml compiler = "0.8.0")..
Hi, I am encountering an error when using the pdv function, for example $ pdv(,t,2) $ and am trying to find the cause. In an empty document it works fine:
But in my document: typst 0.7.0 (bcab7705)
the following error occurs: error: unknown variable: content ┌─ @preview/physica:0.8.1\physica.typ:549:19 │ 549 │ if type(last) == content { │ ^^^^^^^
help: error occurred in this call of function
partialderivative
Where my template contains no variable called
content
.This could of course just be a conflict with other includes, but I did not find the cause and am wondering if it could be an error in the library. Thank you for a response.
Actually it seems to be specific to my compiler or version of typst.