Seite 1 von 1
Update von siunitx
Verfasst: Sa 9. Okt 2010, 15:44
von ryder
Tag zusammen,
fühle mich gerade ziemlich bescheuert. Mit dem aktuellen Miktex und dem neuesten siunitx (2.0x) gibts gleich 4 Fehler:
\documentclass{article}
\usepackage{siunitx}
\pagestyle{empty}
\begin{document}
5,0 \si{\kilo\gram} oder \SI{5,0}{\kilo\gram}
\end{document}
Was mache ich falsch?
Gruß
Bernd
Verfasst: Sa 9. Okt 2010, 15:51
von Mechanicus
Hi,
habe keine Probleme:
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
siunitx.sty 2010/10/05 v2.0x A comprehensive (SI) units package
expl3.sty 2010/09/16 v2022 L3 Experimental code bundle wrapper
l3names.sty 2010/09/26 v2048 L3 Experimental Naming Scheme for TeX Primitiv
es
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty 2010/09/20 v2037 L3 Experimental basic definitions
l3expan.sty 2010/09/20 v2037 L3 Experimental Argument Expansion module
l3tl.sty 2010/09/21 v2040 L3 Experimental Token Lists
l3intexpr.sty 2010/09/22 v2045 L3 Integer Expressions
l3quark.sty 2010/09/20 v2036 L3 Experimental Quark Commands
l3seq.sty 2010/03/29 v1879 L3 Experimental sequences and stacks
l3toks.sty 2010/09/20 v2037 L3 Experimental Token Registers
l3int.sty 2010/09/19 v2029 L3 Experimental Integer module
l3prg.sty 2010/09/22 v2043 L3 Experimental control structures
l3clist.sty 2010/09/20 v2037 L3 Experimental comma separated lists
l3token.sty 2010/09/19 v2029 L3 Experimental token investigation and manipu
lation
l3prop.sty 2010/03/21 v1857 L3 Experimental Property Lists
l3msg.sty 2010/03/23 v1866 L3 Experimental LaTeX Messages module
l3io.sty 2010/05/22 v1923 L3 Experimental i/o module
l3skip.sty 2010/09/23 v2047 L3 Experimental skip registers
l3box.sty 2010/09/26 v2048 L3 Experimental Box module
l3keyval.sty 2010/04/11 v1890 L3 Experimental keyval processing
l3keys.sty 2010/05/24 v1931 L3 Experimental key-value support
l3precom.sty 2010/02/09 v1793 L3 Experimental precompilation module
l3xref.sty 2010/02/09 v1786 L3 Experimental cross referencing
l3file.sty 2010/03/21 v1853 L3 Experimental file loading
l3fp.sty 2010/09/19 v2029 L3 Experimental floating-point operations
l3luatex.sty 2010/07/18 v1985 L3 Experimental LuaTeX functions
calc.sty 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
array.sty 2008/09/09 v2.4c Tabular extension package (FMi)
l3keys2e.sty 2009/08/24 v1494 Parsing LaTeX3 keyvals as LaTeX2e package opti
ons
xparse.sty 2010/09/20 v2037 Generic document command parser
translator.sty 2010/06/12 ver 1.10
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
translator-language-mappings.tex
translator-basic-dictionary-English.dict
***********
Gruß
Marco
Verfasst: Sa 9. Okt 2010, 15:58
von IrenaSekuta
Ich hatte dasselbe Problem.
Im Netz wurde ich auf folgende Seite aufmerksam:
http://www.texdev.net/tag/siunitx/
Habe einfach die Pakete "expl3" und "xpackages" über den MikTex-Updatemanager installiert und das Problem gehört nun der Vergangenheit an.
Gruß,
Irena
Verfasst: Sa 9. Okt 2010, 16:10
von ryder
Hm das find ich jetzt aber seltsam. In meinem log für das Beispiel steht:
! Undefined control sequence.
<argument> \str_if_eq:VnT
\l_siunitx_per_mode_tl {symbol}{\prop_if_in:NnT \l...
l.6 5,0 \si{\kilo\gram}
oder \SI{5,0}{\kilo\gram}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \str_if_eq:VnT
\l_siunitx_per_mode_tl {symbol}{\prop_if_in:NnT \l...
l.6 5,0 \si{\kilo\gram} oder \SI{5,0}{\kilo\gram}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \str_if_eq:nnTF
{5}{0}{\prop_put:NVn \l_siunitx_number_in_prop \l...
l.6 5,0 \si{\kilo\gram} oder \SI{5,0}{\kilo\gram}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> ..._number_parsed_tl {0}\str_if_eq:nnF
{0}{0}{\bool_set_true:N \l...
l.6 5,0 \si{\kilo\gram} oder \SI{5,0}{\kilo\gram}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Verfasst: Sa 9. Okt 2010, 16:14
von IrenaSekuta
Uppps...hatte meinen ersten Beitrag eben aktualisiert, aber Du warst schneller. Installiere/Update mal "expl3" und "xpackages", dann müsste es funktionieren.
Gruß,
Irena
Verfasst: Sa 9. Okt 2010, 16:18
von ryder
Ja, das WAR flott. Die beiden Pakete habe ich. Auch nach einem Refresh keine Änderung.
Ich werd langsam kirre, in meinem eigentlichen Dokument liefert das neue siunitx bequeme 112 Fehler von diesem Typ

Verfasst: Sa 9. Okt 2010, 20:37
von ryder
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
siunitx.sty 2010/10/05 v2.0x A comprehensive (SI) units package
expl3.sty 2010/05/19 v1905 L3 Experimental code bundle wrapper
l3names.sty 2010/03/21 v1853 L3 Experimental Naming Scheme for TeX Primitives
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty 2010/06/07 v1942 L3 Experimental basic definitions
l3expan.sty 2010/03/24 v1873 L3 Experimental Argument Expansion module
l3tl.sty 2010/05/22 v1919 L3 Experimental Token Lists
l3intexpr.sty 2009/03/20 v1086 L3 Integer Expressions
l3quark.sty 2010/03/21 v1853 L3 Experimental Quark Commands
l3seq.sty 2010/03/29 v1879 L3 Experimental sequences and stacks
l3toks.sty 2010/05/25 v1933 L3 Experimental Token Registers
l3int.sty 2010/05/25 v1933 L3 Experimental Integer module
l3prg.sty 2010/03/21 v1853 L3 Experimental control structures
l3clist.sty 2010/03/29 v1878 L3 Experimental comma separated lists
l3token.sty 2010/04/11 v1890 L3 Experimental token investigation and manipulation
l3prop.sty 2010/03/21 v1857 L3 Experimental Property Lists
l3msg.sty 2010/03/23 v1866 L3 Experimental LaTeX Messages module
l3io.sty 2010/05/22 v1923 L3 Experimental i/o module
l3skip.sty 2010/05/25 v1933 L3 Experimental skip registers
l3box.sty 2010/05/22 v1919 L3 Experimental Box module
l3keyval.sty 2010/04/11 v1890 L3 Experimental keyval processing
l3keys.sty 2010/05/24 v1931 L3 Experimental key-value support
l3precom.sty 2010/02/09 v1793 L3 Experimental precompilation module
l3calc.sty 2010/02/07 v1776 L3 Experimental calc module
l3xref.sty 2010/02/09 v1786 L3 Experimental cross referencing
l3file.sty 2010/03/21 v1853 L3 Experimental file loading
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
array.sty 2008/09/09 v2.4c Tabular extension package (FMi)
l3keys2e.sty 2009/08/24 v1494 Parsing LaTeX3 keyvals as LaTeX2e package options
xparse.sty 2010/05/23 v1927 Generic document command parser
translator.sty 2007/03/11 ver 1.00
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
translator-language-mappings.tex
translator-basic-dictionary-English.dict
***********
Obwohl das Update von Miktex sagt, dass es keine neueren Pakete gibt, sind einige Pakete bei mir älter als die von Marco. Wie kann das sein?
Gruß
Bernd
Verfasst: Sa 9. Okt 2010, 20:42
von Mechanicus
ryder hat geschrieben:
Obwohl das Update von Miktex sagt, dass es keine neueren Pakete gibt, sind einige Pakete bei mir älter als die von Marco. Wie kann das sein?
Das liegt an MikTeX selbst. Die Paketverwaltung hängt dort ein wenig hinterher (im Schnitt 1-2 Tage). Das soll aber nicht heißen, dass ich die Arbeit nicht zu schätzen weiß.
Gruß
Marco
Verfasst: Sa 9. Okt 2010, 20:46
von ryder
Ja, das könnte ich ja noch nachvollziehen. Aber Dein Paket
xparse.sty 2010/09/20 v2037 Generic document command parser
ist also vom 20 September. Das ist ja schon was länger her als 2 Tage.
Gruß
Bernd
Verfasst: So 10. Okt 2010, 15:29
von ryder
Jetzt antworter ich mir selbst:
Es gab zwei Versionen von xparse.sty in meiner Installation. Eine wie gewohnt unterhalb von /Miktex/tex/... usw und eine alte unter /users/xxx/roaming/appdata/miktex/...
Warum ... keine Ahnung. Wieso zuerst diese Datei genommen wird und nicht die "richtige" ... keine Ahnung.
Aber: Löschen aller *.sty unterhalb von /roaming hilft.
Gruß
Bernd