summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx/siunitx.sty')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty11
1 files changed, 7 insertions, 4 deletions
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 }
}
}