In the following MWE we have a \num command in the first line. It is printed as it should. But when I add [scientific-notation=true] like I saw in the manual, but it gave me an error and replaced the number I typed for another that I'll put in bold. I'm looking for a workaround (while I'd like to keep using siunitx, if possible, but I'll accept other packages if they're compatible).
---------- MWE
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[brazil]{babel}
\usepackage{siunitx}
\begin{document}
This is a big number \num{4000000000000}.
In scientific notation... \num[scientific-notation=true]{4000000000000}
\end{document}
---------- ERROR
l.9 ...um[scientific-notation=true]{4000000000000}
I can only go up to 2147483647='17777777777="7FFFFFFF, so I'm using that number instead of yours.
! Number too big. 4000000000 000-10*\l__siunitx_tmp_int l.9 ...um[scientific-notation=true]{4000000000000}
I can only go up to 2147483647='17777777777="7FFFFFFF, so I'm using that number instead of yours.
siunitxpackage do you have on your system? I have version2016/01/19 v2.6pon mine, and I'm not able to replicate the error you're reporting. – Mico Feb 28 '16 at 21:15Package: siunitx. – Mico Feb 28 '16 at 21:35siunitxis badly out of date. Do try to (a) download the filesiunitx.dtxfromhttp://ctan.org/tex-archive/macros/latex/contrib/siunitxand (b) run LaTeX on the dtx file. Doing so should extract the filesiunitx.styand create the highly readable user guide,siunitx.pdf. – Mico Feb 28 '16 at 23:20siunitxdepends on thel3*packages, which of course have also been updated significantly since July 2013. I'm afraid I'm not an Ubuntu specialist, so I can't tell you how you may wish to proceed. Sorry. – Mico Feb 28 '16 at 23:46