[latex3-commits] [git/LaTeX3-latex3-latex2e] main: color.dtx and changes from fixcolor (0a3ceb70)

David Carlisle d.p.carlisle at gmail.com
Tue Dec 14 20:00:00 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : main
Link       : https://github.com/latex3/latex2e/commit/0a3ceb7089d7d63b0405bf492c09fa819bea7412

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

commit 0a3ceb7089d7d63b0405bf492c09fa819bea7412
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Tue Dec 14 19:00:00 2021 +0000

    color.dtx and changes from fixcolor


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

0a3ceb7089d7d63b0405bf492c09fa819bea7412
 required/graphics/changes.txt |  4 ++++
 required/graphics/color.dtx   | 14 ++++++++------
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/required/graphics/changes.txt b/required/graphics/changes.txt
index 374cbd1c..fba762a9 100644
--- a/required/graphics/changes.txt
+++ b/required/graphics/changes.txt
@@ -8,6 +8,10 @@ are not part of the distribution.
 All changes above are only part of the development branch for the next release.
 ================================================================================
 
+2021-12-07  Ulrike Fischer <Ulrike.Fischer at latex-project.org>
+
+	* color.dtx: Remove stray spaces after change for xcolor/gh/10}
+
 #########################
 # 2021-11-15 Release
 #########################
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.