summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty
index abd4b8d1748..fddd7183fa4 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty
@@ -48,31 +48,31 @@
}
\renewcommand{\algocf@makecaption}[2]{%
\LWR@HTML@caption@begin{algocf}%
-\algocf@captiontext{#1}{#2}%
+\LWR@isolate{\algocf@captiontext{#1}{#2}}%
\LWR@HTML@caption@end%
}
\renewcommand{\algocf@makecaption@plain}[2]{%
\LWR@HTML@caption@begin{algocf}%
- \algocf@captiontext{#1}{#2}%
+ \LWR@isolate{\algocf@captiontext{#1}{#2}}%
\LWR@HTML@caption@end%
}
\renewcommand{\algocf@makecaption@boxed}[2]{%
\LWR@HTML@caption@begin{algocf}%
- \algocf@captiontext{#1}{#2}%
+ \LWR@isolate{\algocf@captiontext{#1}{#2}}%
\LWR@HTML@caption@end%
}
\renewcommand{\algocf@makecaption@ruled}[2]{%
\LWR@HTML@caption@begin{algocf}%
- \algocf@captiontext{#1}{#2}%
+ \LWR@isolate{\algocf@captiontext{#1}{#2}}%
\LWR@HTML@caption@end%
}
\long\def\algocf@latexcaption#1[#2]#3{% original definition of caption
\boolfalse{LWR@algocf@dopars}% lwarp
\par%
\addcontentsline{\csname ext@#1\endcsname}{#1}%
- {\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}%
+ {\protect\numberline{\csname the#1\endcsname}{\ignorespaces \LWR@isolate{#2}}}%
\begingroup%
\@parboxrestore%
\if@minipage%