[latex3-commits] [git/LaTeX3-latex3-pdfresources] testbeamercolor: smuggle colors (a5cc3e4)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Jan 20 16:23:37 CET 2022


Repository : https://github.com/latex3/pdfresources
On branch  : testbeamercolor
Link       : https://github.com/latex3/pdfresources/commit/a5cc3e46d98eed2f2925a2b68d115fee58601a6f

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

commit a5cc3e46d98eed2f2925a2b68d115fee58601a6f
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Jan 20 16:23:37 2022 +0100

    smuggle colors


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

a5cc3e46d98eed2f2925a2b68d115fee58601a6f
 firstaid/beamerbasecolor-ltx.sty | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/firstaid/beamerbasecolor-ltx.sty b/firstaid/beamerbasecolor-ltx.sty
index 2a99a85..325907d 100644
--- a/firstaid/beamerbasecolor-ltx.sty
+++ b/firstaid/beamerbasecolor-ltx.sty
@@ -57,7 +57,7 @@
 
 % Joseph, https://chat.stackexchange.com/transcript/message/60198801#60198801
 \newcount\beamer at smuggle@color at cnt
-\def\bearm at smuggle@color#1#2{%
+\def\beamer at smuggle@color#1#2{%
   \global\advance\beamer at smuggle@color at cnt 1 %
   \edef\@tempa{beamer at smuggle@color@\number\beamer at smuggle@color at cnt}%
   \expandafter\xdef\csname\@tempa\endcsname
@@ -79,8 +79,8 @@
     \ifx\beamer at thc@bg\@empty\def\beamer at thc@bg{bg}\fi%
     \global\let\beamer at thc@gfg\beamer at thc@fg%
     \global\let\beamer at thc@gbg\beamer at thc@bg%
-    \bearm at smuggle@color{#1.fg}{\beamer at thc@gfg}%
-    \bearm at smuggle@color{#1.bg}{\beamer at thc@gbg}%
+    \beamer at smuggle@color{#1.fg}{\beamer at thc@gfg}%
+    \beamer at smuggle@color{#1.bg}{\beamer at thc@gbg}%
   \endgroup%
 }
 
@@ -137,6 +137,8 @@
   \begingroup%
     %\global\@namelet{\string\color@ #2.fg}{\string\color@ temp at fg}%
     %\global\@namelet{\string\color@ #2.bg}{\string\color@ temp at bg}%
+    \beamer at smuggle@color{#2.fg}{temp at fg}%
+    \beamer at smuggle@color{#2.bg}{temp at bg}%
   \endgroup%
     \colorlet{#2.fg}{temp at fg}%
     \colorlet{#2.bg}{temp at bg}%





More information about the latex3-commits mailing list.