Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

siunitx, \SIrange

310 views
Skip to first unread message

Zarko F. Cucej

unread,
Jun 7, 2010, 7:06:14 PM6/7/10
to
Hi!
in recent upgrade of MikTeX is also new version of siunitx package
(2.0b). I test it with the following minimal example:

\documentclass{minimal}
\usepackage{siunitx}
\begin{document}
\SIrange[range-units = single]{0.13}{0.67}{\milli\metre}
\end{document}

and I receive error:

! Package xkeyval Error: `range-units' undefined in families `key'.

See the xkeyval package documentation for explanation.
Type H <return> for immediate help.
...

l.4 ...e-units = single]{0.13}{0.67}{\milli\metre}

?


Do I miss something?

Regards, Zarko

Joseph Wright

unread,
Jun 8, 2010, 1:43:34 AM6/8/10
to

Well, from that you have loaded siunitx v1.x, not v2 (as it no longer
uses xkeyval). Can you perhaps post your log here or e-mail it to me?
--
Joseph Wright

Zarko F. Cucej

unread,
Jun 8, 2010, 10:34:21 AM6/8/10
to

I will send you complete log file. After upgrade I got the manual for
v2.0b and in beginning of package is stated:

%%
\RequirePackage{expl3}
\ProvidesExplPackage {siunitx} {2010/06/01} {2.0b}
{A comprehensive (SI) units package}

....

regards,
Zarko

Lars Madsen

unread,
Jun 8, 2010, 10:41:02 AM6/8/10
to

otherwise see if

kpsewhich siunitx.sty

points towards the right file


--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html

Joseph Wright

unread,
Jun 8, 2010, 2:25:05 PM6/8/10
to
On Jun 8, 3:34 pm, "Zarko F. Cucej" <zarko.cu...@google.com> wrote:
> I will send you complete log file. After upgrade I got the manual for
> v2.0b and in beginning of package is stated:
>
> %%
> \RequirePackage{expl3}
> \ProvidesExplPackage {siunitx} {2010/06/01} {2.0b}
>    {A comprehensive (SI) units package}
>
> ....

Quite possibly, but the error message tells me that TeX is loading an
older version. Perhaps you have a locally-installed v1 copy somewhere?
This will show up in your log file.
--
Joseph Wright

Zarko F. Cucej

unread,
Jun 8, 2010, 7:46:12 PM6/8/10
to

Theny you very much for your answerer. I discover an hidden instillation
of old siunitx.

