texlive[63477] Master/texmf-dist: thmtools (2jun22)

commits+karl at tug.org commits+karl at tug.org
Thu Jun 2 22:00:40 CEST 2022


Revision: 63477
          http://tug.org/svn/texlive?view=revision&revision=63477
Author:   karl
Date:     2022-06-02 22:00:40 +0200 (Thu, 02 Jun 2022)
Log Message:
-----------
thmtools (2jun22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/thmtools/README.md
    trunk/Master/texmf-dist/doc/latex/thmtools/VERSION.tex
    trunk/Master/texmf-dist/doc/latex/thmtools/changes.txt
    trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.pdf
    trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex
    trunk/Master/texmf-dist/source/latex/thmtools/aliasctr.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx
    trunk/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/parseargs.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thm-kv.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thm-listof.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/thmtools.sty
    trunk/Master/texmf-dist/tex/latex/thmtools/unique.sty

Modified: trunk/Master/texmf-dist/doc/latex/thmtools/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/README.md	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/README.md	2022-06-02 20:00:40 UTC (rev 63477)
@@ -12,6 +12,6 @@
 
 License: LPPL 1.3c
 
-Currently the package is maintained by Yukai Chou, muzimuzhi at gmail<span></span>.com
+Currently the package is maintained by Yukai Chou.
 
-Previous Maintainer was Ulrich M. Schwarz, ulmi at absatzen<span></span>.de
+Previous Maintainer was Ulrich M. Schwarz.

Modified: trunk/Master/texmf-dist/doc/latex/thmtools/VERSION.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/VERSION.tex	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/VERSION.tex	2022-06-02 20:00:40 UTC (rev 63477)
@@ -1 +1 @@
-\def\VERSION{2020/08/01 v0.72}
+\def\VERSION{2022/06/01 v0.73}

Modified: trunk/Master/texmf-dist/doc/latex/thmtools/changes.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/changes.txt	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/changes.txt	2022-06-02 20:00:40 UTC (rev 63477)
@@ -36,6 +36,21 @@
 
   * thm-list.dtx:
   made \listoftheorems compatible with ams classes, #6
-  
+
   * thmtools-manual.tex:
   documented new changes and keys of \listoftheorems
+
+2021-05-27 Yukai Chou <muzimuzhi at gmail.com>
+
+  * aliasctr.dtx:
+  made \@aliasctr compatible with cleveref, #22
+
+2022-06-01 Yukai Chou <muzimuzhi at gmail.com>
+
+  * aliasctr.dtx:
+  fixed wrong use of \@ifdefinable, #28
+
+2022-06-01 Yukai Chou <muzimuzhi at gmail.com>
+
+  * thm-autoref.dtx:
+  fixed non-global restoration for \cs{the\thmt at envname}, #27

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

Modified: trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex	2022-06-02 20:00:40 UTC (rev 63477)
@@ -37,6 +37,7 @@
   \hypersetup{
     colorlinks,
     linkcolor=RoyalBlue,
+    urlcolor=RoyalBlue,
     linktoc=all
   }
 \usepackage{cleveref}[2010/05/01]
@@ -159,14 +160,14 @@
 \input{VERSION.tex}
 
 \title{\Thmtools Users' Guide}
-\author{Dr. Ulrich M. Schwarz -- ulmi at absatzen.de\thanks{%
+\author{2008–2014 Dr. Ulrich M. Schwarz -- ulmi at absatzen.de\thanks{%
   who would like to thank the users for testing, encouragement, feature requests, and
   bug reports. In particular, Denis Bitouz\'e prompted further improvement
   when \thmtools got stuck in a ``good enough for me'' slump.}
   \and
-  Yukai Chou -- muzimuzhi at gmail.com
+  \rule{20pt}{0pt}2020-- Yukai Chou\rule{20pt}{0pt} % force newline
 }
-\date{\VERSION}
+\date{\VERSION\\{\small\url{https://github.com/muzimuzhi/thmtools}}}
 
 \begin{document}
   \maketitle
@@ -680,7 +681,7 @@
         For every prime $p$, there is a prime $p'>p$.
         In particular, the list of primes,
         \begin{equation}\label{eq:1}
-          2,3,45,7,\dots
+          2,3,5,7,\dots
         \end{equation}
         is infinite.
       \end{restatable}

Modified: trunk/Master/texmf-dist/source/latex/thmtools/aliasctr.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/aliasctr.dtx	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/source/latex/thmtools/aliasctr.dtx	2022-06-02 20:00:40 UTC (rev 63477)
@@ -79,7 +79,7 @@
       \csname ##2\endcsname
     }%
     \@ifundefined{c@#2}{\@nocounterr{#2}}{%
-      \@ifdefinable{c@#1}{%
+      \expandafter\@ifdefinable\csname c@#1\endcsname{%
 %    \end{macrocode}
 %    Four values make a counter foo:
 %    \begin{itemize}
@@ -93,10 +93,24 @@
         \@@gletover{c@#1}{c@#2}%
         \@@gletover{the#1}{the#2}%
 %    \end{macrocode}
-%    I don't see \@counteralias being called hundreds of times,
-%    let's just unconditionally create  |\theHctr|-macros for hyperref.
+%    I don't see |\@counteralias| being called hundreds of times,
+%    let's just unconditionally create  |\theHctr|-macros for \pkg{hyperref}.
 %    \begin{macrocode}
         \@@gletover{theH#1}{theH#2}%
+%    \end{macrocode}
+%    YkC: Compatibility with \pkg{cleveref}, copied from \pkg{cleveref}'s 
+%    support for \pkg{aliascnt}. 
+%    Here |\cref at resetby| requires its first argument to be the actual counter
+%    name, not a macro storing the name. Thanks to Willie Wong.
+%    \begin{macrocode}
+        \@ifpackageloaded{cleveref}{%
+          \edef\aliasctr at temp{%
+            \noexpand\cref at resetby{#2}{\noexpand\cref at result}}%
+          \aliasctr at temp
+          \ifx\cref at result\relax\else%
+            \cref at addtoreset{#1}{\cref at result}%
+          \fi
+        }{}%
         \@@gletover{p@#1}{p@#2}%
         \expandafter\global
         \expandafter\def\csname cl@#1\expandafter\endcsname

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx	2022-06-02 20:00:40 UTC (rev 63477)
@@ -33,7 +33,7 @@
   \ifthmt at hassibling
     \@counteralias{\thmt at envname}{\thmt at sibling}%
     \@xa\def\@xa\thmt at autoreffix\@xa{%
-      \@xa\let\csname the\thmt at envname\@xa\endcsname
+      \@xa\global\@xa\let\csname the\thmt at envname\@xa\endcsname
         \csname the\thmt at sibling\endcsname
       \def\thmt at autoreffix{}%
     }%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {aliasctr}[2020/08/01 v0.72]
+\ProvidesPackage {aliasctr}[2022/06/01 v0.73]
 \def\aliasctr at f@llow#1#2\@nil#3{%
   \ifx#1\@elt
   \noexpand #3%
@@ -58,10 +58,18 @@
       \csname ##2\endcsname
     }%
     \@ifundefined{c@#2}{\@nocounterr{#2}}{%
-      \@ifdefinable{c@#1}{%
+      \expandafter\@ifdefinable\csname c@#1\endcsname{%
         \@@gletover{c@#1}{c@#2}%
         \@@gletover{the#1}{the#2}%
         \@@gletover{theH#1}{theH#2}%
+        \@ifpackageloaded{cleveref}{%
+          \edef\aliasctr at temp{%
+            \noexpand\cref at resetby{#2}{\noexpand\cref at result}}%
+          \aliasctr at temp
+          \ifx\cref at result\relax\else%
+            \cref at addtoreset{#1}{\cref at result}%
+          \fi
+        }{}%
         \@@gletover{p@#1}{p@#2}%
         \expandafter\global
         \expandafter\def\csname cl@#1\expandafter\endcsname

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/parseargs.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/parseargs.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/parseargs.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {parseargs}[2020/08/01 v0.72]
+\ProvidesPackage {parseargs}[2022/06/01 v0.73]
 
 \newtoks\@parsespec
 \def\parse at endquark{\parse at endquark}

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-amsthm}[2020/08/01 v0.72]
+\ProvidesPackage {thm-amsthm}[2022/06/01 v0.73]
 \providecommand\thmt at space{ }
 
 \define at key{thmstyle}{spaceabove}{%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-autoref}[2020/08/01 v0.72]
+\ProvidesPackage {thm-autoref}[2022/06/01 v0.73]
 
 \RequirePackage{thm-patch, aliasctr, parseargs, keyval}
 
@@ -34,7 +34,7 @@
   \ifthmt at hassibling
     \@counteralias{\thmt at envname}{\thmt at sibling}%
     \@xa\def\@xa\thmt at autoreffix\@xa{%
-      \@xa\let\csname the\thmt at envname\@xa\endcsname
+      \@xa\global\@xa\let\csname the\thmt at envname\@xa\endcsname
         \csname the\thmt at sibling\endcsname
       \def\thmt at autoreffix{}%
     }%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-beamer}[2020/08/01 v0.72]
+\ProvidesPackage {thm-beamer}[2022/06/01 v0.73]
 \newif\ifthmt at hasoverlay
 \def\thmt at parsetheoremargs#1{%
   \parse{%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-kv.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-kv.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-kv.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-kv}[2020/08/01 v0.72]
+\ProvidesPackage {thm-kv}[2022/06/01 v0.73]
 
 \let\@xa\expandafter
 \let\@nx\noexpand

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-listof.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-listof.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-listof.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-listof}[2020/08/01 v0.72]
+\ProvidesPackage {thm-listof}[2022/06/01 v0.73]
 \let\@xa=\expandafter
 \let\@nx=\noexpand
 \RequirePackage{thm-patch,keyval,kvsetkeys}

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-llncs}[2020/08/01 v0.72]
+\ProvidesPackage {thm-llncs}[2022/06/01 v0.73]
 \@ifclasslater{llncs}{2010/04/15}{}{%
   \PackageWarningNoLine{thmtools}{%
     LLNCS.cls too old, not supported by thmtools

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-ntheorem}[2020/08/01 v0.72]
+\ProvidesPackage {thm-ntheorem}[2022/06/01 v0.73]
 
 \providecommand\thmt at space{ }
 

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-patch}[2020/08/01 v0.72]
+\ProvidesPackage {thm-patch}[2022/06/01 v0.73]
 \RequirePackage{parseargs}
 
 \newif\ifthmt at isstarred

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-restate}[2020/08/01 v0.72]
+\ProvidesPackage {thm-restate}[2022/06/01 v0.73]
 \RequirePackage{thmtools}
 \let\@xa\expandafter
 \let\@nx\noexpand

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmdef-mdframed}[2020/08/01 v0.72]
+\ProvidesPackage {thmdef-mdframed}[2022/06/01 v0.73]
 \define at key{thmdef}{mdframed}[{}]{%
   \thmt at trytwice{}{%
     \RequirePackage{mdframed}%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmdef-shaded}[2020/08/01 v0.72]
+\ProvidesPackage {thmdef-shaded}[2022/06/01 v0.73]
   \define at key{thmdef}{shaded}[{}]{%
   \thmt at trytwice{}{%
     \RequirePackage{shadethm}%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmdef-thmbox}[2020/08/01 v0.72]
+\ProvidesPackage {thmdef-thmbox}[2022/06/01 v0.73]
 \define at key{thmdef}{thmbox}[L]{%
   \thmt at trytwice{%
     \let\oldproof=\proof

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thmtools.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thmtools.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thmtools.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmtools}[2020/08/01 v0.72]
+\ProvidesPackage {thmtools}[2022/06/01 v0.73]
 \DeclareOption{debug}{%
   \def\thmt at debug{\typeout}%
 }

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/unique.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/unique.sty	2022-06-02 20:00:30 UTC (rev 63476)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/unique.sty	2022-06-02 20:00:40 UTC (rev 63477)
@@ -22,7 +22,7 @@
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {unique}[2020/08/01 v0.72]
+\ProvidesPackage {unique}[2022/06/01 v0.73]
 
 \DeclareOption{unq}{%
   \newwrite\uniq at channel



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