summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-14 22:18:05 +0000
committerKarl Berry <karl@freefriends.org>2011-09-14 22:18:05 +0000
commit5d579a8961d5fa255cd4271a9f0eb8d3d03aba8f (patch)
treee81afdf213c566654891ed2ad03cdb935b224f52 /Master/texmf-dist/source
parent96a6ada43447b6537e9f97642dd56ba18f240ff3 (diff)
siunitx 2.3f (14sep11)
git-svn-id: svn://tug.org/texlive/trunk@23951 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx53
1 files changed, 31 insertions, 22 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 430674eeb02..5d4eec51789 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -546,6 +546,8 @@ This work consists of the file siunitx.dtx
% mode}
%\changes{v2.3e}{2011/09/09}{Internal changes to work with \LaTeX3
% updates}
+%\changes{v2.3f}{2011/09/03}{Fix processing of numbers in tables when entire
+% number is invalid}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -4895,7 +4897,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2011/08/18} {2.3d}
+\ProvidesExplPackage {siunitx} {2011/09/13} {2.3f}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -13685,7 +13687,7 @@ This work consists of the file siunitx.dtx
\siunitx_table_column_end:n { \l_siunitx_table_text_align_skip }
}
{
- \siunitx_table_column_begin:n { \l_siunitx_table_number_align_skip }
+ \siunitx_table_column_begin:n { \l_siunitx_table_number_align_skip }
\siunitx_detect_font:
\siunitx_table_print_S_main:
\siunitx_table_print_S_pre:
@@ -13812,19 +13814,23 @@ This work consists of the file siunitx.dtx
\siunitx_table_print_S_centered_ends:
\bool_if:NT \l_siunitx_table_math_bool { \c_math_toggle_token }
\siunitx_table_print_S_parse:
- \siunitx_table_print_S_centered_measure:
- \bool_if:NT \l_siunitx_table_math_bool { \c_math_toggle_token }
- \dim_set:Nn \l_siunitx_table_fill_pre_dim
+ \bool_if:NF \l_siunitx_error_bool
{
- \l_siunitx_table_result_dim
- - \l_siunitx_table_integer_dim
- \prop_if_in:NnT \l_siunitx_number_out_prop { mantissa-decimal-marker }
- { - \l_siunitx_table_marker_dim }
- }
- \dim_compare:nNnTF \l_siunitx_table_integer_dim >
- \l_siunitx_table_fill_pre_dim
- { \siunitx_table_print_S_centered_integer: }
- { \siunitx_table_print_S_centered_decimal: }
+ \siunitx_table_print_S_centered_measure:
+ \bool_if:NT \l_siunitx_table_math_bool { \c_math_toggle_token }
+ \dim_set:Nn \l_siunitx_table_fill_pre_dim
+ {
+ \l_siunitx_table_result_dim
+ - \l_siunitx_table_integer_dim
+ \prop_if_in:NnT \l_siunitx_number_out_prop
+ { mantissa-decimal-marker }
+ { - \l_siunitx_table_marker_dim }
+ }
+ \dim_compare:nNnTF \l_siunitx_table_integer_dim >
+ \l_siunitx_table_fill_pre_dim
+ { \siunitx_table_print_S_centered_integer: }
+ { \siunitx_table_print_S_centered_decimal: }
+ }
}
% \end{macrocode}
% \end{macro}
@@ -13977,11 +13983,14 @@ This work consists of the file siunitx.dtx
\siunitx_table_print_S_reserved_ends:
\siunitx_table_print_S_reserved_round:
\siunitx_table_print_S_parse:
- \bool_if:NT \l_siunitx_table_math_bool { \c_math_toggle_token }
- \siunitx_table_print_S_reserved_comparator:
- \siunitx_table_print_S_reserved_mantissa:
- \siunitx_table_print_S_reserved_exponent:
- \bool_if:NT \l_siunitx_table_math_bool { \c_math_toggle_token }
+ \bool_if:NF \l_siunitx_error_bool
+ {
+ \bool_if:NT \l_siunitx_table_math_bool { \c_math_toggle_token }
+ \siunitx_table_print_S_reserved_comparator:
+ \siunitx_table_print_S_reserved_mantissa:
+ \siunitx_table_print_S_reserved_exponent:
+ \bool_if:NT \l_siunitx_table_math_bool { \c_math_toggle_token }
+ }
}
% \end{macrocode}
% \end{macro}
@@ -15928,7 +15937,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2011/08/18} {2.3d}
+\ProvidesExplFile {siunitx-version-1.cfg} {2011/09/13} {2.3f}
{siunitx: Version 1 settings}
% \end{macrocode}
%
@@ -16873,7 +16882,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2011/08/18} {2.3d}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2011/09/13} {2.3f}
{siunitx: Abbreviated units}
% \end{macrocode}
%
@@ -17055,7 +17064,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2011/08/18} {2.3d}
+\ProvidesExplFile {siunitx-binary.cfg} {2011/09/13} {2.3f}
{siunitx: Binary units}
% \end{macrocode}
%