summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-27 22:58:58 +0000
committerKarl Berry <karl@freefriends.org>2012-01-27 22:58:58 +0000
commitf23baf3423e986c9124c0bdec38e1c85d61d083c (patch)
tree0e37d94b876401ac7f883ca6beb19484bd8dbb4f
parent7b8c89e5c2f2d9019dbc399e6a7a0dfbc04500d0 (diff)
siunitx (27jan12)
git-svn-id: svn://tug.org/texlive/trunk@25217 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/siunitx.pdfbin572833 -> 572977 bytes
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx18
-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.sty10
6 files changed, 26 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
index 52d4bc99a52..17db0d838ec 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 3c63dd6e44f..0681aef60c2 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -562,6 +562,8 @@ This work consists of the file siunitx.dtx
% \opt{reciprocal-positive-first}}
%\changes{v2.4i}{2012/01/19}{Bug fix for rounding with large numbers of
% decimal places}
+%\changes{v2.4j}{2012/01/26}{Leave vertical mode before any document-level
+% commands}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -5015,7 +5017,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2012/01/19} {2.4i}
+\ProvidesExplPackage {siunitx} {2012/01/26} {2.4j}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -15420,6 +15422,7 @@ This work consists of the file siunitx.dtx
% correct then print it.
% \begin{macrocode}
\NewDocumentCommand \num { o m } {
+ \leavevmode
\group_begin:
\IfNoValueF {#1}
{ \keys_set:nn { siunitx } {#1} }
@@ -15433,6 +15436,7 @@ This work consists of the file siunitx.dtx
% Lists of numbers are trivially easy to work with.
% \begin{macrocode}
\NewDocumentCommand \numlist { o > { \SplitList { ; } } m } {
+ \leavevmode
\group_begin:
\IfNoValueF {#1}
{ \keys_set:nn { siunitx } {#1} }
@@ -15447,6 +15451,7 @@ This work consists of the file siunitx.dtx
% anything complicated.
% \begin{macrocode}
\NewDocumentCommand \numrange { o m m } {
+ \leavevmode
\group_begin:
\IfNoValueF {#1}
{ \keys_set:nn { siunitx } {#1} }
@@ -15466,6 +15471,7 @@ This work consists of the file siunitx.dtx
% the differences between the two make this less desirable.
% \begin{macrocode}
\NewDocumentCommand \SIlist { o > { \SplitList { ; } } m m } {
+ \leavevmode
\group_begin:
\IfNoValueTF {#1}
{ \siunitx_list_units:nnn {#2} {#3} { } }
@@ -15476,6 +15482,7 @@ This work consists of the file siunitx.dtx
\group_end:
}
\NewDocumentCommand \SIrange { o m m m } {
+ \leavevmode
\group_begin:
\IfNoValueTF {#1}
{ \siunitx_range_unit:nnnn {#4} { } {#2} {#3} }
@@ -15493,6 +15500,7 @@ This work consists of the file siunitx.dtx
% ones.
% \begin{macrocode}
\NewDocumentCommand \SI { o m o m } {
+ \leavevmode
\group_begin:
\IfNoValueTF {#1}
{ \siunitx_combined:nnnn { } {#2} {#3} {#4} }
@@ -15522,6 +15530,7 @@ This work consists of the file siunitx.dtx
% after \enquote{collection}.
% \begin{macrocode}
\NewDocumentCommand \tablenum { o m } {
+ \leavevmode
\IfNoValueF {#1}
{ \keys_set:nn { siunitx } {#1} }
\bool_if:NTF \l_siunitx_number_parse_bool
@@ -15541,6 +15550,7 @@ This work consists of the file siunitx.dtx
% set for a unit can be overridden on a one-off basis.
% \begin{macrocode}
\NewDocumentCommand \si { o m } {
+ \leavevmode
\group_begin:
\IfNoValueTF {#1}
{ \siunitx_unit_output:nn {#2} { } }
@@ -16254,7 +16264,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2012/01/19} {2.4i}
+\ProvidesExplFile {siunitx-version-1.cfg} {2012/01/26} {2.4j}
{siunitx: Version 1 settings}
% \end{macrocode}
%
@@ -17199,7 +17209,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2012/01/19} {2.4i}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2012/01/26} {2.4j}
{siunitx: Abbreviated units}
% \end{macrocode}
%
@@ -17381,7 +17391,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2012/01/19} {2.4i}
+\ProvidesExplFile {siunitx-binary.cfg} {2012/01/26} {2.4j}
{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 59e15192e21..e81f3b35e9b 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} {2012/01/19} {2.4i}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2012/01/26} {2.4j}
{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 94a1ad42855..db4e7089efc 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} {2012/01/19} {2.4i}
+\ProvidesExplFile {siunitx-binary.cfg} {2012/01/26} {2.4j}
{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 72ce7678208..ba4fe0c6e44 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} {2012/01/19} {2.4i}
+\ProvidesExplFile {siunitx-version-1.cfg} {2012/01/26} {2.4j}
{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 4f766135a37..b530cd1c590 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} {2012/01/19} {2.4i}
+\ProvidesExplPackage {siunitx} {2012/01/26} {2.4j}
{A comprehensive (SI) units package}
\@ifpackagelater { expl3 } { 2011/09/05 }
{ }
@@ -6987,6 +6987,7 @@
\group_end:
}
\NewDocumentCommand \num { o m } {
+ \leavevmode
\group_begin:
\IfNoValueF {#1}
{ \keys_set:nn { siunitx } {#1} }
@@ -6994,6 +6995,7 @@
\group_end:
}
\NewDocumentCommand \numlist { o > { \SplitList { ; } } m } {
+ \leavevmode
\group_begin:
\IfNoValueF {#1}
{ \keys_set:nn { siunitx } {#1} }
@@ -7001,6 +7003,7 @@
\group_end:
}
\NewDocumentCommand \numrange { o m m } {
+ \leavevmode
\group_begin:
\IfNoValueF {#1}
{ \keys_set:nn { siunitx } {#1} }
@@ -7008,6 +7011,7 @@
\group_end:
}
\NewDocumentCommand \SIlist { o > { \SplitList { ; } } m m } {
+ \leavevmode
\group_begin:
\IfNoValueTF {#1}
{ \siunitx_list_units:nnn {#2} {#3} { } }
@@ -7018,6 +7022,7 @@
\group_end:
}
\NewDocumentCommand \SIrange { o m m m } {
+ \leavevmode
\group_begin:
\IfNoValueTF {#1}
{ \siunitx_range_unit:nnnn {#4} { } {#2} {#3} }
@@ -7028,6 +7033,7 @@
\group_end:
}
\NewDocumentCommand \SI { o m o m } {
+ \leavevmode
\group_begin:
\IfNoValueTF {#1}
{ \siunitx_combined:nnnn { } {#2} {#3} {#4} }
@@ -7041,6 +7047,7 @@
\keys_set:nn { siunitx } {#1}
}
\NewDocumentCommand \tablenum { o m } {
+ \leavevmode
\IfNoValueF {#1}
{ \keys_set:nn { siunitx } {#1} }
\bool_if:NTF \l_siunitx_number_parse_bool
@@ -7052,6 +7059,7 @@
{ \siunitx_table_print_S_direct: #2 \siunitx_table_print: }
}
\NewDocumentCommand \si { o m } {
+ \leavevmode
\group_begin:
\IfNoValueTF {#1}
{ \siunitx_unit_output:nn {#2} { } }