summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-12-03 23:37:04 +0000
committerKarl Berry <karl@freefriends.org>2011-12-03 23:37:04 +0000
commit92b4cdcc73a443c1d91d2d2963a91363856e1dea (patch)
treeaf8da9eb8d212cc781e7fc5ad782975060b76bf8
parent588d746c4db3a95ed8ec234bf392c8ca7061fc3e (diff)
thmtools (3dec11)
git-svn-id: svn://tug.org/texlive/trunk@24742 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/thmtools/VERSION.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thmtools/thmtools.pdfbin224614 -> 225441 bytes
-rw-r--r--Master/texmf-dist/source/latex/thmtools/thmdef-mdframed.dtx28
-rw-r--r--Master/texmf-dist/source/latex/thmtools/thmtools.ins1
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/aliasctr.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/parseargs.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thm-kv.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thm-listof.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thm-patch.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thm-restate.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty35
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/thmtools.sty2
-rw-r--r--Master/texmf-dist/tex/latex/thmtools/unique.sty2
21 files changed, 82 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/thmtools/VERSION.tex b/Master/texmf-dist/doc/latex/thmtools/VERSION.tex
index 230b7da84e1..5a46ba0c3dc 100644
--- a/Master/texmf-dist/doc/latex/thmtools/VERSION.tex
+++ b/Master/texmf-dist/doc/latex/thmtools/VERSION.tex
@@ -1 +1 @@
-\def\x #1-#2-#3 #4 v#5\@{\def\VERSION{#1/#2/#3 v#5}}\x 2011-06-02 08:51:52 +0200 v61\@ \ No newline at end of file
+\def\x #1-#2-#3 #4 v#5\@{\def\VERSION{#1/#2/#3 v#5}}\x 2011-11-27 09:05:03 +0100 v62\@ \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex b/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex
index dd08f3067fa..111acda6dce 100644
--- a/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex
+++ b/Master/texmf-dist/doc/latex/thmtools/thmtools-manual.tex
@@ -814,6 +814,8 @@
\DocInput{thmdef-thmbox.dtx}
+ \section{Case in point: the mdframed key}
+ \DocInput{thmdef-mdframed.dtx}
\section{How \thmtools\ finds your extensions}
diff --git a/Master/texmf-dist/doc/latex/thmtools/thmtools.pdf b/Master/texmf-dist/doc/latex/thmtools/thmtools.pdf
index b3cb6b1ed72..7745235a23b 100644
--- a/Master/texmf-dist/doc/latex/thmtools/thmtools.pdf
+++ b/Master/texmf-dist/doc/latex/thmtools/thmtools.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/thmtools/thmdef-mdframed.dtx b/Master/texmf-dist/source/latex/thmtools/thmdef-mdframed.dtx
new file mode 100644
index 00000000000..a3fd3658cba
--- /dev/null
+++ b/Master/texmf-dist/source/latex/thmtools/thmdef-mdframed.dtx
@@ -0,0 +1,28 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2010 by Ulrich M. Schwarz
+% See file COPYING for more details.
+%\fi
+%
+%\iffalse (hide this from DocInput)
+%<*mdframed>
+%\fi
+%
+% 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.
+%
+% \begin{macrocode}
+\define@key{thmdef}{mdframed}[{}]{%
+ \thmt@trytwice{}{%
+ \RequirePackage{mdframed}%
+ \RequirePackage{thm-patch}%
+ \addtotheorempreheadhook[\thmt@envname]{%
+ \begin{mdframed}[#1]}%
+ \addtotheorempostfoothook[\thmt@envname]{\end{mdframed}}%
+ }%
+}
+% \end{macrocode}
+%\iffalse (hide this from DocInput)
+%</mdframed>
+%\fi
diff --git a/Master/texmf-dist/source/latex/thmtools/thmtools.ins b/Master/texmf-dist/source/latex/thmtools/thmtools.ins
index 45016df995d..71487ac60c6 100644
--- a/Master/texmf-dist/source/latex/thmtools/thmtools.ins
+++ b/Master/texmf-dist/source/latex/thmtools/thmtools.ins
@@ -40,6 +40,7 @@ http://www.latex-project.org/lppl/lppl-1-3a.txt
\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{*}
diff --git a/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty b/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty
index f0a63b02739..d3123a83556 100644
--- a/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/aliasctr.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {aliasctr}[2011/06/02 v61]
+\ProvidesPackage {aliasctr}[2011/11/27 v62]
\def\aliasctr@f@llow#1#2\@nil#3{%
\ifx#1\@elt
\noexpand #3%
diff --git a/Master/texmf-dist/tex/latex/thmtools/parseargs.sty b/Master/texmf-dist/tex/latex/thmtools/parseargs.sty
index f72f85d4e1f..c5cf2360d07 100644
--- a/Master/texmf-dist/tex/latex/thmtools/parseargs.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/parseargs.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {parseargs}[2011/06/02 v61]
+\ProvidesPackage {parseargs}[2011/11/27 v62]
\newtoks\@parsespec
\def\parse@endquark{\parse@endquark}
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty b/Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty
index 635d80bd081..e7d8fa9e22f 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thm-amsthm.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-amsthm}[2011/06/02 v61]
+\ProvidesPackage {thm-amsthm}[2011/11/27 v62]
\providecommand\thmt@space{ }
\define@key{thmstyle}{spaceabove}{%
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty b/Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty
index ea5ac3709b2..68179cc5b54 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thm-autoref.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-autoref}[2011/06/02 v61]
+\ProvidesPackage {thm-autoref}[2011/11/27 v62]
\RequirePackage{thm-patch, aliasctr, parseargs, keyval}
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty b/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty
index 65db6fa224e..8c7771d489b 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thm-beamer.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-beamer}[2011/06/02 v61]
+\ProvidesPackage {thm-beamer}[2011/11/27 v62]
\newif\ifthmt@hasoverlay
\def\thmt@parsetheoremargs#1{%
\parse{%
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-kv.sty b/Master/texmf-dist/tex/latex/thmtools/thm-kv.sty
index 9ec3ee57217..63553d27871 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thm-kv.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thm-kv.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-kv}[2011/06/02 v61]
+\ProvidesPackage {thm-kv}[2011/11/27 v62]
\let\@xa\expandafter
\let\@nx\noexpand
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-listof.sty b/Master/texmf-dist/tex/latex/thmtools/thm-listof.sty
index 9dbdb7fbe6a..05ba643ec2b 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thm-listof.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thm-listof.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-listof}[2011/06/02 v61]
+\ProvidesPackage {thm-listof}[2011/11/27 v62]
\let\@xa=\expandafter
\let\@nx=\noexpand
\RequirePackage{thm-patch,keyval,kvsetkeys}
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty b/Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty
index 7691cb1526a..9664e908f44 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thm-llncs.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-llncs}[2011/06/02 v61]
+\ProvidesPackage {thm-llncs}[2011/11/27 v62]
\@ifclasslater{llncs}{2010/04/15}{}{%
\PackageWarningNoLine{thmtools}{%
LLNCS.cls too old, not supported by thmtools
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty b/Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty
index 17184c69122..87c6289434b 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thm-ntheorem.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-ntheorem}[2011/06/02 v61]
+\ProvidesPackage {thm-ntheorem}[2011/11/27 v62]
\providecommand\thmt@space{ }
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty b/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty
index 492aa2531fd..c2ec0f56479 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-patch}[2011/06/02 v61]
+\ProvidesPackage {thm-patch}[2011/11/27 v62]
\RequirePackage{parseargs}
\newif\ifthmt@isstarred
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty b/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty
index 93f7d343212..0e42fd3dde7 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thm-restate}[2011/06/02 v61]
+\ProvidesPackage {thm-restate}[2011/11/27 v62]
\RequirePackage{thmtools}
\let\@xa\expandafter
\let\@nx\noexpand
diff --git a/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty b/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty
new file mode 100644
index 00000000000..de7ee9d8485
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty
@@ -0,0 +1,35 @@
+%%
+%% This is file `thmdef-mdframed.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% thmdef-mdframed.dtx (with options: `mdframed')
+%% This is a generated file.
+%%
+%% This file is part of the `thmtools' package.
+%% The `thmtools' package has the LPPL maintenance status: maintained.
+%% Current Maintainer is Ulrich M. Schwarz, ulmi@absatzen.de
+%%
+%% Copyright (C) 2008-2011 by Ulrich M. Schwarz.
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, version 1.3a.
+%% This version is obtainable at
+%% http://www.latex-project.org/lppl/lppl-1-3a.txt
+%%
+%%
+\NeedsTeXFormat {LaTeX2e}
+\ProvidesPackage {thmdef-mdframed}[2011/11/27 v62]
+\define@key{thmdef}{mdframed}[{}]{%
+ \thmt@trytwice{}{%
+ \RequirePackage{mdframed}%
+ \RequirePackage{thm-patch}%
+ \addtotheorempreheadhook[\thmt@envname]{%
+ \begin{mdframed}[#1]}%
+ \addtotheorempostfoothook[\thmt@envname]{\end{mdframed}}%
+ }%
+}
+\endinput
+%%
+%% End of file `thmdef-mdframed.sty'.
diff --git a/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty b/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty
index 0f6e99c614a..8328da4dc41 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thmdef-shaded.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmdef-shaded}[2011/06/02 v61]
+\ProvidesPackage {thmdef-shaded}[2011/11/27 v62]
\define@key{thmdef}{shaded}[{}]{%
\thmt@trytwice{}{%
\RequirePackage{shadethm}%
diff --git a/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty b/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty
index 8cafb47b017..6c3436a096d 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmdef-thmbox}[2011/06/02 v61]
+\ProvidesPackage {thmdef-thmbox}[2011/11/27 v62]
\define@key{thmdef}{thmbox}[L]{%
\thmt@trytwice{%
\let\oldproof=\proof
diff --git a/Master/texmf-dist/tex/latex/thmtools/thmtools.sty b/Master/texmf-dist/tex/latex/thmtools/thmtools.sty
index 0d520f53577..18bdfc578e9 100644
--- a/Master/texmf-dist/tex/latex/thmtools/thmtools.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/thmtools.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {thmtools}[2011/06/02 v61]
+\ProvidesPackage {thmtools}[2011/11/27 v62]
\DeclareOption{debug}{%
\def\thmt@debug{\typeout}%
}
diff --git a/Master/texmf-dist/tex/latex/thmtools/unique.sty b/Master/texmf-dist/tex/latex/thmtools/unique.sty
index de213925cc8..6797274b718 100644
--- a/Master/texmf-dist/tex/latex/thmtools/unique.sty
+++ b/Master/texmf-dist/tex/latex/thmtools/unique.sty
@@ -20,7 +20,7 @@
%%
%%
\NeedsTeXFormat {LaTeX2e}
-\ProvidesPackage {unique}[2011/06/02 v61]
+\ProvidesPackage {unique}[2011/11/27 v62]
\DeclareOption{unq}{%
\newwrite\uniq@channel