diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty index e9877b4b347..a1e05c89510 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty @@ -19,7 +19,7 @@ \LWR@ProvidesPackagePass{keyfloat}[2019/09/23] -\@ifpackagelater{keyfloat}{2019/09/23}{\relax}{ +\IfPackageAtLeastTF{keyfloat}{2019/09/23}{\relax}{ \PackageError{lwarp-keyfloat} {% The keyfloat package is out of date.\MessageBreak @@ -31,7 +31,9 @@ } \AtBeginDocument{ + \providecommand*{\KFLT@LWR@hook@boxouter}{} + \renewcommand*{\KFLT@LWR@hook@boxouter}{% \ifbool{KFLT@keywrap}{% }{% @@ -44,7 +46,6 @@ \normalcolor% } \LetLtxMacro\KFLT@LWR@hook@keysubfloats\KFLT@LWR@hook@boxouter - \let\KFLT@LWR@hook@keyfloatsminipage\relax \let\endKFLT@LWR@hook@keyfloatsminipage\relax \newenvironment*{KFLT@LWR@hook@keyfloatsminipage}[1]{}{} @@ -177,7 +178,7 @@ }% text to add } -\@ifpackageloaded{tocdata} +\IfPackageLoadedTF{tocdata} {} {% tocdata not loaded |