texlive[43419] Master/texmf-dist: siunitx (6mar17)

commits+karl at tug.org commits+karl at tug.org
Mon Mar 6 22:59:59 CET 2017


Revision: 43419
          http://tug.org/svn/texlive?view=revision&revision=43419
Author:   karl
Date:     2017-03-06 22:59:59 +0100 (Mon, 06 Mar 2017)
Log Message:
-----------
siunitx (6mar17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
    trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
    trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
    trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
    trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty

Modified: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2017-03-06 21:59:44 UTC (rev 43418)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2017-03-06 21:59:59 UTC (rev 43419)
@@ -3455,6 +3455,7 @@
 % reserved for them.
 %
 %\DescribeOption{table-format}
+% \changes{v2.7e}{2017/03/06}{Allow \texttt{+} to indicate a sign}
 % As a short cut for the preceding options, \pkg{siunitx} also
 % provides the \opt{table-format} option. This can be used to give the
 % same information about the space to reserve for a number in a
@@ -5170,7 +5171,7 @@
 % package over time, where this is appropriate.
 %
 % \begin{variable}{\l_siunitx_unit_symbolic_seq}
-%   This sequence contains all of the symbolic \meta{unit} names defined :
+%   This sequence contains all of the symbolic \meta{unit} names defined:
 %   these will be in the form of control sequences such as |\kilogram|.
 %   The order of the sequence is unimportant.
 % \end{variable}
@@ -5204,7 +5205,7 @@
 %
 % The usual preliminaries.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2017/02/19} {2.7d}
+\ProvidesExplPackage {siunitx} {2017/03/06} {2.7e}
   {A comprehensive (SI) units package}
 %    \end{macrocode}
 %
@@ -14329,6 +14330,8 @@
   {
     table-format .code:n    =
       {
+        \bool_set_eq:NN \l_@@_process_plus_saved_bool \l_@@_process_plus_bool
+        \bool_set_true:N \l_@@_process_plus_bool
         \@@_number_in_parse:n {#1}
         \prop_set_eq:NN \l_@@_table_model_prop \l_@@_number_in_prop
         \tl_clear:N \l_@@_tmpa_tl
@@ -14350,6 +14353,15 @@
             \clist_put_right:Nx \l_@@_tmpa_tl
               { table-figures-uncertainty = \l_@@_tmpb_tl }
           }
+        \prop_if_in:NnTF \l_@@_number_in_prop { mantissa-sign }
+          {
+            \clist_put_right:Nn \l_@@_tmpa_tl
+              { table-sign-mantissa =true }
+          }
+          {
+            \clist_put_right:Nn \l_@@_tmpa_tl
+              { table-sign-mantissa =false }
+          }
         \prop_get:NnNT \l_@@_number_in_prop { exponent-integer }
           \l_@@_tmpb_tl
           {
@@ -14356,11 +14368,22 @@
             \clist_put_right:Nx \l_@@_tmpa_tl
               { table-figures-exponent = \l_@@_tmpb_tl }
           }
+        \prop_if_in:NnTF \l_@@_number_in_prop { exponent-sign }
+          {
+            \clist_put_right:Nn \l_@@_tmpa_tl
+              { table-sign-exponent =true }
+          }
+          {
+            \clist_put_right:Nn \l_@@_tmpa_tl
+              { table-sign-exponent =false }
+          }
         \clist_put_right:Nn \l_@@_tmpa_tl
           { table-number-alignment = center }
         \keys_set:nV { siunitx } \l_@@_tmpa_tl
+        \bool_set_eq:NN \l_@@_process_plus_bool \l_@@_process_plus_saved_bool
       }
   }
+\bool_new:N \l_@@_process_plus_saved_bool
 %    \end{macrocode}
 %
 % \begin{macro}{\@@_table_print_S:}
@@ -16806,7 +16829,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2017/02/19} {2.7d}
+\ProvidesExplFile {siunitx-version-1.cfg} {2017/03/06} {2.7e}
   {siunitx: Version 1 settings}
 %    \end{macrocode}
 %
@@ -17748,7 +17771,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/02/19} {2.7d}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/03/06} {2.7e}
   {siunitx: Abbreviated units}
 %    \end{macrocode}
 %
