[latex3-commits] [latex3/pdfresources] develop: adapt color at endgroup (24fa11b)

github at latex-project.org github at latex-project.org
Sun Sep 29 00:02:59 CEST 2024


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/24fa11bade9cc9f505aede1dc631859d3371f391

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

commit 24fa11bade9cc9f505aede1dc631859d3371f391
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Sep 29 00:02:59 2024 +0200

    adapt color at endgroup


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

24fa11bade9cc9f505aede1dc631859d3371f391
 CHANGELOG.md           | 2 ++
 firstaid/color-ltx.sty | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3c6a689..f09425a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,8 @@ this project uses date-based 'snapshot' version identifiers.
  - generic driver: 
    expand values of pdfauthor and similar to allow the use of commands
    
+### Fixed
+ - color-ltx.sty: adapted \color at endgroup to change in LaTeX format.
 
 ## [2024-09-13]
 Version: 2024-09-02 v0.96l
diff --git a/firstaid/color-ltx.sty b/firstaid/color-ltx.sty
index 6a13e4e..ce4f176 100644
--- a/firstaid/color-ltx.sty
+++ b/firstaid/color-ltx.sty
@@ -186,7 +186,7 @@
 \InputIfFileExists{mathcolor.ltx}{}{}
 \def\color at setgroup{\begingroup\set at color}
 \let\color at begingroup\begingroup
-\def\color at endgroup{\endgraf\endgroup}
+\def\color at endgroup{\endgraf\@endpefalse\endgroup}
 \def\color at hbox{\hbox\bgroup\color at begingroup}
 \def\color at vbox{\vbox\bgroup\color at begingroup}
 \def\color at endbox{\color at endgroup\egroup}





More information about the latex3-commits mailing list.