[latex3-commits] [git/LaTeX3-latex3-latex2e] fixcolor: remove spurious spaces (xcolor issue 10) (375f8583)
Ulrike Fischer
fischer at troubleshooting-tex.de
Tue Dec 7 18:25:04 CET 2021
Repository : https://github.com/latex3/latex2e
On branch : fixcolor
Link : https://github.com/latex3/latex2e/commit/375f8583acc6f31e3b6029443d2092ef92cb153b
>---------------------------------------------------------------
commit 375f8583acc6f31e3b6029443d2092ef92cb153b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Dec 7 18:25:04 2021 +0100
remove spurious spaces (xcolor issue 10)
>---------------------------------------------------------------
375f8583acc6f31e3b6029443d2092ef92cb153b
required/graphics/color.dtx | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/required/graphics/color.dtx b/required/graphics/color.dtx
index 9418a124..b4b0ad10 100644
--- a/required/graphics/color.dtx
+++ b/required/graphics/color.dtx
@@ -21,7 +21,7 @@
%<driver> \ProvidesFile{color.drv}
% \fi
% \ProvidesFile{color.dtx}
- [2021/10/11 v1.3b Standard LaTeX Color (DPC)]
+ [2021/12/07 v1.3c Standard LaTeX Color (DPC)]
%
% \iffalse
%<*driver>
@@ -80,6 +80,8 @@
% {Save and restore catcodes}
% \changes{v1.3a}{2021/09/27}
% {Use \cs{@backslashchar} in preference to \cs{string} gh/659}
+% \changes{v1.3c}{2021/12/07}
+% {Remove stray spaces after change to \cs{@backslashchar} xcolor/gh/10}
%
% \begin{macrocode}
\edef\Gin at codes{%
@@ -380,7 +382,7 @@
% \begin{macrocode}
\DeclareOption{usenames}{%
\def\c at lor@usename#1{%
- \expandafter\color at named\csname\@backslashchar color @#1\endcsname{#1}}}
+ \expandafter\color at named\csname\@backslashchar color@#1\endcsname{#1}}}
% \end{macrocode}
% \end{option}
%
@@ -437,10 +439,10 @@
% Finally call |\set at color| to effect the colour change.
% \begin{macrocode}
\def\@declaredcolor#1{%
- \@ifundefined{\@backslashchar color @#1}%
+ \@ifundefined{\@backslashchar color@#1}%
{\c at lor@error{`#1'}}%
{\expandafter\let\expandafter\current at color
- \csname\@backslashchar color @#1\endcsname
+ \csname\@backslashchar color@#1\endcsname
\set at color}%
\ignorespaces}
% \end{macrocode}
@@ -550,10 +552,10 @@
\protected\def\definecolor#1#2#3{%
\@ifundefined{color@#2}%
{\c at lor@error{model `#2'}}%
- {\@ifundefined{\@backslashchar color @#1}{}%
+ {\@ifundefined{\@backslashchar color@#1}{}%
{\PackageInfo{color}{Redefining color #1}}%
\csname color@#2\expandafter\endcsname
- \csname\@backslashchar color @#1\endcsname{#3}}}
+ \csname\@backslashchar color@#1\endcsname{#3}}}
% \end{macrocode}
% \end{macro}
%
More information about the latex3-commits
mailing list.