summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-03-31 23:14:57 +0000
committerKarl Berry <karl@freefriends.org>2011-03-31 23:14:57 +0000
commit6b5cac75927920639405a1c1ba5cac760861b184 (patch)
treeb047fd0933ba1942f56bc3215424479a7830b66d /Master
parenta9d7ac3840bf0bbafbadea6b8f9a3d866bfcacf2 (diff)
siunitx 2.1n (31mar11)
git-svn-id: svn://tug.org/texlive/trunk@21904 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/siunitx.pdfbin522725 -> 522995 bytes
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx33
-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.sty23
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds1
6 files changed, 48 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
index 85246f8eefa..6eac1120a61 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 ef4d8b5653d..c65febb1ab4 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -544,6 +544,8 @@ This work consists of the file siunitx.dtx
%\changes{v2.1m}{2011/03/20}{Ensure some output occurs in all cases
% when \opt{round-precision} is set to \opt{0} and \opt{round-mode}
% is set to \opt{places}}
+%\changes{v2.1n}{2011/03/31}{Consistent behaviour for
+% \opt{round-integer-to-decimal} when \opt{round-precision} is 0}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -1666,6 +1668,8 @@ This work consists of the file siunitx.dtx
%
%\DescribeOption{round-mode}
%\DescribeOption{round-precision}
+%\changes{v2.1n}{2011/03/31}{Set output to 0 when \opt{round-mode}
+% is \opt{figures} and \opt{round-precision} is 0}
% The \pkg{siunitx} package can round numerical input to a fixed
% number of significant figures or decimal places. This is controlled by
% the \opt{round-mode} option, which takes the choices \opt{off},
@@ -4454,7 +4458,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2011/03/20} {2.1m}
+\ProvidesExplPackage {siunitx} {2011/03/31} {2.1n}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -6953,8 +6957,20 @@ This work consists of the file siunitx.dtx
% reconstruction of the number.
% \begin{macrocode}
\cs_new_protected_nopar:Npn \siunitx_number_process_figures:n #1 {
- \prop_if_in:NnT \l_siunitx_number_in_prop {#1}
- { \siunitx_number_process_figures_aux:n {#1} }
+ \int_compare:nNnTF { \l_siunitx_process_precision_int } > { 0 }
+ {
+ \prop_if_in:NnT \l_siunitx_number_in_prop {#1}
+ { \siunitx_number_process_figures_aux:n {#1} }
+ }
+ {
+ \prop_del:Nn \l_siunitx_number_in_prop { #1 -sign }
+ \prop_put:Nnn \l_siunitx_number_in_prop { #1 -integer } { 0 }
+ \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal }
+ \bool_if:NF \l_siunitx_process_int_to_dec_bool
+ {
+ \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal-marker }
+ }
+ }
}
\cs_new_protected_nopar:Npn \siunitx_number_process_figures_aux:n #1 {
\siunitx_number_process_figures_init:n {#1}
@@ -7376,8 +7392,11 @@ This work consists of the file siunitx.dtx
}
}
}
- \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal }
- \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal-marker }
+ \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal }
+ \bool_if:NF \l_siunitx_process_int_to_dec_bool
+ {
+ \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal-marker }
+ }
}
{
\prop_get:NnN \l_siunitx_number_in_prop { #1 -decimal }
@@ -14610,7 +14629,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2011/03/20} {2.1m}
+\ProvidesExplFile {siunitx-version-1.cfg} {2011/03/31} {2.1n}
{siunitx: Version 1 settings}
% \end{macrocode}
%
@@ -15894,7 +15913,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2011/03/20} {2.1m}
+\ProvidesExplFile {siunitx-binary.cfg} {2011/03/31} {2.1n}
{siunitx: Binary units}
% \end{macrocode}
%
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 a9cd286b580..b947883296c 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/03/20} {2.1m}
+\ProvidesExplFile {siunitx-binary.cfg} {2011/03/31} {2.1n}
{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 d5ac00dd786..98a76a63af2 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/03/20} {2.1m}
+\ProvidesExplFile {siunitx-version-1.cfg} {2011/03/31} {2.1n}
{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 66a3a598caf..7f67cd6fc27 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/03/20} {2.1m}
+\ProvidesExplPackage {siunitx} {2011/03/31} {2.1n}
{A comprehensive (SI) units package}
\cs_if_exist:NTF \msg_set:nnnn
{
@@ -1602,8 +1602,20 @@
}
}
\cs_new_protected_nopar:Npn \siunitx_number_process_figures:n #1 {
- \prop_if_in:NnT \l_siunitx_number_in_prop {#1}
- { \siunitx_number_process_figures_aux:n {#1} }
+ \int_compare:nNnTF { \l_siunitx_process_precision_int } > { 0 }
+ {
+ \prop_if_in:NnT \l_siunitx_number_in_prop {#1}
+ { \siunitx_number_process_figures_aux:n {#1} }
+ }
+ {
+ \prop_del:Nn \l_siunitx_number_in_prop { #1 -sign }
+ \prop_put:Nnn \l_siunitx_number_in_prop { #1 -integer } { 0 }
+ \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal }
+ \bool_if:NF \l_siunitx_process_int_to_dec_bool
+ {
+ \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal-marker }
+ }
+ }
}
\cs_new_protected_nopar:Npn \siunitx_number_process_figures_aux:n #1 {
\siunitx_number_process_figures_init:n {#1}
@@ -1939,7 +1951,10 @@
}
}
\prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal }
- \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal-marker }
+ \bool_if:NF \l_siunitx_process_int_to_dec_bool
+ {
+ \prop_del:Nn \l_siunitx_number_in_prop { #1 -decimal-marker }
+ }
}
{
\prop_get:NnN \l_siunitx_number_in_prop { #1 -decimal }
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 90eaa15c671..4b98de069ea 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -265,6 +265,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'droid', "&MAKEcopy",
'dropping', "die 'skipping, nosell license'",
'dtxtut', "&setup", # straight copy
+ 'duplicat', "die 'skipping, use piff'",
'easy', "&MAKEeasy",
'easylatex', "die 'skipping, complicated perl modules, sorry'",
'ean13isbn', "&MAKEcopy",