Math & Sciencesiunitx | Error on Startup

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
jdmacq0707
Posts: 2
Joined: Tue Jul 05, 2011 11:18 pm

siunitx | Error on Startup

Post by jdmacq0707 »

I have recently (since a Miktex auto-update in late June 2011) seen a problem in siunitx.
Minimal working example is:

Code: Select all

\documentclass{article}
\usepackage{siunitx}

\begin{document}

stuff

\end{document}
and the logged error is

Code: Select all

\..\Application Data\MiKTeX\2.9\tex\latex\siunitx\siunitx.sty(805): Error: Undefined control sequence.
\..\Application Data\MiKTeX\2.9\tex\latex\siunitx\siunitx.sty(805): Error: You can't use `\spacefactor' in vertical mode.
\..\Application Data\MiKTeX\2.9\tex\latex\siunitx\siunitx.sty(805): Error: Missing $ inserted.
\..\Application Data\MiKTeX\2.9\tex\latex\siunitx\siunitx.sty(805): Error: LaTeX Error: Missing \begin{document}.
\..\Application Data\MiKTeX\2.9\tex\latex\siunitx\siunitx.sty(828): Error: Missing $ inserted.
Am I the only person seeing this?
Last edited by jdmacq0707 on Thu Jul 07, 2011 7:06 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: siunitx | Error on Startup

Post by josephwright »

What is needed here is the full log, as the version of the package loaded is what is important.
Joseph Wright
jdmacq0707
Posts: 2
Joined: Tue Jul 05, 2011 11:18 pm

Re: siunitx | Error on Startup

Post by jdmacq0707 »

Thanks for your prompt reply. As far as I can tell, the problem turned out to be a corrupted MikTex installation. My MikTex Updater runs persistently failed for several days in a row a few weeks ago, and I suspect that left some packages in a corrupt state. I did a fresh install of MikTex, and the problem seems to have vanished.
Post Reply