summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty7
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
index 0cf6d141cdd..455cd66ad16 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
@@ -17,6 +17,7 @@
%% version 2005/12/01 or later.
+
\LWR@ProvidesPackagePass{xcolor}[2016/05/11]
\let\color@endgroup\endgroup
@@ -34,7 +35,7 @@
\LWR@traceinfo{LWR@findcurrenttextcolor}%
\protect\colorlet{LWR@current@color}{.}%
\LWR@traceinfo{LWR@findcurrenttextcolor B}%
- \protect\convertcolorspec{named}{LWR@current@color}{HTML}\LWR@tempcolor%
+ \protect\convertcolorspec{named}{LWR@current@color}{HTML}\LWR@tempcolor\relax%
\LWR@traceinfo{LWR@findcurrenttextcolor: done}%
}
@@ -147,7 +148,7 @@
\endgroup%
}
-\NewDocumentCommand{\LWR@HTML@fcolorboxBlock}{O{named} m O{#1} m +m}{%
+\NewDocumentCommand{\LWR@HTML@fcolorboxBlock}{O{named} m O{#1} m +m d()}{%
\LWR@traceinfo{HTML fcolorboxBlock #2 #4}%
\begingroup%
\LWR@hook@processingtags%
@@ -157,6 +158,7 @@
{% no background color
\begin{BlockClass}[%
\LWR@borderpadding{#1}{#2}%
+ \IfValueT{#6}{ ; #6}%
]{fcolorboxBlock}
#5
\end{BlockClass}%
@@ -166,6 +168,7 @@
\begin{BlockClass}[%
background:\LWR@origpound\LWR@tempcolortwo\ ; %
\LWR@borderpadding{#1}{#2}%
+ \IfValueT{#6}{ ; #6}%
]{fcolorboxBlock}
#5
\end{BlockClass}%