josephwright / siunitx

A comprehensive (SI) units package for LaTeX
LaTeX Project Public License v1.3c
350 stars 25 forks source link

`complex-angle-unit` not recognized as a key in `\sisetup` #707

Closed mbaz closed 7 months ago

mbaz commented 7 months ago

I work with complex numbers expressed in polar form in radians. I tried to configure this behavior using:

\sisetup{complex-angle-unit = radians}

but that fails when compiling the document:

LaTeX3 Error: The key 'siunitx/complex-angle-unit' is unknown and is being
(LaTeX3)        ignored.

Other complex-related options such as input-complex-root and output-complex-root work fine.

josephwright commented 7 months ago

The option was added in v3.1.0, released 2022-04-25. I suspect you have an older version: can you add \listfiles to your input and report the version line for siunitx that then appears in the .log.

mbaz commented 7 months ago

Thank you. I'm using v3.0.49. I should have verified that before opening the issue. I switched to tectonic recently, which downloads packages on demand, and (incorrectly) assumed that it downloaded the latest versions of all packages.