summaryrefslogtreecommitdiff
path: root/Master
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
parent96a6ada43447b6537e9f97642dd56ba18f240ff3 (diff)
siunitx 2.3f (14sep11)
git-svn-id: svn://tug.org/texlive/trunk@23951 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/siunitx.pdfbin566418 -> 567905 bytes
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx53
-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.sty43
6 files changed, 59 insertions, 43 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
index 96a21a8313c..44d4df302f0 100644
--- a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
+++ b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
Binary files differ
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}
%
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 e240b7e097a..e430ffce29d 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/08/18} {2.3d}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2011/09/13} {2.3f}
{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 da2dffe0c13..6494452434e 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/08/18} {2.3d}
+\ProvidesExplFile {siunitx-binary.cfg} {2011/09/13} {2.3f}
{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 212297509a6..94e0aaf6a39 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/08/18} {2.3d}
+\ProvidesExplFile {siunitx-version-1.cfg} {2011/09/13} {2.3f}
{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 69394a71dd1..ed63a103f15 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/08/18} {2.3d}
+\ProvidesExplPackage {siunitx} {2011/09/13} {2.3f}
{A comprehensive (SI) units package}
\cs_if_exist:NTF \msg_new:nnnn
{
@@ -5986,19 +5986,23 @@
\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: }
+ }
}
\cs_new_protected_nopar:Npn \siunitx_table_print_S_centered_ends:
{
@@ -6100,11 +6104,14 @@
\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 }
+ }
}
\cs_new_protected_nopar:Npn \siunitx_table_print_S_reserved_init:
{