diff options
author | Karl Berry <karl@freefriends.org> | 2021-04-11 21:33:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-04-11 21:33:43 +0000 |
commit | 86662024018682cdc86b1bd94ae021b0b39a23f8 (patch) | |
tree | 323a6697b8ce7367197edc4e2fe4feaffcb45469 /Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty | |
parent | 0305002960075b3f60f4125ed15d4dae571f55c3 (diff) |
lwarp
git-svn-id: svn://tug.org/texlive/trunk@58837 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty index 4bb971d171e..6b2a5ac4849 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty @@ -143,14 +143,10 @@ \LWR@startpars% lwarp } -\def\subfloat@label{% -\LWR@ensuredoingapar% lwarp - \@ifnextchar(% %) match left parenthesis - {\sf@sub@label} - {\sf@sub@label(Sub\@captype\space - \@ifundefined{thechapter}{}{\@nameuse{thechapter}\space}% - \@nameuse{p@sub\@captype}% - \@nameuse{thesub\@captype}.)}} +\xpretocmd{\subfloat@label} + {\LWR@ensuredoingapar} + {} + {\LWR@patcherror{subfig}{subfloat@label}} \renewcommand{\sf@subref}[1]{% \LWR@subnewref{#1}{sub@#1}% |