texlive[41979] Master/texmf-dist: siunitx (2sep16)

commits+karl at tug.org commits+karl at tug.org
Sat Sep 3 03:24:10 CEST 2016


Revision: 41979
          http://tug.org/svn/texlive?view=revision&revision=41979
Author:   karl
Date:     2016-09-03 03:24:10 +0200 (Sat, 03 Sep 2016)
Log Message:
-----------
siunitx (2sep16)

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	2016-09-03 01:23:52 UTC (rev 41978)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2016-09-03 01:24:10 UTC (rev 41979)
@@ -654,6 +654,7 @@
 % \changes{v2.6r}{2016/08/14}{Minor \pkg{expl3} fixes}
 % \changes{v2.6r}{2016/08/21}{Correctly handle \texttt{e0}}
 % \changes{v2.6r}{2016/08/21}{Warn when color support is not available}
+% \changes{v2.6s}{2016/09/02}{Drop one excess warning}
 %
 %\begin{abstract}
 % Physical quantities have both numbers and units, and each physical
@@ -5178,7 +5179,7 @@
 %
 % The usual preliminaries.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2016/08/22} {2.6r}
+\ProvidesExplPackage {siunitx} {2016/09/02} {2.6s}
   {A comprehensive (SI) units package}
 %    \end{macrocode}
 %
@@ -6428,12 +6429,15 @@
     {
       \cs_set_protected:Npn \@@_print_color:
         {
-          \cs_set_eq:NN \@@_print_color: \scan_stop:
-          \msg_warning:nn { siunitx } { color-not-loaded }
+          \tl_if_empty:cF { l_@@_ \l_@@_print_type_tl _color_tl }
+            {
+              \cs_gset_eq:NN \@@_print_color: \scan_stop:
+              \msg_warning:nn { siunitx } { color-not-loaded }
+            }
         }
       \cs_new_protected:Npn \@@_textcolor:n #1
         {
-          \cs_set_eq:NN \@@_textcolor:n \use_none:n
+          \cs_gset_eq:NN \@@_textcolor:n \use_none:n
           \msg_warning:nn { siunitx } { color-not-loaded }
         }
     }
@@ -16765,7 +16769,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2016/08/22} {2.6r}
+\ProvidesExplFile {siunitx-version-1.cfg} {2016/09/02} {2.6s}
   {siunitx: Version 1 settings}
 %    \end{macrocode}
 %
@@ -17707,7 +17711,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2016/08/22} {2.6r}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2016/09/02} {2.6s}
   {siunitx: Abbreviated units}
 %    \end{macrocode}
 %
@@ -17889,7 +17893,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2016/08/22} {2.6r}
+\ProvidesExplFile {siunitx-binary.cfg} {2016/09/02} {2.6s}
   {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	2016-09-03 01:23:52 UTC (rev 41978)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg	2016-09-03 01:24:10 UTC (rev 41979)
@@ -13,7 +13,7 @@
 %% See http://www.latex-project.org/lppl.txt
 %% ---------------------------------------------------------------
 %% 
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2016/08/22} {2.6r}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2016/09/02} {2.6s}
   {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	2016-09-03 01:23:52 UTC (rev 41978)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg	2016-09-03 01:24:10 UTC (rev 41979)
@@ -13,7 +13,7 @@
 %% See http://www.latex-project.org/lppl.txt
 %% ---------------------------------------------------------------
 %% 
-\ProvidesExplFile {siunitx-binary.cfg} {2016/08/22} {2.6r}
+\ProvidesExplFile {siunitx-binary.cfg} {2016/09/02} {2.6s}
   {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	2016-09-03 01:23:52 UTC (rev 41978)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg	2016-09-03 01:24:10 UTC (rev 41979)
@@ -13,7 +13,7 @@
 %% See http://www.latex-project.org/lppl.txt
 %% ---------------------------------------------------------------
 %% 
-\ProvidesExplFile {siunitx-version-1.cfg} {2016/08/22} {2.6r}
+\ProvidesExplFile {siunitx-version-1.cfg} {2016/09/02} {2.6s}
   {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	2016-09-03 01:23:52 UTC (rev 41978)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2016-09-03 01:24:10 UTC (rev 41979)
@@ -15,7 +15,7 @@
 %% 
 \RequirePackage{expl3}[2015/09/11]
 \RequirePackage{xparse}
-\ProvidesExplPackage {siunitx} {2016/08/22} {2.6r}
+\ProvidesExplPackage {siunitx} {2016/09/02} {2.6s}
   {A comprehensive (SI) units package}
 \@ifpackagelater { expl3 } { 2015/09/11 }
   { }
@@ -806,12 +806,15 @@
     {
       \cs_set_protected:Npn \__siunitx_print_color:
         {
-          \cs_set_eq:NN \__siunitx_print_color: \scan_stop:
-          \msg_warning:nn { siunitx } { color-not-loaded }
+          \tl_if_empty:cF { l__siunitx_ \l__siunitx_print_type_tl _color_tl }
+            {
+              \cs_gset_eq:NN \__siunitx_print_color: \scan_stop:
+              \msg_warning:nn { siunitx } { color-not-loaded }
+            }
         }
       \cs_new_protected:Npn \__siunitx_textcolor:n #1
         {
-          \cs_set_eq:NN \__siunitx_textcolor:n \use_none:n
+          \cs_gset_eq:NN \__siunitx_textcolor:n \use_none:n
           \msg_warning:nn { siunitx } { color-not-loaded }
         }
     }



More information about the tex-live-commits mailing list