So I am using the siunitx package and it is throwing up an error at me when I use it on my computer. I know that the error isn't in my code as it has run with no problems on another computer.
The error that it gives me is as follows:
("C:\Program Files\MiKTeX 2.9\tex\latex\siunitx\siunitx.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\expl3.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\expl3-code.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3pdfmode.def")
! Missing = inserted for \ifnum.
<to be read again>
-
l.283 }
?
I suspect that there is an error with how my computer is reading \l3kernel as this seems to be where it runs into the issue, however I have tried deleting and redownloading the file and it still throws up this same error.
siunitxdoes not work is probably using an outdated version of the LaTeX kernel together with a newer version ofsiunitx. Do an update. See also https://tex.stackexchange.com/q/422176/35864 – moewe Jun 28 '18 at 12:39.logfile (we will need to know theLaTeX2eversion, I haveLaTeX2e <2018-04-01> patch level 5for example) and your versions of theexpl3kernel,l3modules andsiunitx(normally this could be done by adding\listfilesto the top of your.texfile, but this needs the compilation to finish, so you need to force through the errors, not sure if that works here - otherwise you can find the versions in the.logfile, the console output is not enough). – moewe Jun 28 '18 at 13:04