diff options
author | Karl Berry <karl@freefriends.org> | 2016-09-03 01:24:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-09-03 01:24:10 +0000 |
commit | 3f1f836612a33595683361deac1863bf8011b89a (patch) | |
tree | e24ff06f95413f0c32d050e518d4f5fb060fdf32 /Master/texmf-dist | |
parent | d36ec6dc38e0015ecc18fc8d70e198c3a832c0d0 (diff) |
siunitx (2sep16)
git-svn-id: svn://tug.org/texlive/trunk@41979 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/siunitx/siunitx.pdf | bin | 623208 -> 623155 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 11 |
6 files changed, 21 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf Binary files differindex 9393ba53ff1..cacdb4368b8 100644 --- a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf +++ b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index 1c16e0ac8b5..d2dc271a9b8 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -654,6 +654,7 @@ This work consists of the file siunitx.dtx % \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 @@ This work consists of the file siunitx.dtx % % 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 @@ This work consists of the file siunitx.dtx { \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 @@ This work consists of the file siunitx.dtx % \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 @@ This work consists of the file siunitx.dtx % \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 @@ This work consists of the file siunitx.dtx % \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} % diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg index 9ac555f3ea4..91cd23a934d 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg @@ -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 } diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg index caef9a61558..827cb745485 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg @@ -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 } diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg index 9d22e60af16..1ff8c559fb6 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg @@ -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: , diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index ad9a64691fb..5352fe2640f 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -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 } } } |