[latex3-commits] [git/LaTeX3-latex3-xcolor] testl3color: get correct color in box (fa30e02)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Jan 7 18:59:51 CET 2023


Repository : https://github.com/latex3/xcolor
On branch  : testl3color
Link       : https://github.com/latex3/xcolor/commit/fa30e02cce31eaa01d15ae1817d844ab582e9233

>---------------------------------------------------------------

commit fa30e02cce31eaa01d15ae1817d844ab582e9233
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Jan 7 18:59:51 2023 +0100

    get correct color in box


>---------------------------------------------------------------

fa30e02cce31eaa01d15ae1817d844ab582e9233
 xcolor.dtx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/xcolor.dtx b/xcolor.dtx
index 719614c..02ae333 100644
--- a/xcolor.dtx
+++ b/xcolor.dtx
@@ -6259,7 +6259,9 @@
 % This is to be used in contexts (e.g., `lrbox') where text is to be saved and used after some other, unknown, text that may contain color commands.
 % A matching |\color at endgroup| should be used at the end of the text.
 %    \begin{macrocode}
-\def\color at setgroup{\begingroup\set at color}
+\ExplSyntaxOn
+\def\color at setgroup{\begingroup\color_ensure_current: }
+\ExplSyntaxOff
 %    \end{macrocode}
 %  \end{macro}
 %





More information about the latex3-commits mailing list.