texlive[74812] Master/texmf-dist: coloredtheorem (1apr25)

commits+karl at tug.org commits+karl at tug.org
Tue Apr 1 21:57:38 CEST 2025


Revision: 74812
          https://tug.org/svn/texlive?view=revision&revision=74812
Author:   karl
Date:     2025-04-01 21:57:38 +0200 (Tue, 01 Apr 2025)
Log Message:
-----------
coloredtheorem (1apr25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.pdf
    trunk/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty

Modified: trunk/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty	2025-04-01 19:57:29 UTC (rev 74811)
+++ trunk/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty	2025-04-01 19:57:38 UTC (rev 74812)
@@ -12,8 +12,8 @@
 %% and version 1.3c or later is part of all distributions of LaTeX
 %% version 2006/05/20 or later.
 %%
-\def\cthfileversion{1.1.1}
-\def\cthfiledate   {2025/01/03}
+\def\cthfileversion{1.1.2}
+\def\cthfiledate   {2025/04/01}
 \edef\cthfilename  {\@currname}
 
 \ProvidesPackage{coloredtheorem}[%
@@ -36,8 +36,12 @@
   \TcbthGdef{#1name}{#2}%
   \TcbthGdef{list#1name}{List of #2s}%
   \TcbthGdef[]{#1autorefname}{#2}%
-  \AtEndPreamble{%
-      \ifdefined\crefname\expandafter\crefname\expandafter{\tcbth#1}{#2}{#2s}\fi}%
+  % \AtBeginDocument{%
+      \ifdefined\crefname
+        \expandafter\crefname\expandafter{\tcbth#1}{#2}{#2s}
+        \expandafter\Crefname\expandafter{\tcbth#1}{\MakeUppercase#2}{\MakeUppercase#2s}
+      \fi%
+      % }%
   \TcbthGdef{listof#1s}
   {%
     \ifdefined\chapter\chapter*{\csname\tcbth list#1name\endcsname}%



More information about the tex-live-commits mailing list.