siunitx ver 3
With the new version of the LaTex siunitx package (h**s://ctan.org/pkg/siunitx) the \SI command changed so my:
\newcommand{\sageSIu}[2][]{\sagestr{’\SI[#1]{’+str(#2.value)+’}{’+str(#2.unit)+’}’}}
that prints a quantity from PhysicalQuantities (h**s://physicalquantities.readthedocs.io/) is broken.
How can I change the command for:
- old tex files compabilitie (I think \usepackage{siunitx}[=v2] will work)
- new tex files
Thanx (many, many)
See exemple of usage in h**p://reactor.ist.utl.pt/tenta1/ for use. Sory, is portuguese!