summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-16 00:00:05 +0000
committerKarl Berry <karl@freefriends.org>2010-09-16 00:00:05 +0000
commit50830b91d0fd07262d81f0d61f15ad74eb25d764 (patch)
treea8341694383a2e580892a6ffefd13b2ff241fcf0 /Master/texmf-dist/tex
parentffc97a564cf025403b74b69c48bc158f39145c9b (diff)
siunitx update (15sep10)
git-svn-id: svn://tug.org/texlive/trunk@19748 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty11
3 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
index 3ea65b3502e..b1f2fe91658 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-binary.cfg} {2010/08/24} {2.0t}
+\ProvidesExplFile {siunitx-binary.cfg} {2010/09/14} {2.0u}
{siunitx: Binary units}
\DeclareBinaryPrefix \kibi { Ki } { 10 }
\DeclareBinaryPrefix \mebi { Mi } { 20 }
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
index 80c17aca560..29dec956013 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-version-1.cfg} {2010/08/24} {2.0t}
+\ProvidesExplFile {siunitx-version-1.cfg} {2010/09/14} {2.0u}
{siunitx: Version 1 settings}
\keys_set:nn { siunitx }
{ load-configurations = { abbreviations , binary } }
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index f347814fe6f..b4a626dd9c1 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -14,7 +14,7 @@
%% ---------------------------------------------------------------
%%
\RequirePackage{expl3}
-\ProvidesExplPackage {siunitx} {2010/08/24} {2.0t}
+\ProvidesExplPackage {siunitx} {2010/09/14} {2.0u}
{A comprehensive (SI) units package}
\msg_set:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -2849,7 +2849,9 @@
}
\cs_new_protected_nopar:Npn \siunitx_number_output_single_aux: {
\siunitx_unit_output_pre_print:
- \siunitx_print:nV { number } \l_siunitx_number_out_tl
+ \quark_if_no_value:NTF \l_siunitx_number_out_tl
+ { \tl_clear:N \l_siunitx_number_unit_separator_tl }
+ { \siunitx_print:nV { number } \l_siunitx_number_out_tl }
\siunitx_unit_output_print:
}
\bool_new:N \l_siunitx_angle_degree_space_bool
@@ -3240,7 +3242,7 @@
}
}
\cs_new_protected:Npn \siunitx_unit_first_token:n #1 {
- \exp_after:wN \token_to_str:N \tl_head_i:w #1 \q_nil
+ \exp_after:wN \token_to_str:N \tl_head:w #1 \q_nil
}
\cs_new:cpn { siunitx_ \token_to_str:N \per _literal:w } { / }
\cs_new_protected:cpn { siunitx_ \token_to_str:N \per _function:w } {
@@ -3366,6 +3368,9 @@
\AtBeginDocument {
\cs_if_eq:NNT \color \use_none:n
{ \cs_set_protected:Npn \color #1 { } }
+ \cs_set_nopar:Npn \siunitx_tmp:w #1 { }
+ \cs_if_eq:NNT \color \siunitx_tmp:w
+ { \cs_set_protected:Npn \color #1 { } }
\tl_map_function:nN { \bar \color \ng \pm }
\siunitx_protect_symbols:N
}