diff options
author | Karl Berry <karl@freefriends.org> | 2019-07-16 21:14:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-07-16 21:14:36 +0000 |
commit | cf12bb505e9a4455ac9fb495f04cf7a2d079186c (patch) | |
tree | eeb96649fd30bc3ac8752f78005b52d8efc47d57 /Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty | |
parent | d2055c0169cf583fb9af2de4061319e5b31a4303 (diff) |
lwarp (16jul19)
git-svn-id: svn://tug.org/texlive/trunk@51653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty index 186fab5ffc4..9e0808fb78f 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty @@ -51,19 +51,10 @@ \LWR@traceinfo{caption@iiibox: done}% } -\def\caption@caption{% - \caption@iftype - {% - \caption@checkgrouplevel\@empty\caption - \caption@star - {\caption@refstepcounter\@captype}% - {\caption@dblarg{\@caption\@captype}}}% - {\caption@Error{\noexpand\caption outside float}% - \caption@gobble}% -} \long\def\caption@@caption#1[#2]#3{% - \ifcaption@star \else + \ifcaption@star + \else \caption@prepareanchor{#1}{#2}% \memcaptioninfo{#1}{\csname the#1\endcsname}{#2}{#3}% \@nameuse{nag@hascaptiontrue}% @@ -78,9 +69,11 @@ \caption@normalsize \ifcaption@star \let\caption@makeanchor\@firstofone - \fi + #3% lwarp + \else% lwarp \@makecaption{\csname fnum@#1\endcsname}% {\ignorespaces\caption@makeanchor{#3}}% + \fi% lwarp \caption@if@minipage\@minipagetrue\@minipagefalse}% \caption@end% } |