diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/thmtools/thm-patch.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/thmtools/thm-patch.sty | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty b/Master/texmf-dist/tex/latex/thmtools/thm-patch.sty index 4d883956bb4..831e32e3459 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}[2010/05/18 v24] +\ProvidesPackage {thm-patch}[2010/06/08 v35] \RequirePackage{parseargs} \newif\ifthmt@isstarred @@ -29,7 +29,9 @@ \def\thmt@parsetheoremargs#1{% \parse{% - {\parseOpt[]{\def\thmt@optarg{##1}}{\let\thmt@optarg\@empty}}% + {\parseOpt[]{\def\thmt@optarg{##1}}{% + \let\thmt@shortoptarg\@empty + \let\thmt@optarg\@empty}}% {% \def\thmt@local@preheadhook{}% \def\thmt@local@postheadhook{}% @@ -42,9 +44,11 @@ \ifx\@empty\thmt@optarg\else [{\thmt@optarg}]\fi }% \csname thmt@original@#1\@xa\endcsname\tmp@args - \thmt@local@postheadhook + %%moved down: \thmt@local@postheadhook + %% (give postheadhooks a chance to re-set nameref data) \csname thmt@#1@postheadhook\endcsname \thmt@generic@postheadhook + \thmt@local@postheadhook \let\@parsecmd\@empty }% }% |