summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/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/source/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/source/latex/siunitx')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx44
1 files changed, 21 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 4aadfc99010..45af72af81d 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -550,6 +550,9 @@ This work consists of the file siunitx.dtx
% number is invalid}
%\changes{v2.3g}{2011/10/06}{Deal with erroneous leading zero in some
% fixed exponent cases}
+%\changes{v2.3h}{2011/10/14}{Ensure math mode for exponent products in all
+% circumstances}
+%\changes{v2.3h}{2011/10/14}{Improvements to output when using \pkg{tex4ht}}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -4899,7 +4902,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2011/10/06} {2.3g}
+\ProvidesExplPackage {siunitx} {2011/10/14} {2.3h}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -5391,7 +5394,8 @@ This work consists of the file siunitx.dtx
\@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 }
}
{ }
}
@@ -9194,17 +9198,15 @@ This work consists of the file siunitx.dtx
\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
@@ -9887,19 +9889,15 @@ This work consists of the file siunitx.dtx
{
\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
}
@@ -15951,7 +15949,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2011/10/06} {2.3g}
+\ProvidesExplFile {siunitx-version-1.cfg} {2011/10/14} {2.3h}
{siunitx: Version 1 settings}
% \end{macrocode}
%
@@ -16896,7 +16894,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2011/10/06} {2.3g}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2011/10/14} {2.3h}
{siunitx: Abbreviated units}
% \end{macrocode}
%
@@ -17078,7 +17076,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2011/10/06} {2.3g}
+\ProvidesExplFile {siunitx-binary.cfg} {2011/10/14} {2.3h}
{siunitx: Binary units}
% \end{macrocode}
%