texlive[55861] Master: thmtools (17jul20)

commits+karl at tug.org commits+karl at tug.org
Fri Jul 17 23:46:17 CEST 2020


Revision: 55861
          http://tug.org/svn/texlive?view=revision&revision=55861
Author:   karl
Date:     2020-07-17 23:46:17 +0200 (Fri, 17 Jul 2020)
Log Message:
-----------
thmtools (17jul20)

Modified Paths:
--------------
    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.tex
    trunk/Master/texmf-dist/source/latex/thmtools/aliasctr.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/parseargs.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-beamer.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-kv.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-listof.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-llncs.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-ntheorem.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-patch.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thm-restate.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thmdef-mdframed.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thmdef-shaded.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thmdef-thmbox.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thmtools.dtx
    trunk/Master/texmf-dist/source/latex/thmtools/thmtools.ins
    trunk/Master/texmf-dist/source/latex/thmtools/unique.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
    trunk/Master/tlpkg/libexec/ctan2tds

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/thmtools/README.md
    trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.pdf

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/thmtools/README
    trunk/Master/texmf-dist/doc/latex/thmtools/TODO
    trunk/Master/texmf-dist/doc/latex/thmtools/thmtools.pdf

Deleted: trunk/Master/texmf-dist/doc/latex/thmtools/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/README	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/README	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,22 +0,0 @@
-    The \thmtools\ bundle provides several packages for commonly-needed 
-    features for theorems. As designed, the bundle should work with kernel
-    theorems, the theorem package and the amsthm package.
-    
-    WARNING: Currently, things might still be a bit rough. You
-    might want to consider not relying on \thmtools\ for your Ph.D. thesis
-    masterpiece.
-    
-Provided features:
-a keyval interface to \newtheorem
-a \listoftheorem command
-hyperref/autoref compatibility
-a way of restating entire theorems with a single macro call
-
-License: LPPL 1.3c
-
-Currently the package has no maintainer ... and is looking for one!
-
-Previous Maintainer was Ulrich M. Schwarz, ulmi at absatzen.de
-
-
-$Id: README,v 1.1 2008/02/17 21:13:58 ulmi Exp ulmi $