@@ -17930,7 +17953,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2017/02/19} {2.7d}
+\ProvidesExplFile {siunitx-binary.cfg} {2017/03/06} {2.7e}
   {siunitx: Binary units}
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg	2017-03-06 21:59:44 UTC (rev 43418)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg	2017-03-06 21:59:59 UTC (rev 43419)
@@ -13,7 +13,7 @@
 %% See http://www.latex-project.org/lppl.txt
 %% ---------------------------------------------------------------
 %% 
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/02/19} {2.7d}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/03/06} {2.7e}
   {siunitx: Abbreviated units}
 \DeclareSIUnit \A  {        \ampere }
 \DeclareSIUnit \pA { \pico  \ampere }

Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg	2017-03-06 21:59:44 UTC (rev 43418)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg	2017-03-06 21:59:59 UTC (rev 43419)
@@ -13,7 +13,7 @@
 %% See http://www.latex-project.org/lppl.txt
 %% ---------------------------------------------------------------
 %% 
-\ProvidesExplFile {siunitx-binary.cfg} {2017/02/19} {2.7d}
+\ProvidesExplFile {siunitx-binary.cfg} {2017/03/06} {2.7e}
   {siunitx: Binary units}
 \DeclareBinaryPrefix \kibi { Ki } { 10 }
 \DeclareBinaryPrefix \mebi { Mi } { 20 }

Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg	2017-03-06 21:59:44 UTC (rev 43418)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg	2017-03-06 21:59:59 UTC (rev 43419)
@@ -13,7 +13,7 @@
 %% See http://www.latex-project.org/lppl.txt
 %% ---------------------------------------------------------------
 %% 
-\ProvidesExplFile {siunitx-version-1.cfg} {2017/02/19} {2.7d}
+\ProvidesExplFile {siunitx-version-1.cfg} {2017/03/06} {2.7e}
   {siunitx: Version 1 settings}
 \keys_define:nn { siunitx } {
   addsign        .choice: ,

Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2017-03-06 21:59:44 UTC (rev 43418)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2017-03-06 21:59:59 UTC (rev 43419)
@@ -15,7 +15,7 @@
 %% 
 \RequirePackage{expl3}[2015/09/11]
 \RequirePackage{xparse}
-\ProvidesExplPackage {siunitx} {2017/02/19} {2.7d}
+\ProvidesExplPackage {siunitx} {2017/03/06} {2.7e}
   {A comprehensive (SI) units package}
 \@ifpackagelater { expl3 } { 2015/09/11 }
   { }
@@ -6131,6 +6131,8 @@
   {
     table-format .code:n    =
       {
+        \bool_set_eq:NN \l__siunitx_process_plus_saved_bool \l__siunitx_process_plus_bool
+        \bool_set_true:N \l__siunitx_process_plus_bool
         \__siunitx_number_in_parse:n {#1}
         \prop_set_eq:NN \l__siunitx_table_model_prop \l__siunitx_number_in_prop
         \tl_clear:N \l__siunitx_tmpa_tl
@@ -6152,6 +6154,15 @@
             \clist_put_right:Nx \l__siunitx_tmpa_tl
               { table-figures-uncertainty = \l__siunitx_tmpb_tl }
           }
+        \prop_if_in:NnTF \l__siunitx_number_in_prop { mantissa-sign }
+          {
+            \clist_put_right:Nn \l__siunitx_tmpa_tl
+              { table-sign-mantissa =true }
+          }
+          {
+            \clist_put_right:Nn \l__siunitx_tmpa_tl
+              { table-sign-mantissa =false }
+          }
         \prop_get:NnNT \l__siunitx_number_in_prop { exponent-integer }
           \l__siunitx_tmpb_tl
           {
@@ -6158,11 +6169,22 @@
             \clist_put_right:Nx \l__siunitx_tmpa_tl
               { table-figures-exponent = \l__siunitx_tmpb_tl }
           }
+        \prop_if_in:NnTF \l__siunitx_number_in_prop { exponent-sign }
+          {
+            \clist_put_right:Nn \l__siunitx_tmpa_tl
+              { table-sign-exponent =true }
+          }
+          {
+            \clist_put_right:Nn \l__siunitx_tmpa_tl
+              { table-sign-exponent =false }
+          }
         \clist_put_right:Nn \l__siunitx_tmpa_tl
           { table-number-alignment = center }
         \keys_set:nV { siunitx } \l__siunitx_tmpa_tl
+        \bool_set_eq:NN \l__siunitx_process_plus_bool \l__siunitx_process_plus_saved_bool
       }
   }
+\bool_new:N \l__siunitx_process_plus_saved_bool
 \cs_new_protected:Npn \__siunitx_table_print_S:
   {
     \bool_if:NTF \l__siunitx_table_collect_pre_bool



More information about the tex-live-commits mailing list