diff options
author | Karl Berry <karl@freefriends.org> | 2019-11-15 21:40:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-11-15 21:40:34 +0000 |
commit | 7ebe75c756258ce417125e376f199df4fd5b47a9 (patch) | |
tree | 2c6cbc9b8b7146603554f7f38c2a29af214ec7cd /Master/texmf-dist/tex/latex/memoir/memhfixc.sty | |
parent | 755661ec89a876b678d3f8ae0fb13206021b6fa9 (diff) |
memoir (15nov19)
git-svn-id: svn://tug.org/texlive/trunk@52807 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/memoir/memhfixc.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/memoir/memhfixc.sty | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/memoir/memhfixc.sty b/Master/texmf-dist/tex/latex/memoir/memhfixc.sty index bb898d7d9ea..e4e37f64f63 100644 --- a/Master/texmf-dist/tex/latex/memoir/memhfixc.sty +++ b/Master/texmf-dist/tex/latex/memoir/memhfixc.sty @@ -41,6 +41,7 @@ %% With thanks to Heiko Oberdiek, if you use hyperref dated 2006/11/15 %% or later, memhfixc will be automatically loaded after hyperref. %% +%% Version 1.18 2019/10/24 %% Version 1.17 2013/05/30 %% Version 1.16 2013/05/16 %% Version 1.15 2010/08/17 @@ -60,7 +61,7 @@ %% Version 1.1 2003/01/22 %% Version 1.0 2002/10/22 %% -\ProvidesPackage{memhfixc}[2013/05/30 v1.17 nameref/hyperref package fixes for memoir class] +\ProvidesPackage{memhfixc}[2019/10/24 v1.18 nameref/hyperref package fixes for memoir class] \let\M@hfixcfinish\relax \@ifclassloaded{memoir}{}% {\let\M@hfixcfinish\endinput @@ -250,6 +251,7 @@ \setcounter{memhycontfloat}{0} \renewcommand{\contcaption}{% + \par% \refstepcounter{memhycontfloat}% \addtocounter{\@captype}{\m@ne}\H@refstepcounter{\@captype}% \@contcaption\@captype} @@ -350,6 +352,19 @@ \@namedef{mem@pnmm@end@hook}{\hyper@linkend} \fi +\AtEndPackage{hypcap}{% + \long\def\@@contcaption##1##2{% + \par + \begingroup + \@parboxrestore + \if@minipage + \@setminipage + \fi + \global\@capstartfalse% added + \normalsize + \@makecaption{\csname fnum@##1\endcsname}{\ignorespaces ##2}\par + \endgroup} +} \endinput %% %% End of file `memhfixc.sty'. |