Added: trunk/Master/texmf-dist/doc/latex/thmtools/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/README.md	2020-07-17 21:46:17 UTC (rev 55861)
@@ -0,0 +1,17 @@
+The `thmtools` bundle provides several packages for commonly-needed 
+features for theorems. As designed, the bundle should work with kernel
+theorems (theorems ‘out of the box’ with LaTeX), 
+the [`amsthm`](https://ctan.org/pkg/amsmath) package and 
+the [`ntheorem`](https://ctan.org/pkg/ntheorem) package.
+    
+Provided features:
+ - a keyval interface to `\newtheorem` and `\newtheoremstyle`
+ - a `\listoftheorem` command with filtering ability
+ - [`hyperref`](https://ctan.org/pkg/hyperref) and [`cleveref`](https://ctan.org/pkg/cleveref) compatibility
+ - a way of restating entire theorems with a single macro call
+
+License: LPPL 1.3c
+
+Currently the package is maintained by Yukai Chou, <span>muzimuzhi at gmail.com</span>
+
+Previous Maintainer was Ulrich M. Schwarz, <span>ulmi at absatzen.de</span>


Property changes on: trunk/Master/texmf-dist/doc/latex/thmtools/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/thmtools/TODO
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/TODO	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/TODO	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,3 +0,0 @@
-- ref close-by/far-away
-- complex refs
-  (these two are very similar)

Modified: trunk/Master/texmf-dist/doc/latex/thmtools/VERSION.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/VERSION.tex	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/VERSION.tex	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,2 +1 @@
-% set by hand as I don't use CVS
-\def\x #1-#2-#3 #4 v#5\@{\def\VERSION{#1/#2/#3 v#5}}\x 2019-12-22 00:00:00 +0200 v68\@
+\def\VERSION{2020/07/16 v69}

Modified: trunk/Master/texmf-dist/doc/latex/thmtools/changes.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/changes.txt	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/changes.txt	2020-07-17 21:46:17 UTC (rev 55861)
@@ -3,4 +3,10 @@
 	* thm-kv.dtx:
 	removed dependency on etexcmds package
 	
+2020-07-16 Yukai Chou <muzimuzhi at gmail.com>
 
+  * thm-restate.dtx:
+  made compatible with cleveref's \label[]{} syntax
+  
+  * thmtools-manual.tex (and comment part of dtx files):
+  refined manual

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

Index: trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.pdf	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.pdf	2020-07-17 21:46:17 UTC (rev 55861)

Property changes on: trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,4 +1,4 @@
-%&pdflatex
+% !TeX program = pdflatex
 \documentclass[paper=a4, pagesize, DIV=20,
   english, 
   headings=small,11pt,
@@ -27,10 +27,18 @@
 \usepackage{listings}
 
 \usepackage{amsmath, amsthm}
+\usepackage{enumitem}
+\setlist[description, 1]{labelindent=2em, leftmargin=2em, rightmargin=2em, labelwidth=!}
 \usepackage{tikz}
+\usetikzlibrary{tikzmark}
 
 \usepackage{nameref}
 \usepackage{hyperref}
+\hypersetup{
+  colorlinks,
+  linkcolor=RoyalBlue,
+  linktocpage
+}
 \usepackage{cleveref}[2010/05/01]
 
 \usepackage{thmtools, thm-restate}
@@ -115,11 +123,13 @@
 \input{VERSION.tex}
 
 \title{\Thmtools Users' Guide}
-\author{Dr. Ulrich M. Schwarz -- ulmi at absatzen.de\thanks{
+\author{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.
-}}
+  when \thmtools got stuck in a ``good enough for me'' slump.}
+  \and
+  Yukai Chou -- muzimuzhi at gmail.com
+}
 \date{\VERSION}
 
 \begin{document}
@@ -138,7 +148,8 @@
   \autoref{cha:reference}.
   
   \begin{multicols}{2}[\section*{\contentsname}]
-  \makeatletter\let\chapter\@gobbletwo
+  \makeatletter
+    \let\chapter\@gobbletwo
   \tableofcontents
   \end{multicols}
   \clearpage
@@ -160,13 +171,13 @@
   \begin{body}[gobble=4]
     % Document code looks like this.
     \begin{theorem}[Euclid]
-     \label{thm:euclid}%
-     For every prime $p$, there is a prime $p'>p$.
-     In particular, the list of primes,
-     \begin{equation}\label{eq:1}
-       2,3,5,7,\dots
-     \end{equation}
-     is infinite.
+      \label{thm:euclid}%
+      For every prime $p$, there is a prime $p'>p$.
+      In particular, the list of primes,
+      \begin{equation}\label{eq:1}
+        2,3,5,7,\dots
+      \end{equation}
+      is infinite.
     \end{theorem}
   \end{body}
   \end{source}
@@ -220,8 +231,8 @@
     \end{restatable}
   \end{result}
   
-  Instead of ``numberwithin='', you can also use ``parent='' and
-  ``within=''. They're all the same, use the one you find easiest to
+  Instead of |numberwithin=|, you can also use |parent=| and
+  |within=|. They're all the same, use the one you find easiest to
   remember.
   
   Note the example above looks somewhat bad: sometimes, the name of the environment, 
@@ -272,8 +283,8 @@
     \end{lemma}
   \end{result}
 
-  Again, instead of ``sibling='', you can also use ``numberlike='' and
-  ``sharecounter=''.
+  Again, instead of |sibling=|, you can also use |numberlike=| and
+  |sharecounter=|.
 
   Some theorems have a fixed name and are not supposed to get a number.
   To this end, \pkg{amsthm} provides |\newtheorem*|, which is
@@ -355,7 +366,8 @@
     \begin{preamble}[gobble=6]
       \usepackage{amsthm, thmtools}
       \usepackage{
-        nameref,%\nameref
+        % nameref,%\nameref
+        % n.b. usually nameref is autoloaded by hyperref
         hyperref,%\autoref
         % n.b. \Autoref is defined by thmtools
         cleveref,% \cref
@@ -391,6 +403,7 @@
   \end{result}
 
   \section{Styling theorems}
+  \label{sec:styling}
   
   The major backends provide a command |\theoremstyle| to switch
   between looks of theorems. This is handled as follows:
@@ -403,10 +416,11 @@
   \end{preamble}
   \begin{body}[gobble=4]
     \begin{Theorem}
-      This is a theorem.
+      Note how it still retains the default style, 
+      `plain'.
     \end{Theorem}
     \begin{remark}
-      Note how it still retains the default style, `plain'.
+      This is a remark.
     \end{remark}
   \end{body}
   \end{source}
@@ -419,7 +433,7 @@
     \end{remark}
   \end{result}
   
-  Thmtools also supports the shadethm and thmbox packages:
+  Thmtools also supports the \pkg{shadethm} and \pkg{thmbox} packages:
   \begin{source}
   \begin{preamble}[gobble=4]
     \usepackage{amsthm}
@@ -457,9 +471,9 @@
   start with a curly brace, in which case it is assumed that
   |\definecolor{colorname}|$\langle$\textsl{what you said}$\rangle$ will be
   valid \LaTeX\ code. In our case, we use the rbg model to manually specify
-  white. (Shadethm's default value is some sort of gray.)
+  white. (|shadethm|'s default value is {\fboxsep=0pt \fcolorbox{black}[gray]{0.92}{\phantom{XX}}} |[gray]{0.92}|)
   
-  For the thmbox package, use the thmbox key:
+  For the \pkg{thmbox} package, use the |thmbox| key:
   \begin{source}
   \begin{preamble}[gobble=4]
     \usepackage{amsthm}
@@ -498,7 +512,7 @@
     \end{boxtheorem S}
   \end{result}
 
-  Note that for both thmbox and shaded keys, it's quite possible they will not
+  Note that for both |thmbox| and |shaded| keys, it's quite possible they will not
   cooperate with a style key you give at the same time.
 
   \subsection{Declaring new theoremstyles}
@@ -539,52 +553,62 @@
   more keys you can pass to |\declaretheoremstyle|: if \thmtools\ cannot
   figure out at all what to do with it, it will pass it on to the
   |\declaretheorem| commands that use that style. For example, you may use
-  the boxed and shaded keys here.
+  the |boxed| and |shaded| keys here.
   
   To change the order in which title, number and note appear, there is a key
-  headformat. Currently, the values ``margin'' and ``swapnumber'' are
+  |headformat|. Currently, the values ``margin'' and ``swapnumber'' are
   supported. The daring may also try to give a macro here that uses the
   commands |\NUMBER|, |\NAME| and |\NOTE|. 
   You cannot circumvent the fact
-  that headpunct comes at the end, though, nor the fonts and braces you
+  that |headpunct| comes at the end, though, nor the fonts and braces you
   select with the other keys.
   
-  \begin{figure}\centering
-    % please don't make me touch this picture ever again.
-    \fbox{
-    \begin{minipage}{0.618\textwidth}\Large
-    \tikzset{font=\normalfont\small\sffamily\itshape,y=12pt,>=latex}
-    \noindent which resulted in the following insight:
-    \par
-    \tikz{\draw[|<->|] (0,-1)--(0,1); 
-      \draw[anchor=west] (0,0) node {spaceabove};}
-    \par
-    \tikz{\draw[|<->|] (-1,0)--(1,0); 
-      \draw[anchor=south] (0,0) node {headindent};}
-    \textbf{Theo%
-    \smash{\clap{\tikz{\draw (0,0)--(0,1.2) node [anchor=south]{headfont};}}}%
-      rem 1.2 
-      (\smash{\rlap{\tikz{\draw (0,0)--(0,2.5) node [anchor=base west]{notebraces};}}}%
-       Euc%
-\smash{\clap{\tikz{\draw (0,0)--(0,1.2) node [anchor=south]{notefont};}}}%
-       lid)%
-      .\smash{\rlap{\tikz{\draw (0,0)--(0,1.2) node [anchor=south west]{headpunct};}}}}%
-      \tikz{\draw[|<->|] (-1,0)--(1,0); 
-      \draw[anchor=south] (0,0) node {postheadspace};}
-    For every prime $p$, there is a prime $p'>p$.
-    In particular, the list of primes,
-    $2,3,5,7,\dots$,
-    is infinite.
-   \hfill{\tikz{\draw[anchor=north east] (0,0) node{qed}; }}$\Box$
-    \par
-    \tikz{\draw[|<->|] (0,-1)--(0,1); 
-      \draw[anchor=west] (0,0) node {spacebelow};}
-    \par
-   
-   As a consequence, lorem ipsum dolor sit amet frob-%nicate foo
-%   paret.
-  \end{minipage}
-  }
+  \begin{figure}
+    \centering
+    \fbox{%
+    \begin{tikzpicture}[
+      remember picture,
+      >=latex,
+      nodes={
+        font=\normalfont\sffamily\itshape\small,
+        RoyalBlue
+      },
+      every subnode/.style={
+        inner sep=0pt
+      },
+      tip/.style={|<->|}
+    ]
+      \node[black, font=\Large, text width=.618\textwidth, align=justify] 
+      {%
+        which resulted in the following insight: \\
+        \subnode{space above}{\rule{0pt}{1.3\baselineskip}} \\
+        \subnode{head indent}{\strut\hspace*{4em}}
+        \textbf{%
+          \subnode{head}{Theorem} 1.2 
+          \subnode{note brace}{(}%
+          \subnode{note}{\textit{Euclid}})%
+          \subnode{head punct}{.} %
+        }
+        \subnode{post head space}{\strut\hspace*{4.5em}}
+        For every prime~$p$, there is a prime~$p'>p$. In particular, the list 
+        of primes, $2,3,5,7,\dots$, is infinite. \hfill
+        \subnode{qed}{$\Box$} \\
+        \subnode{space below}{\rule{0pt}{1.3\baselineskip}} \\
+        As a consequence, lorem ipsum dolor sit amet frob-%nicate foo
+        %   paret.
+      };
+      
+      \draw[tip] (space above.south west) -- node[right] {spaceabove} (space above.north west);
+      \draw[tip] (head indent.west) -- node[above] {headindent} (head indent.east);
+      \draw (head.center) -- +(0, 10pt) node[above] {headfont};
+      \draw (note brace.north) -- +(0, 20pt) node[above] {notebraces};
+      \draw (note.center) -- +(0, 10pt) node[above] {notefont};
+      \draw (head punct.base east) -- +(0, 28pt) node[above] {headpunct};
+      \draw[tip] (post head space.west) -- node[above] {postheadspace} (post head space.east);
+      \node at ([xshift=-12pt]qed.150) {qed};
+      \draw[tip] (space below.south west) -- node[right] {spacebelow} (space below.north west);
+    \end{tikzpicture}%
+    }
     \caption{Settable parameters of a theorem style.}
     \label{fig:params}
   \end{figure}
@@ -631,7 +655,7 @@
   mechanism, so that this reference: \autoref{thm:euclid} points to
   p.\,\pageref{thm:euclid}, where the unstarred environment is used. (You can
   also use a starred environment and an unstarred command, in which case the
-  behaviour is reversed.) Also, if you use \pkg{hyperref}, the links will lead you
+  behaviour is reversed.) Also, if you use \pkg{hyperref} (like you see in this manual), the links will lead you
   to the unstarred occurence.
   
   Just to demonstrate that we also handle more involved cases, I repeat
@@ -638,7 +662,7 @@
   another theorem here, but this one was numbered within its section: note
   we retain the section number which does not fit the current section:
   \begin{source}
-    \begin{body}
+    \begin{body}[gobble=6]
       \euclidii*
     \end{body}
   \end{source}
@@ -678,7 +702,7 @@
   
   And you can also restrict to those environments that have an optional
   argument given. Note that two theorems disappear compared to the previous
-  example. You could also say just ``onlynamed'', in which case it will
+  example. You could also say just |onlynamed|, in which case it will
   apply to \emph{all} theorem environments you have defined.
   \begin{source}
     \begin{body}[gobble=6]
@@ -705,13 +729,16 @@
     \emph{optional} argument, which will go into the list of theorems. Be
     aware that since we already are within an optional argument, you have to
     use an extra level of curly braces:
-    |\begin{theorem}[{name=[Short name]A long name,...}]|
+    |\begin{theorem}[name={[Short name]A long name,...]}|
+    
     \item[label] This will issue a |\label| command after the head. Not very
     useful, more of a demo.
+    
     \item[continues] Saying |continues=foo| will cause the number that is
     given to be changed to |\ref{foo}|, and a text is added to the note.
     (The exact text is given by the macro |\thmcontinues|, which takes the
     label as its argument.)
+    
     \item[restate] Saying |restate=foo| will hopefully work like
     wrapping this theorem in a restatable environment. (It probably still fails
     in cases that I didn't think of.) This key also accepts an optional
@@ -766,8 +793,8 @@
   |...postheadhook|, |...prefoothook|
   and |...postfoothook|.
   All of these take an \emph{optional} argument, the name of the
-  environment, and the new code as a mandatory argument. The environment is 
-  optional because there  is also a set of ``generic'' hooks added to every
+  environment, and the new code as a mandatory argument. The name of environment is 
+  optional because there is also a set of ``generic'' hooks added to every
   theorem that you define.
   
   The other way is to use the keys |preheadhook| et al. in your
@@ -796,9 +823,9 @@
   handling itself is added as part of the headkeys.)
 
 
-  \section{Case in point: the shaded key}
+  \section{Case in point: the \texttt{shaded} key}
   
-  Let us look at a reasonably simple example: the shaded key, which we've
+  Let us look at a reasonably simple example: the |shaded| key, which we've
   already seen in the first section. You'll observe that we run into a
   problem similar to the four-hook mess: your code may either want to modify
   parameters that need to be set beforehand, or it wants to modify the 
@@ -826,8 +853,8 @@
   using internal macros with @ in their name (viz.,
   |\thmt at envname| and friends). You can also put them into a
   package (then, without the |\makeat...|), 
-  which is simply a file ending in .sty put somewhere that \LaTeX\ can find
-  it, which can then be laoded with |\usepackage|.
+  which is simply a file ending in |.sty| put somewhere that \LaTeX\ can find
+  it, which can then be loaded with |\usepackage|.
   To find out where exactly that is, and if you'd need to update
   administrative helper files such as a filename database FNDB, 
   please consult the documentation of your \TeX\ distribution.
@@ -912,7 +939,8 @@
     Additionally, a number of keywords are allowed here instead of \LaTeX\
     code:
     \begin{description}
-      \item[margin] Lets the number protude in the (left) margin.
+      \item[margin] Lets the number protrude in the (left) margin.
+      
       \item[swapnumber] Puts the number before the name. Currently
       not working so well for unnumbered theorems.
       \item[] \emph{This list is likely to grow}
@@ -932,16 +960,10 @@
     |section|.
 
   \key{numberwithin}
-    Value: a counter name. The theorem will be reset whenever that counter
-    is incremented. Usually, this will be a sectioning level, |chapter| or
-    |section|.
-    (Same as parent.)
+    (Same as |parent|.)
 
   \key{within}
-    Value: a counter name. The theorem will be reset whenever that counter
-    is incremented. Usually, this will be a sectioning level, |chapter| or
-    |section|.
-    (Same as parent.)
+    (Same as |parent|.)
 
   
   \key{sibling}
@@ -949,31 +971,21 @@
     Usually, this is the name of another theorem environment.
     
   \key{numberlike}
-    Value: a counter name. The theorem will use this counter for numbering.
-    Usually, this is the name of another theorem environment.
-    (Same as sibling.)
+    (Same as |sibling|.)
   
   \key{sharenumber}
-    Value: a counter name. The theorem will use this counter for numbering.
-    Usually, this is the name of another theorem environment.
-    (Same as sibling.)
+    (Same as |sibling|.)
 
   
   \key{title}
     Value: \TeX\ code. The title of the theorem. Default is the name of the
     environment, with |\MakeUppercase| prepended. You'll have to give
-    this if your title starts with a accented character, for example.
+    this if your title starts with an accented character, for example.
 
   \key{name}
-    Value: \TeX\ code. The title of the theorem. Default is the name of the
-    environment, with |\MakeUppercase| prepended. You'll have to give
-    this if your title starts with a accented character, for example.
     (Same as title.)
 
   \key{heading}
-    Value: \TeX\ code. The title of the theorem. Default is the name of the
-    environment, with |\MakeUppercase| prepended. You'll have to give
-    this if your title starts with a accented character, for example.
     (Same as title.)
   
   \key{numbered}
@@ -1009,14 +1021,14 @@
     group defined by the environment.
   
   \key{refname}
-    Value: one string, or two string separated by a comma (no spaces). This
+    Value: one string, or two strings separated by a comma (no spaces). This
     is the name of the theorem as used by |\autoref|, |\cref| and friends. If it is
     two strings, the second is the plural form used by |\cref|. Default
     value is the value of |name|, i.e. usually the environment name, with
-    \MakeUppercase.
+    |\MakeUppercase| prepended.
 
   \key{Refname}
-    Value: one string, or two string separated by a comma (no spaces). This
+    Value: one string, or two strings separated by a comma (no spaces). This
     is the name of the theorem as used by |\Autoref|, |\Cref| and friends. If it is
     two strings, the second is the plural form used by |\Cref|. This can be
     used for alternate spellings, for example if your style requests no
@@ -1041,7 +1053,7 @@
     \end{description}
   
   \key{thmbox}
-    Value: one of the characters L, M and S; see examples above.
+    Value: one of the characters |L|, |M| and |S|; see examples in \autoref{sec:styling}.
   
 
   \section{Known keys to in-document theorems}
@@ -1053,16 +1065,16 @@
   \key{name} Value: \TeX\ code that will be typeset.
   What you would have put in the optional argument in the
   non-keyval style, i.e. the note to the head. This is \emph{not} the same
-  as the name key to |\declaretheorem|, you cannot override that from within
+  as the |name| key to |\declaretheorem|, you cannot override that from within
   the document.
   
   \key{listhack} Value: doesn't matter. (But put something to trigger
-  key-val behaviour, maybe listhack=true.) Linebreak styles in \pkg{amsthm}
+  key-val behaviour, maybe |listhack=true|.) Linebreak styles in \pkg{amsthm}
   don't linebreak if they start with another list, like an |enumerate|
   environment. Giving the |listhack| key fixes that. \emph{Don't} give this
   key for non-break styles, you'll get too little vertical space! (Just use
   |\leavevmode| manually there.)
-  An all-around listhack that handles both situations might come in a
+  An all-around |listhack| that handles both situations might come in a
   cleaner rewrite of the style system.
 
   \section{Restatable -- hints and caveats}
@@ -1071,7 +1083,7 @@
   \begin{itemize}
     \item Some counters are saved so that the same values appear when you
     re-use them. The list of these counters is stored in the macro
-    |\thmt at innercounters| as a comma-separated list without spaces; default: equation.
+    |\thmt at innercounters| as a comma-separated list without spaces; default: |equation|.
 
     \item To preserve the influence of other counters (think: equation
     numbered per section and recall the theorem in another section), we need
@@ -1078,7 +1090,7 @@
     to know all macros that are used to turn a counter into printed output.
     Again, comma-separated list without spaces, without leading backslash, stored as
     |\thmt at counterformatters|. Default:
-    |@alph, at Alph, at arabic, at roman, at Roman, at fnsymbol|
+    |@alph, at Alph, at arabic, at roman, at Roman, at fnsymbol|.
     All these only take
     the \LaTeX\ counter |\c at foo| as arguments. If you bypass this and use
     |\romannumeral|, your numbers go wrong and you get what you deserve.
@@ -1101,7 +1113,7 @@
 
   \chapter{\Thmtools for the morbidly curious}\label{cha:sourcecode}
 
-  This chapter consists of the implementation of Thmtools, in case you
+  This chapter consists of the implementation of \thmtools, in case you
   wonder how this or that feature was implemented. Read on if you want a
   look under the bonnet, but you enter at your own risk, and bring an oily
   rag with you.
@@ -1123,18 +1135,18 @@
   \subsection{Re-using environments}
   \DocInput{thm-restate.dtx}
 
-  \subsection{Fixing autoref and friends}  
+  \subsection{Fixing \texttt{autoref} and friends}  
   \DocInput{thm-autoref.dtx}
 
   \section{Glue code for different backends}
   
-  \subsection{amsthm}
+  \subsection{\texttt{amsthm}}
   \DocInput{thm-amsthm.dtx}
 
-  \subsection{beamer}
+  \subsection{\texttt{beamer}}
   \DocInput{thm-beamer.dtx}
 
-  \subsection{ntheorem}
+  \subsection{\texttt{ntheorem}}
   \DocInput{thm-ntheorem.dtx}
   
   \section{Generic tools}
@@ -1145,7 +1157,7 @@
   \subsection{Different counters sharing the same register}
   \DocInput{aliasctr.dtx}
   
-  \subsection{Tracking occurences: none, one or many}
+  \subsection{Tracking occurrences: none, one or many}
   \DocInput{unique.dtx}
 
   

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

Modified: trunk/Master/texmf-dist/source/latex/thmtools/aliasctr.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/aliasctr.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/aliasctr.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,10 +1,13 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2005-7 by Ulrich M. Schwarz
+% Copyright (C) 2005-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
 %
 % This file may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3a. The full license text 
-% is available from http://www.latex-project.org/
+% the LaTeX Project Public License, version 1.3c.
+% The license can be obtained from
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %
 %<*code>
 % \fi

Modified: trunk/Master/texmf-dist/source/latex/thmtools/parseargs.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/parseargs.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/parseargs.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,11 +1,13 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2008 by Ulrich M. Schwarz
+% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
 %
 % This file may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3a.
+% the LaTeX Project Public License, version 1.3c.
 % The license can be obtained from
-% http://www.latex-project.org/lppl/lppl-1-3a.txt
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %
 % \fi
 %

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,7 +1,14 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2010 by Ulrich M. Schwarz
-% See file COPYING for more details.
+% Copyright (C) 2010-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
+%
+% This file may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, version 1.3c.
+% The license can be obtained from
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%
 %\fi
 %
 %\iffalse (hide this from DocInput)

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,11 +1,13 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2008 by Ulrich M. Schwarz
+% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
 %
 % This file may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3a.
+% the LaTeX Project Public License, version 1.3c.
 % The license can be obtained from
-% http://www.latex-project.org/lppl/lppl-1-3a.txt
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %
 % \fi
 %

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-beamer.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-beamer.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-beamer.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,7 +1,14 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2010 by Ulrich M. Schwarz
-% See file COPYING for more details.
+% Copyright (C) 2010-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
+%
+% This file may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, version 1.3c.
+% The license can be obtained from
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%
 %\fi
 %
 %\iffalse (hide this from DocInput)

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-kv.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-kv.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-kv.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,11 +1,13 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2008 by Ulrich M. Schwarz
+% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
 %
 % This file may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3a.
+% the LaTeX Project Public License, version 1.3c.
 % The license can be obtained from
-% http://www.latex-project.org/lppl/lppl-1-3a.txt
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %
 % \fi
 %

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-listof.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-listof.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-listof.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,11 +1,13 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2008 by Ulrich M. Schwarz
+% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
 %
 % This file may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3a.
+% the LaTeX Project Public License, version 1.3c.
 % The license can be obtained from
-% http://www.latex-project.org/lppl/lppl-1-3a.txt
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %
 % \fi
 %

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-llncs.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-llncs.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-llncs.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,7 +1,14 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2010 by Ulrich M. Schwarz
-% See file COPYING for more details.
+% Copyright (C) 2010-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
+%
+% This file may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, version 1.3c.
+% The license can be obtained from
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%
 %\fi
 %
 %\iffalse (hide this from DocInput)

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-ntheorem.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-ntheorem.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-ntheorem.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,7 +1,14 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2010 by Ulrich M. Schwarz
-% See file COPYING for more details.
+% Copyright (C) 2010-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
+%
+% This file may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, version 1.3c.
+% The license can be obtained from
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%
 %\fi
 %
 %\iffalse (hide this from DocInput)

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-patch.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-patch.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-patch.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,11 +1,13 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2008 by Ulrich M. Schwarz
+% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
 %
 % This file may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3a.
+% the LaTeX Project Public License, version 1.3c.
 % The license can be obtained from
-% http://www.latex-project.org/lppl/lppl-1-3a.txt
+% http://www.latex-project.org/lppl/lppl-1.3c.txt
 %
 % \fi
 %

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thm-restate.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thm-restate.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thm-restate.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,11 +1,13 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2008 by Ulrich M. Schwarz
+% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
 %
 % This file may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3a.
+% the LaTeX Project Public License, version 1.3c.
 % The license can be obtained from
-% http://www.latex-project.org/lppl/lppl-1-3a.txt
+% http://www.latex-project.org/lppl/lppl-1.3c.txt
 %
 % \fi
 %
@@ -224,7 +226,7 @@
         \@xa\let\csname c@#2\endcsname=\c at thmt@dummyctr
         \@xa\let\csname theH#2\endcsname=\theHthmt at dummyctr
         % disable labeling.
-        \let\label=\@gobble
+        \let\label=\thmt at gobble@label
         \let\ltx at label=\@gobble% amsmath needs this
         % We shall need to restore the counters at the end
         % of the environment, so we get
@@ -268,6 +270,14 @@
   %% now empty, just used as a marker.
 }
 
+\let\thmt at gobble@label\@gobble
+% cleveref extends syntax of \label to \label[...]{...}
+\AtBeginDocument{
+  \@ifpackageloaded{cleveref}{
+    \renewcommand*\thmt at gobble@label[2][]{}
+  }{}
+}
+
 \newenvironment{restatable}{%
   \thmt at thisistheonetrue\thmt at restatable
 }{%

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thmdef-mdframed.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thmdef-mdframed.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thmdef-mdframed.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,7 +1,14 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2010 by Ulrich M. Schwarz
-% See file COPYING for more details.
+% Copyright (C) 2010-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
+%
+% This file may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, version 1.3c.
+% The license can be obtained from
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%
 %\fi
 %
 %\iffalse (hide this from DocInput)
@@ -8,7 +15,7 @@
 %<*mdframed>
 %\fi
 %
-% Mostly, this key wraps the theorem in a mdframed environment.
+% Mostly, this key wraps the theorem in a |mdframed| environment.
 % The parameters are set by treating the value we are given as
 % a new key-val list, see below.
 %
@@ -20,7 +27,7 @@
     \addtotheorempreheadhook[\thmt at envname]{%
       \begin{mdframed}[#1]}%
     \addtotheorempostfoothook[\thmt at envname]{\end{mdframed}}%
-    }%
+  }%
 }
 %    \end{macrocode}
 %\iffalse (hide this from DocInput)

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thmdef-shaded.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thmdef-shaded.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thmdef-shaded.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,7 +1,14 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2010 by Ulrich M. Schwarz
-% See file COPYING for more details.
+% Copyright (C) 2010-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
+%
+% This file may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, version 1.3c.
+% The license can be obtained from
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%
 %\fi
 %
 %\iffalse (hide this from DocInput)
@@ -8,7 +15,7 @@
 %<*shaded>
 %\fi
 %
-% Mostly, this key wraps the theorem in a shadebox environment.
+% Mostly, this key wraps the theorem in a |shadebox| environment.
 % The parameters are set by treating the value we are given as
 % a new key-val list, see below.
 %
@@ -24,20 +31,20 @@
     }%
   }
 %    \end{macrocode}
-% The docs for shadethm say:
+% The docs for |shadethm| say:
 % \begin{quote}
 %   There are some parameters you could set the default for (try them as is,
 % first).
 % \begin{itemize}
-%    \item shadethmcolor  The shading color of the background.  See the
+%    \item |shadethmcolor|\quad  The shading color of the background.  See the
 %      documentation for the color package, but with a `gray' model, I find .97
 %      looks good out of my printer, while a darker shade like .92 is needed
 %      to make it copy well.  (Black is  0, white is 1.)
-%    \item shaderulecolor  The shading color of the border of the shaded box.
+%    \item |shaderulecolor|\quad  The shading color of the border of the shaded box.
 %      See (i).  If shadeboxrule is set to 0pt then this won't print anyway.
-%    \item shadeboxrule  The width of the border around the shading.  Set it to
+%    \item |shadeboxrule|\quad  The width of the border around the shading.  Set it to
 %      0pt (not just 0) to make it disappear.
-%    \item shadeboxsep  The length by which the shade box surrounds the text.
+%    \item |shadeboxsep|\quad  The length by which the shade box surrounds the text.
 % \end{itemize}
 % \end{quote}
 %
@@ -44,25 +51,25 @@
 % So, let's just define keys for all of these.
 %
 %    \begin{macrocode}
-\define at key{thmt at shade}{textwidth}{\setlength\shadedtextwidth{#1}}
-\define at key{thmt at shade}{bgcolor}{\thmt at definecolor{shadethmcolor}{#1}}
-\define at key{thmt at shade}{rulecolor}{\thmt at definecolor{shaderulecolor}{#1}}
-\define at key{thmt at shade}{rulewidth}{\setlength\shadeboxrule{#1}}
-\define at key{thmt at shade}{margin}{\setlength\shadeboxsep{#1}}
-\define at key{thmt at shade}{padding}{\setlength\shadeboxsep{#1}}
-\define at key{thmt at shade}{leftmargin}{\setlength\shadeleftshift{#1}}
+\define at key{thmt at shade}{textwidth}  {\setlength\shadedtextwidth{#1}}
+\define at key{thmt at shade}{bgcolor}    {\thmt at definecolor{shadethmcolor}{#1}}
+\define at key{thmt at shade}{rulecolor}  {\thmt at definecolor{shaderulecolor}{#1}}
+\define at key{thmt at shade}{rulewidth}  {\setlength\shadeboxrule{#1}}
+\define at key{thmt at shade}{margin}     {\setlength\shadeboxsep{#1}}
+\define at key{thmt at shade}{padding}    {\setlength\shadeboxsep{#1}}
+\define at key{thmt at shade}{leftmargin} {\setlength\shadeleftshift{#1}}
 \define at key{thmt at shade}{rightmargin}{\setlength\shaderightshift{#1}}
 %    \end{macrocode}
 %
 % What follows is wizardry you don't have to understand. In essence,
 % we want to support two notions of color: one is ``everything that goes
-% after \lstinline|\definecolor{shadethmcolor}|'', such as 
-% \lstinline|{rgb}{0.8,0.85,1}|. On the other hand, we'd also like
-% to recognize an already defined color name such as \lstinline|blue|.
+% after |\definecolor{shadethmcolor}|'', such as 
+% |{rgb}{0.8,0.85,1}|. On the other hand, we'd also like
+% to recognize an already defined color name such as |blue|.
 %
 % To handle the latter case, we need to copy the definition of one color
-% into another. The xcolor package offers \lstinline|\colorlet| for that, 
-% for the color package, we just cross our fingers.
+% into another. The \pkg{xcolor} package offers |\colorlet| for that, 
+% for the \pkg{color} package, we just cross our fingers.
 %    \begin{macrocode}
 \def\thmt at colorlet#1#2{%
   %\typeout{don't know how to let color `#1' be like color `#2'!}%
@@ -78,19 +85,19 @@
 %    \end{macrocode}
 % Now comes the interesting part: we assume that a simple color name
 % must not be in braces, and a color definition starts with an opening
-% curly brace. (So, if \lstinline|\definecolor| ever gets an optional arg,
+% curly brace. (So, if |\definecolor| ever gets an optional arg,
 % we are in a world of pain.)
 %
-% If the second argument to \lstinline|\thmt at definecolor| (the key) starts
+% If the second argument to |\thmt at definecolor| (the key) starts
 % with a brace,
-% then \lstinline|\thmt at def@color| will have an empty second argument,
+% then |\thmt at def@color| will have an empty second argument,
 % delimited by the brace of the key. Hopefully, the key will have exactly
-% enough arguments to satisfy \lstinline|\definecolor|. Then, 
-% \lstinline|thmt at drop@relax| will be executed and gobble the fallback
-% values and the \lstinline|\thmt at colorlet|.
+% enough arguments to satisfy |\definecolor|. Then, 
+% |thmt at drop@relax| will be executed and gobble the fallback
+% values and the |\thmt at colorlet|.
 %
-% If the key does not contain an opening brace, \lstinline|\thmt at def@color|
-% will drop everything up to \lstinline|{gray}{0.5}|. So, first the color
+% If the key does not contain an opening brace, |\thmt at def@color|
+% will drop everything up to |{gray}{0.5}|. So, first the color
 % gets defined to a medium gray, but then, it immediately gets overwritten
 % with the definition corresponding to the color name.
 %    \begin{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thmdef-thmbox.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thmdef-thmbox.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thmdef-thmbox.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,33 +1,40 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2010 by Ulrich M. Schwarz
-% See file COPYING for more details.
+% Copyright (C) 2010-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
+%
+% This file may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, version 1.3c.
+% The license can be obtained from
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%
 %\fi
 %
 %\iffalse (hide this from DocInput)
 %<*thmbox>
 %\fi
-% The thmbox package does something else: instead of having a separate
+% The \pkg{thmbox} package does something else: instead of having a separate
 % environment, we have to use a command different from
-% \lstinline|\newtheorem| to get the boxed style. Fortunately,
-% \thmtools stores the command as \lstinline|\thmt at theoremdefiner|, so we
+% |\newtheorem| to get the boxed style. Fortunately,
+% \thmtools stores the command as |\thmt at theoremdefiner|, so we
 % can modify it. (One of the perks if extension writer and framework writer
 % are the same person.) So, in contrast to the previous example, this time
-% we need to do something before the actual \lstinline|\newtheorem| is
+% we need to do something before the actual |\newtheorem| is
 % called.
 %    \begin{macrocode}
 \define at key{thmdef}{thmbox}[L]{%
   \thmt at trytwice{%
-  \let\oldproof=\proof
-  \let\oldendproof=\endproof
-  \let\oldexample=\example
-  \let\oldendexample=\endexample
-  \RequirePackage[nothm]{thmbox}
-  \let\proof=\oldproof
-  \let\endproof=\oldendproof
-  \let\example=\oldexample
-  \let\endexample=\oldendexample
-  \def\thmt at theoremdefiner{\newboxtheorem[#1]}%
+    \let\oldproof=\proof
+    \let\oldendproof=\endproof
+    \let\oldexample=\example
+    \let\oldendexample=\endexample
+    \RequirePackage[nothm]{thmbox}
+    \let\proof=\oldproof
+    \let\endproof=\oldendproof
+    \let\example=\oldexample
+    \let\endexample=\oldendexample
+    \def\thmt at theoremdefiner{\newboxtheorem[#1]}%
   }{}%
 }%
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thmtools.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thmtools.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thmtools.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,11 +1,13 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2008 by Ulrich M. Schwarz
+% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
 %
 % This file may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3a.
+% the LaTeX Project Public License, version 1.3c.
 % The license can be obtained from
-% http://www.latex-project.org/lppl/lppl-1-3a.txt
+% http://www.latex-project.org/lppl/lppl-1.3c.txt
 %
 % \fi
 %

Modified: trunk/Master/texmf-dist/source/latex/thmtools/thmtools.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/thmtools.ins	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/thmtools.ins	2020-07-17 21:46:17 UTC (rev 55861)
@@ -11,36 +11,39 @@
 This is a generated file.
 
 This file is part of the `thmtools' package.
-The `thmtools' package has the LPPL maintenance status: unmaintained.
+The `thmtools' package has the LPPL maintenance status: maintained.
+Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 
-Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+Copyright (C) 2008-2014 by Ulrich M. Schwarz
+Copyright (C) 2019      by Frank Mittelbach
+Copyright (C) 2020-     by Yukai Chou
 
 This file may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, version 1.3a. 
+conditions of the LaTeX Project Public License, version 1.3c. 
 This version is obtainable at
-http://www.latex-project.org/lppl/lppl-1-3a.txt
+http://www.latex-project.org/lppl/lppl-1-3c.txt
 
 ^^J\noexpand\noexpand\noexpand\NeedsTeXFormat{LaTeX2e}^^J\noexpand\noexpand\noexpand\ProvidesPackage{\noexpand\expandafter\noexpand\dropext\outFileName\relax}[\VERSION]
 \endpreamble
 
 \generate{%
-          \file{thmtools.sty}{\from{thmtools.dtx}{thmtools}}
-	  \file{thm-restate.sty}{\from{thm-restate.dtx}{restate}}
-	  \file{thm-patch.sty}{\from{thm-patch.dtx}{patch}}
-          \file{thm-autoref.sty}{\from{thm-autoref.dtx}{autoref}}
-          \file{thm-listof.sty}{\from{thm-listof.dtx}{listof}}
-          \file{thm-kv.sty}{\from{thm-kv.dtx}{kv}}
-          \file{parseargs.sty}{\from{parseargs.dtx}{parseargs}}
-          \file{aliasctr.sty}{\from{aliasctr.dtx}{code}}
-          \file{unique.sty}{\from{unique.dtx}{code}}
-          \file{thm-amsthm.sty}{\from{thm-amsthm.dtx}{amsthm}}
-          \file{thm-ntheorem.sty}{\from{thm-ntheorem.dtx}{ntheorem}}
-          \file{thm-beamer.sty}{\from{thm-beamer.dtx}{beamer}}
-          \file{thm-llncs.sty}{\from{thm-llncs.dtx}{llncs}}
-          \file{thmdef-shaded.sty}{\from{thmdef-shaded.dtx}{shaded}}
-          \file{thmdef-thmbox.sty}{\from{thmdef-thmbox.dtx}{thmbox}}
-          \file{thmdef-mdframed.sty}{\from{thmdef-mdframed.dtx}{mdframed}}
-         }
+    \file{thmtools.sty}       {\from{thmtools.dtx}{thmtools}}
+    \file{thm-restate.sty}    {\from{thm-restate.dtx}{restate}}
+    \file{thm-patch.sty}      {\from{thm-patch.dtx}{patch}}
+    \file{thm-autoref.sty}    {\from{thm-autoref.dtx}{autoref}}
+    \file{thm-listof.sty}     {\from{thm-listof.dtx}{listof}}
+    \file{thm-kv.sty}         {\from{thm-kv.dtx}{kv}}
+    \file{parseargs.sty}      {\from{parseargs.dtx}{parseargs}}
+    \file{aliasctr.sty}       {\from{aliasctr.dtx}{code}}
+    \file{unique.sty}         {\from{unique.dtx}{code}}
+    \file{thm-amsthm.sty}     {\from{thm-amsthm.dtx}{amsthm}}
+    \file{thm-ntheorem.sty}   {\from{thm-ntheorem.dtx}{ntheorem}}
+    \file{thm-beamer.sty}     {\from{thm-beamer.dtx}{beamer}}
+    \file{thm-llncs.sty}      {\from{thm-llncs.dtx}{llncs}}
+    \file{thmdef-shaded.sty}  {\from{thmdef-shaded.dtx}{shaded}}
+    \file{thmdef-thmbox.sty}  {\from{thmdef-thmbox.dtx}{thmbox}}
+    \file{thmdef-mdframed.sty}{\from{thmdef-mdframed.dtx}{mdframed}}
+}
 \Msg{*********************************************************}
 \Msg{*}
 \Msg{* To finish the installation you have to move the}

Modified: trunk/Master/texmf-dist/source/latex/thmtools/unique.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thmtools/unique.dtx	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/source/latex/thmtools/unique.dtx	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1,11 +1,13 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2005-8 by Ulrich M. Schwarz
+% Copyright (C) 2005-2014 by Ulrich M. Schwarz
+% Copyright (C) 2019      by Frank Mittelbach
+% Copyright (C) 2020-     by Yukai Chou
 %
 % This file may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3a.
+% the LaTeX Project Public License, version 1.3c.
 % The license can be obtained from
-% http://www.latex-project.org/lppl/lppl-1-3a.txt
+% http://www.latex-project.org/lppl/lppl-1.3c.txt
 %
 % \fi
 %

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {aliasctr}[2019/12/22 v68]
+\ProvidesPackage {aliasctr}[2020/07/16 v69]
 \def\aliasctr at f@llow#1#2\@nil#3{%
   \ifx#1\@elt
   \noexpand #3%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/parseargs.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/parseargs.sty	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/parseargs.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {parseargs}[2019/12/22 v68]
+\ProvidesPackage {parseargs}[2020/07/16 v69]
 
 \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	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-amsthm}[2019/12/22 v68]
+\ProvidesPackage {thm-amsthm}[2020/07/16 v69]
 \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	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-autoref}[2019/12/22 v68]
+\ProvidesPackage {thm-autoref}[2020/07/16 v69]
 
 \RequirePackage{thm-patch, aliasctr, parseargs, keyval}
 

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-beamer}[2019/12/22 v68]
+\ProvidesPackage {thm-beamer}[2020/07/16 v69]
 \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	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-kv.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-kv}[2019/12/22 v68]
+\ProvidesPackage {thm-kv}[2020/07/16 v69]
 
 \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	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-listof.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-listof}[2019/12/22 v68]
+\ProvidesPackage {thm-listof}[2020/07/16 v69]
 \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	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-llncs}[2019/12/22 v68]
+\ProvidesPackage {thm-llncs}[2020/07/16 v69]
 \@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	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-ntheorem}[2019/12/22 v68]
+\ProvidesPackage {thm-ntheorem}[2020/07/16 v69]
 
 \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	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-patch}[2019/12/22 v68]
+\ProvidesPackage {thm-patch}[2020/07/16 v69]
 \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	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-restate}[2019/12/22 v68]
+\ProvidesPackage {thm-restate}[2020/07/16 v69]
 \RequirePackage{thmtools}
 \let\@xa\expandafter
 \let\@nx\noexpand
@@ -129,7 +132,7 @@
         \@xa\let\csname c@#2\endcsname=\c at thmt@dummyctr
         \@xa\let\csname theH#2\endcsname=\theHthmt at dummyctr
         % disable labeling.
-        \let\label=\@gobble
+        \let\label=\thmt at gobble@label
         \let\ltx at label=\@gobble% amsmath needs this
         % We shall need to restore the counters at the end
         % of the environment, so we get
@@ -173,6 +176,13 @@
   %% now empty, just used as a marker.
 }
 
+\let\thmt at gobble@label\@gobble
+\AtBeginDocument{
+  \@ifpackageloaded{cleveref}{
+    \renewcommand*\thmt at gobble@label[2][]{}
+  }{}
+}
+
 \newenvironment{restatable}{%
   \thmt at thisistheonetrue\thmt at restatable
 }{%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmdef-mdframed}[2019/12/22 v68]
+\ProvidesPackage {thmdef-mdframed}[2020/07/16 v69]
 \define at key{thmdef}{mdframed}[{}]{%
   \thmt at trytwice{}{%
     \RequirePackage{mdframed}%
@@ -27,7 +30,7 @@
     \addtotheorempreheadhook[\thmt at envname]{%
       \begin{mdframed}[#1]}%
     \addtotheorempostfoothook[\thmt at envname]{\end{mdframed}}%
-    }%
+  }%
 }
 \endinput
 %%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmdef-shaded}[2019/12/22 v68]
+\ProvidesPackage {thmdef-shaded}[2020/07/16 v69]
   \define at key{thmdef}{shaded}[{}]{%
   \thmt at trytwice{}{%
     \RequirePackage{shadethm}%
@@ -30,13 +33,13 @@
     \addtotheorempostfoothook[\thmt at envname]{\end{shadebox}}%
     }%
   }
-\define at key{thmt at shade}{textwidth}{\setlength\shadedtextwidth{#1}}
-\define at key{thmt at shade}{bgcolor}{\thmt at definecolor{shadethmcolor}{#1}}
-\define at key{thmt at shade}{rulecolor}{\thmt at definecolor{shaderulecolor}{#1}}
-\define at key{thmt at shade}{rulewidth}{\setlength\shadeboxrule{#1}}
-\define at key{thmt at shade}{margin}{\setlength\shadeboxsep{#1}}
-\define at key{thmt at shade}{padding}{\setlength\shadeboxsep{#1}}
-\define at key{thmt at shade}{leftmargin}{\setlength\shadeleftshift{#1}}
+\define at key{thmt at shade}{textwidth}  {\setlength\shadedtextwidth{#1}}
+\define at key{thmt at shade}{bgcolor}    {\thmt at definecolor{shadethmcolor}{#1}}
+\define at key{thmt at shade}{rulecolor}  {\thmt at definecolor{shaderulecolor}{#1}}
+\define at key{thmt at shade}{rulewidth}  {\setlength\shadeboxrule{#1}}
+\define at key{thmt at shade}{margin}     {\setlength\shadeboxsep{#1}}
+\define at key{thmt at shade}{padding}    {\setlength\shadeboxsep{#1}}
+\define at key{thmt at shade}{leftmargin} {\setlength\shadeleftshift{#1}}
 \define at key{thmt at shade}{rightmargin}{\setlength\shaderightshift{#1}}
 \def\thmt at colorlet#1#2{%
   %\typeout{don't know how to let color `#1' be like color `#2'!}%

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,30 +8,33 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmdef-thmbox}[2019/12/22 v68]
+\ProvidesPackage {thmdef-thmbox}[2020/07/16 v69]
 \define at key{thmdef}{thmbox}[L]{%
   \thmt at trytwice{%
-  \let\oldproof=\proof
-  \let\oldendproof=\endproof
-  \let\oldexample=\example
-  \let\oldendexample=\endexample
-  \RequirePackage[nothm]{thmbox}
-  \let\proof=\oldproof
-  \let\endproof=\oldendproof
-  \let\example=\oldexample
-  \let\endexample=\oldendexample
-  \def\thmt at theoremdefiner{\newboxtheorem[#1]}%
+    \let\oldproof=\proof
+    \let\oldendproof=\endproof
+    \let\oldexample=\example
+    \let\oldendexample=\endexample
+    \RequirePackage[nothm]{thmbox}
+    \let\proof=\oldproof
+    \let\endproof=\oldendproof
+    \let\example=\oldexample
+    \let\endexample=\oldendexample
+    \def\thmt at theoremdefiner{\newboxtheorem[#1]}%
   }{}%
 }%
 \endinput

Modified: trunk/Master/texmf-dist/tex/latex/thmtools/thmtools.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thmtools/thmtools.sty	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/thmtools.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmtools}[2019/12/22 v68]
+\ProvidesPackage {thmtools}[2020/07/16 v69]
 \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	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/texmf-dist/tex/latex/thmtools/unique.sty	2020-07-17 21:46:17 UTC (rev 55861)
@@ -8,18 +8,21 @@
 %% This is a generated file.
 %% 
 %% This file is part of the `thmtools' package.
-%% The `thmtools' package has the LPPL maintenance status: unmaintained.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Yukai Chou, muzimuzhi at gmail.com
 %% 
-%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
+%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
+%% Copyright (C) 2019      by Frank Mittelbach
+%% Copyright (C) 2020-     by Yukai Chou
 %% 
 %% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, version 1.3a.
+%% conditions of the LaTeX Project Public License, version 1.3c.
 %% This version is obtainable at
-%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
 %% 
 %% 
 \NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {unique}[2019/12/22 v68]
+\ProvidesPackage {unique}[2020/07/16 v69]
 
 \DeclareOption{unq}{%
   \newwrite\uniq at channel

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2020-07-17 21:45:53 UTC (rev 55860)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2020-07-17 21:46:17 UTC (rev 55861)
@@ -1260,6 +1260,7 @@
  'thesis-titlepage-fhAC',"die 'skipping, use ...fhac'",
  'thorshammer', "die 'skipping, adobe required (dps)'",
  'thsmc',       "die 'skipping, requires nonfree font'",
+ 'thmtools',	"&MAKEflatten",
  'ticket',      "&MAKEflatten",
  'ticollege',   "&MAKEflatten",
  'tikz-kalender',"&MAKEflatten",



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