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.sty18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
index b492c8d35a9..ff6a7f39f34 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
@@ -41,7 +41,7 @@
}
\DeclareDocumentCommand{\LWR@textcurrentcolor}{m}{%
\begingroup%
-\LWR@FBcancel%
+\LWR@hook@processingtags%
\LWR@findcurrenttextcolor%
\InlineClass[color:\LWR@origpound\LWR@tempcolor]{textcolor}{%
\renewcommand*{\LWR@currenttextcolor}{\LWR@origpound\LWR@tempcolor}%
@@ -51,14 +51,14 @@
}
\NewDocumentCommand{\LWR@colorstyle}{m m}{%
\begingroup%
-\LWR@FBcancel%
+\LWR@hook@processingtags%
\convertcolorspec{#1}{#2}{HTML}\LWR@tempcolor%
\LWR@origpound\LWR@tempcolor%
\endgroup%
}
\NewDocumentCommand{\LWR@backgroundcolor}{O{named} m m}{%
\begingroup%
-\LWR@FBcancel%
+\LWR@hook@processingtags%
\InlineClass[background:\LWR@colorstyle{#1}{#2}]{backgroundcolor}{%
#3%
}%
@@ -82,7 +82,7 @@ padding:\LWR@printlength{\fboxsep}%
\LWR@formatted{color}
\NewDocumentCommand{\LWR@HTML@textcolor}{o m m}{%
\begingroup%
-\LWR@FBcancel%
+\LWR@hook@processingtags%
\IfValueTF{#1}{%
\color[#1]{#2}%
}{%
@@ -100,7 +100,7 @@ padding:\LWR@printlength{\fboxsep}%
\NewDocumentCommand{\LWR@HTML@colorbox}{O{named} m +m}{%
\begingroup%
-\LWR@FBcancel%
+\LWR@hook@processingtags%
\InlineClass[%
background:\LWR@colorstyle{#1}{#2} ; %
padding:\LWR@printlength{\fboxsep}%
@@ -114,7 +114,7 @@ padding:\LWR@printlength{\fboxsep}%
\NewDocumentCommand{\LWR@HTML@colorboxBlock}{O{named} m +m}{%
\begingroup%
-\LWR@FBcancel%
+\LWR@hook@processingtags%
\LWR@stoppars%
\begin{BlockClass}[%
background:\LWR@colorstyle{#1}{#2} ; %
@@ -133,7 +133,7 @@ padding:\LWR@printlength{\fboxsep}%
\NewDocumentCommand{\LWR@HTML@fcolorbox}{O{named} m O{#1} m +m}{%
\LWR@traceinfo{HTML fcolorbox #2 #4}%
\begingroup%
-\LWR@FBcancel%
+\LWR@hook@processingtags%
\LWR@forceminwidth{\fboxrule}%
\ifthenelse{\equal{#4}{none}}%
{% no background color
@@ -157,7 +157,7 @@ padding:\LWR@printlength{\fboxsep}%
\NewDocumentCommand{\LWR@HTML@fcolorboxBlock}{O{named} m O{#1} m +m}{%
\LWR@traceinfo{HTML fcolorboxBlock #2 #4}%
\begingroup%
-\LWR@FBcancel%
+\LWR@hook@processingtags%
\LWR@forceminwidth{\fboxrule}%
\LWR@stoppars%
\ifthenelse{\equal{#4}{none}}%
@@ -197,7 +197,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
}
\NewDocumentEnvironment{LWR@HTML@fcolorminipage}{O{named} m O{#1} m O{c} o o m}
{%
-\LWR@FBcancel%
+\LWR@hook@processingtags%
\setlength{\LWR@tempwidth}{#8}%
\IfValueT{#6}{\setlength{\LWR@tempheight}{#6}}%
\LWR@forceminwidth{\fboxrule}%