[latex3-commits] [git/LaTeX3-latex3-xcolor] testl3color: make warning optional (751a5c1)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed Aug 17 13:28:33 CEST 2022
Repository : https://github.com/latex3/xcolor
On branch : testl3color
Link : https://github.com/latex3/xcolor/commit/751a5c127e1fd434671c4c1e11a7eb3250d22ee4
>---------------------------------------------------------------
commit 751a5c127e1fd434671c4c1e11a7eb3250d22ee4
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Aug 17 13:28:33 2022 +0200
make warning optional
>---------------------------------------------------------------
751a5c127e1fd434671c4c1e11a7eb3250d22ee4
xcolor.dtx | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/xcolor.dtx b/xcolor.dtx
index dad0af3..0ff4ee1 100644
--- a/xcolor.dtx
+++ b/xcolor.dtx
@@ -3696,6 +3696,13 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\XC at debug}
+% For debug messages. Currently no option exists to activate them,
+% redefine to |\typeout| if needed.
+% \begin{macrocode}
+\def\XC at debug#1{}
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{Macro concatenation}
%
@@ -5422,8 +5429,7 @@
}
}
{
- %for package like crop that sets \current at color manually
- \PackageWarning{xcolor}{color~differences~detected}{}
+ \XC at debug{\string\current at color~differs~from~\string\XC at current@color!}%
\XC at ori@set at color
}
}
More information about the latex3-commits
mailing list.