well, there now I actuals see problem with MikTex and windows 7 OS. As
preference for update missing package in MIkTeX installation, I select
automatic installing of missing packages. But this look like work very
different as at window NT ... it doesn't install missing packages in
MikTeX instantiation tree in Program Files (x86, but rather inmy case
in directory:

c://C(/User/Zarko/AppData/Roaming/MilTeX/2.8/tex/latex

where search engine of OS doesn't find it.

Now I manually erase those files in...AppAData, but know the are
instaled package \l3keys2e.s. \xsparcse.sty. With this reinstalation of
siunitx I try to compile my minimal exampe. as result i reciee the
following errors, but the result is (if I a force complication to finish
itd job) correct.

so, somehow my problem can consider solved, bit the solution require
addional manual help in LaTeX compilation.


log file:

This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (preloaded
format=latex 2010.6.9) 9 JUN 2010 01:31
entering extended mode
**siunitx-v2.tex
(D:\LaTeXtesti\siunitx-v2.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french,
croatian, slo
venian, serbian, loaded.
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\minimal.cls"
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) ("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\siunitx\siunitx.sty"
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\expl3.sty
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3names.sty
Package: l3names 2010/03/21 v1853 L3 Experimental Naming Scheme for TeX
Primitives
)
Package: expl3 2010/05/19 v1905 L3 Experimental code bundle wrapper

("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\misc\etex.sty"
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count79
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3basics.sty
Package: l3basics 2010/05/22 v1921 L3 Experimental basic definitions
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3expan.sty
Package: l3expan 2010/03/24 v1873 L3 Experimental Argument Expansion module
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3tl.sty
Package: l3tl 2010/05/22 v1919 L3 Experimental Token Lists
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3intexpr.sty
Package: l3intexpr 2009/03/20 v1086 L3 Integer Expressions
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3quark.sty
Package: l3quark 2010/03/21 v1853 L3 Experimental Quark Commands
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3seq.sty
Package: l3seq 2010/03/29 v1879 L3 Experimental sequences and stacks
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3toks.sty
Package: l3toks 2010/05/25 v1933 L3 Experimental Token Registers
\l_tmpb_toks=\toks14
\l_tmpc_toks=\toks15
\g_tmpa_toks=\toks16
\g_tmpb_toks=\toks17
\g_tmpc_toks=\toks18
\c_empty_toks=\toks19
\l_tl_replace_toks=\toks20
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3int.sty
Package: l3int 2010/05/25 v1933 L3 Experimental Integer module
\l_tmpa_int=\count80
\l_tmpb_int=\count81
\l_tmpc_int=\count82
\g_tmpa_int=\count83
\g_tmpb_int=\count84
\c_max_int=\count85
\g_tl_inline_level_int=\count86
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3prg.sty
Package: l3prg 2010/03/21 v1853 L3 Experimental control structures
\g_prg_inline_level_int=\count87
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3clist.sty
Package: l3clist 2010/03/29 v1878 L3 Experimental comma separated lists
\g_clist_inline_level_int=\count88
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3token.sty
Package: l3token 2010/04/11 v1890 L3 Experimental token investigation
and manip
ulation
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3prop.sty
Package: l3prop 2010/03/21 v1857 L3 Experimental Property Lists
\g_prop_inline_level_int=\count89
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3msg.sty
Package: l3msg 2010/03/23 v1866 L3 Experimental LaTeX Messages module
\l_msg_redirect_classes_prop=\toks21
\l_msg_redirect_names_prop=\toks22
\l_msg_redirect_fatal_prop=\toks23
\l_msg_redirect_error_prop=\toks24
\l_msg_redirect_warning_prop=\toks25
\l_msg_redirect_info_prop=\toks26
\l_msg_redirect_log_prop=\toks27
\l_msg_redirect_trace_prop=\toks28
\l_msg_redirect_none_prop=\toks29
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3io.sty
Package: l3io 2010/05/22 v1923 L3 Experimental i/o module
\g_iow_streams_prop=\toks30
\g_ior_streams_prop=\toks31
\l_iow_stream_int=\count90
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3skip.sty
Package: l3skip 2010/05/25 v1933 L3 Experimental skip registers
\l_tmpa_skip=\skip41
\l_tmpb_skip=\skip42
\l_tmpc_skip=\skip43
\g_tmpa_skip=\skip44
\g_tmpb_skip=\skip45
\l_tmpa_dim=\dimen102
\l_tmpb_dim=\dimen103
\l_tmpc_dim=\dimen104
\l_tmpd_dim=\dimen105
\g_tmpa_dim=\dimen106
\g_tmpb_dim=\dimen107
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3box.sty
Package: l3box 2010/05/22 v1919 L3 Experimental Box module
\l_tmpb_box=\box26
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3keyval.sty
Package: l3keyval 2010/04/11 v1890 L3 Experimental keyval processing
\l_KV_level_int=\count91
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3keys.sty
Package: l3keys 2010/05/24 v1931 L3 Experimental key-value support
\l_keys_choice_int=\count92
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3precom.sty
Package: l3precom 2010/02/09 v1793 L3 Experimental precompilation module
\g_gen_sym_int=\count93
\g_ggen_sym_int=\count94
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3calc.sty
Package: l3calc 2010/02/07 v1776 L3 Experimental calc module
\l_calc_current_type_int=\count95
\g_calc_A_int=\count96
\l_calc_B_int=\count97
\l_calc_C_int=\count98
\g_calc_A_dim=\dimen108
\l_calc_B_dim=\dimen109
\l_calc_C_dim=\dimen110
\g_calc_A_skip=\skip46
\l_calc_B_skip=\skip47
\l_calc_C_skip=\skip48
\g_calc_A_muskip=\muskip10
\l_calc_B_muskip=\muskip11
\l_calc_C_muskip=\muskip12
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3xref.sty
Package: l3xref 2010/02/09 v1786 L3 Experimental cross referencing
\g_xref_all_curr_immediate_fields_prop=\toks32
\g_xref_all_curr_deferred_fields_prop=\toks33
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\expl3\l3file.sty
Package: l3file 2010/03/21 v1853 L3 Experimental file loading
))
Package: siunitx 2010/06/01 v2.0b A comprehensive (SI) units package

