diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-19 22:59:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-19 22:59:00 +0000 |
commit | 9a45126306abb4d5afbc62ede6d8f679a7dca8f3 (patch) | |
tree | c303f5e3ea6135242ae0d44b33ea765c57ab2dc6 /Master/texmf-dist/source/latex/thmtools | |
parent | eb63d8487d763c750aa471fb4c63f5921b286db3 (diff) |
thmtools update (10aug10)
git-svn-id: svn://tug.org/texlive/trunk@19813 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/thmtools')
-rw-r--r-- | Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx | 1 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/thmtools/thm-listof.dtx | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/thmtools/thm-patch.dtx | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx b/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx index 7ff3b98249d..52a667a966d 100644 --- a/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx +++ b/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx @@ -125,6 +125,7 @@ \define@key{thmdef}{qed}[\qedsymbol]{% \thmt@trytwice{}{% \addtotheorempostheadhook[\thmt@envname]{% + \protected@edef\qedsymbol{#1}% \pushQED{\qed}% }% \addtotheoremprefoothook[\thmt@envname]{% diff --git a/Master/texmf-dist/source/latex/thmtools/thm-listof.dtx b/Master/texmf-dist/source/latex/thmtools/thm-listof.dtx index 29097408c54..ff216fe5f8b 100644 --- a/Master/texmf-dist/source/latex/thmtools/thm-listof.dtx +++ b/Master/texmf-dist/source/latex/thmtools/thm-listof.dtx @@ -59,7 +59,7 @@ \def\thmtlo@oldchapter{0}% \newcommand\thmtlo@chaptervspacehack{} -\ifcsname chapter\endcsname +\ifcsname c@chapter\endcsname \def\thmtlo@chaptervspacehack{% \ifnum \value{chapter}>\thmtlo@oldchapter\relax % new chapter, add vspace to loe. diff --git a/Master/texmf-dist/source/latex/thmtools/thm-patch.dtx b/Master/texmf-dist/source/latex/thmtools/thm-patch.dtx index 498f20f676a..cc6ab2fe68d 100644 --- a/Master/texmf-dist/source/latex/thmtools/thm-patch.dtx +++ b/Master/texmf-dist/source/latex/thmtools/thm-patch.dtx @@ -118,7 +118,9 @@ } \newcommand\thmt@newtheorem@predefinition{} -\newcommand\thmt@newtheorem@postdefinition{} +\newcommand\thmt@newtheorem@postdefinition{% + \let\thmt@theoremdefiner\thmt@original@newtheorem +} \g@addto@macro\thmt@newtheorem@predefinition{% \@xa\thmt@providetheoremhooks\@xa{\thmt@envname}% |