summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-15 22:17:35 +0000
committerKarl Berry <karl@freefriends.org>2011-10-15 22:17:35 +0000
commit228f8e92cce5ebd61dd02f201b978b0e4c2d6ca9 (patch)
tree46a6637a7de3eaa6317ccb00f4bbacbe235de055 /Master/texmf-dist/tex/latex/siunitx
parent23cca61b04d9978e80e6cd73c7ba8613c4525a75 (diff)
siunitx 2.3h (15oct11)
git-svn-id: svn://tug.org/texlive/trunk@24295 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg2
-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.sty35
4 files changed, 18 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg
index 97a735f3ede..b7baf06db7a 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2011/10/06} {2.3g}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2011/10/14} {2.3h}
{siunitx: Abbreviated units}
\DeclareSIUnit \A { \ampere }
\DeclareSIUnit \pA { \pico \ampere }
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 bba9e382836..06b5b97101d 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} {2011/10/06} {2.3g}
+\ProvidesExplFile {siunitx-binary.cfg} {2011/10/14} {2.3h}
{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 ea732d63797..b78df64c54e 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} {2011/10/06} {2.3g}
+\ProvidesExplFile {siunitx-version-1.cfg} {2011/10/14} {2.3h}
{siunitx: Version 1 settings}
\keys_define:nn { siunitx } {
addsign .choice: ,
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index cb6c2de406d..fac3155705f 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} {2011/10/06} {2.3g}
+\ProvidesExplPackage {siunitx} {2011/10/14} {2.3h}
{A comprehensive (SI) units package}
\cs_if_exist:NTF \msg_new:nnnn
{
@@ -357,7 +357,8 @@
\@ifpackageloaded { tex4ht }
{
\cs_set_eq:NN \siunitx_ensuremath:n \use:n
- \keys_set:nn { siunitx } { mode = text }
+ \cs_set_eq:NN \siunitx_print_text_super:n \textsuperscript
+ \keys_set:nn { siunitx } { qualifier-mode = brackets, mode = text }
}
{ }
}
@@ -2947,17 +2948,15 @@
\l_siunitx_tmpa_tl
\tl_if_empty:NT \l_siunitx_output_exponent_tl
{
- \bool_if:NTF \l_siunitx_tight_bool
- {
- \tl_set:Nx \l_siunitx_tmpb_tl
- { { \exp_not:V \l_siunitx_exponent_product_tl } }
- }
+ \tl_put_right:Nx \l_siunitx_tmpa_tl
{
- \tl_set:Nx \l_siunitx_tmpb_tl
- { { } \exp_not:V \l_siunitx_exponent_product_tl { } }
+ \exp_not:N \ensuremath
+ {
+ \bool_if:NTF \l_siunitx_tight_bool
+ { { \exp_not:V \l_siunitx_exponent_product_tl } }
+ { { } \exp_not:V \l_siunitx_exponent_product_tl { } }
+ }
}
- \siunitx_tl_put_right_math:NV \l_siunitx_tmpa_tl
- \l_siunitx_tmpb_tl
}
\prop_get:NnN \l_siunitx_number_out_prop { exponent-result }
\l_siunitx_tmpb_tl
@@ -3424,19 +3423,15 @@
{
\prop_if_in:NnT \l_siunitx_number_out_prop { mantissa-result }
{
- \bool_if:NTF \l_siunitx_tight_bool
- {
- \tl_set:Nx \l_siunitx_tmpb_tl
- { { \exp_not:V \l_siunitx_exponent_product_tl } }
- }
+ \tl_put_left:Nx \l_siunitx_tmpa_tl
{
- \tl_set:Nx \l_siunitx_tmpb_tl
+ \exp_not:N \ensuremath
{
- { } \exp_not:V \l_siunitx_exponent_product_tl { }
+ \bool_if:NTF \l_siunitx_tight_bool
+ { { \exp_not:V \l_siunitx_exponent_product_tl } }
+ { { } \exp_not:V \l_siunitx_exponent_product_tl { } }
}
}
- \siunitx_tl_put_left_math:NV \l_siunitx_tmpa_tl
- \l_siunitx_tmpb_tl
\prop_put:NnV \l_siunitx_number_out_prop { exponent }
\l_siunitx_tmpa_tl
}