("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\ams\math\amstext.sty"
Package: amstext 2000/06/29 v2.01

("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\ams\math\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks34
\ex@=\dimen111
))
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\tools\array.sty"
Package: array 2008/09/09 v2.4c Tabular extension package (FMi)
\col@sep=\dimen112
\extrarowheight=\dimen113
\NC@list=\toks35
\extratabsurround=\skip49
\backup@length=\skip50
)
(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\xpackages\xtras\l3keys2e.s
ty
Package: l3keys2e 2009/08/24 v1494 Parsing LaTeX3 keyvals as LaTeX2e
package op
tions

(C:\Users\Zarko\AppData\Roaming\MiKTeX\2.8\tex\latex\xpackages\xbase\xparse.sty
Package: xparse 2010/05/23 v1927 Generic document command parser
\c_xparse_shorthands_prop=\toks36
\l_xparse_m_args_int=\count99
\l_xparse_mandatory_args_int=\count100
\l_xparse_processor_int=\count101
\l_xparse_total_args_int=\count102
)
LaTeX Info: Defining document command \ProcessKeysOptions
(LaTeX) with arg. spec. 'm' on line 116.

LaTeX Info: Defining document command \ProcessKeysPackageOptions
(LaTeX) with arg. spec. 'm' on line 120.

)
\_l_siunitx_tmp_box=\box27
\_l_siunitx_tmp_int=\count103
\_l_siunitx_number_in_prop=\toks37
\_l_siunitx_round_int=\count104
\_l_siunitx_process_decimal_int=\count105
\_l_siunitx_process_uncertainty_int=\count106
\_l_siunitx_process_precision_int=\count107
\_l_siunitx_number_out_prop=\toks38
\_l_siunitx_angle_marker_box=\box28
\_l_siunitx_angle_unit_box=\box29
\_l_siunitx_angle_marker_dim=\dimen114
\_l_siunitx_angle_unit_dim=\dimen115
\_l_siunitx_angle_degree_prop=\toks39
\_l_siunitx_angle_minute_prop=\toks40
\_l_siunitx_angle_second_prop=\toks41
\_l_siunitx_unit_int=\count108
\_l_siunitx_unit_prop=\toks42
\_l_siunitx_unit_denominator_int=\count109
\_l_siunitx_unit_numerator_int=\count110
\_l_siunitx_unit_prefix_int=\count111
\_l_siunitx_unit_prefix_base_int=\count112
\_l_siunitx_unit_prefix_gram_int=\count113
\_l_siunitx_number_product_int=\count114
\_c_siunitx_one_fill_skip=\skip51
\_c_siunitx_table_correction_skip=\skip52
\_l_siunitx_table_unit_align_skip=\skip53
\_l_siunitx_table_fill_box=\box30
\_l_siunitx_table_fill_dim=\dimen116
\_l_siunitx_table_pre_box=\box31
\_l_siunitx_table_post_box=\box32
\_l_siunitx_table_result_box=\box33
\_l_siunitx_table_decimal_dim=\dimen117
\_l_siunitx_table_exponent_dim=\dimen118
\_l_siunitx_table_integer_dim=\dimen119
\_l_siunitx_table_mantissa_dim=\dimen120
\_l_siunitx_table_marker_dim=\dimen121
\_l_siunitx_table_result_dim=\dimen122
\_l_siunitx_table_uncert_dim=\dimen123
\_l_siunitx_table_gap_dim=\dimen124
\_l_siunitx_table_model_prop=\toks43
\_l_siunitx_table_number_align_skip=\skip54
\_l_siunitx_table_text_align_skip=\skip55
\_l_siunitx_table_decimal_int=\count115
\_l_siunitx_table_exponent_int=\count116
\_l_siunitx_table_integer_int=\count117
\_l_siunitx_table_uncert_int=\count118
LaTeX Info: Defining document command \ang
(LaTeX) with arg. spec. 'o>{\SplitArgument {2}{;}}m' on line 5640.

LaTeX Info: Defining document command \num
(LaTeX) with arg. spec. 'om' on line 5647.

LaTeX Info: Defining document command \numlist
(LaTeX) with arg. spec. 'o>{\SplitList {;}}m' on line 5654.

LaTeX Info: Defining document command \numrange
(LaTeX) with arg. spec. 'omm' on line 5661.

LaTeX Info: Defining document command \si
(LaTeX) with arg. spec. 'om' on line 5671.

LaTeX Info: Defining document command \SIlist
(LaTeX) with arg. spec. 'o>{\SplitList {;}}mm' on line 5681.

LaTeX Info: Defining document command \SIrange
(LaTeX) with arg. spec. 'ommm' on line 5691.

LaTeX Info: Defining document command \SI
(LaTeX) with arg. spec. 'omom' on line 5701.

LaTeX Info: Defining document command \sisetup
(LaTeX) with arg. spec. 'm' on line 5704.

LaTeX Info: Defining document command \_siunitx_bookmark_num:w
(LaTeX) with arg. spec. 'om' on line 5740.

LaTeX Info: Defining document command \_siunitx_bookmark_numrange:w
(LaTeX) with arg. spec. 'omm' on line 5742.

LaTeX Info: Defining document command \_siunitx_bookmark_si:w
(LaTeX) with arg. spec. 'om' on line 5743.

LaTeX Info: Defining document command \_siunitx_bookmark_SI:w
(LaTeX) with arg. spec. 'omom' on line 5745.

LaTeX Info: Defining document command \_siunitx_bookmark_SIrange:w
(LaTeX) with arg. spec. 'ommm' on line 5747.

LaTeX Info: Defining document command \requiresiconfigs
(LaTeX) with arg. spec. 'm' on line 5862.

\g_ior_tmp_stream=\read1

! siunitx Error

(siunitx) Unknown option 'load-configuration'.

For immediate help type H <return>.
...

l.5943 \ProcessKeysOptions { siunitx }

?
) (D:\LaTeXtesti\siunitx-v2.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
\_c_siunitx_mathsf_int=\count119
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 3.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 3.
\_c_siunitx_mathtt_int=\count120
[1] (D:\LaTeXtesti\siunitx-v2.aux) )
Here is how much of TeX's memory you used:
5820 strings out of 495124
138949 string characters out of 3177255
130170 words of memory out of 3000000
9028 multiletter control sequences out of 15000+200000
5049 words of font info for 20 fonts, out of 3000000 for 9000
130 hyphenation exceptions out of 8191
38i,4n,35p,258b,312s stack positions out of
5000i,500n,10000p,200000b,50000s

Output written on siunitx-v2.dvi (1 page, 316 bytes).

Joseph Wright

unread,
Jun 9, 2010, 1:44:50 AM6/9/10
to

This is how Windows 7 allows non-Admin. users to install thinngs which
would otherwise go in \Program Files.

>
> ! siunitx Error
>
> (siunitx) Unknown option 'load-configuration'.
>
> For immediate help type H <return>.
>   ...
>
> l.5943 \ProcessKeysOptions { siunitx }
>
> ?

I think you are loading the package with something like

\usepackage[load-configuration = version-1]{siunitx}

but the option is called 'load-configurations' (note the plural).
--
Joseph Wright

0 new messages