summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-01 22:03:56 +0000
committerKarl Berry <karl@freefriends.org>2021-10-01 22:03:56 +0000
commitac30e0b02398c0a270515692d6a03e594b287ff0 (patch)
tree58adadc9c1f7ca91f62d6575f7a804f2a93aead1 /Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
parent4af946c33a1598291b1859381a7ab77c5fe268ab (diff)
lwarp (2oct21)
git-svn-id: svn://tug.org/texlive/trunk@60674 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty28
1 files changed, 14 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
index 5e95182994a..5992825dbf1 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
@@ -22,31 +22,31 @@
\AfterEndPreamble{
\LWR@traceinfo{Patching fancyvrb.}
\def\VerbatimFootnotes{%
-\let\@footnotetext\V@footnotetext%
-\let\footnote\V@footnote%
-\let\LWR@footnotetext\V@footnotetext% lwarp
+ \let\@footnotetext\V@footnotetext%
+ \let\footnote\V@footnote%
+ \let\LWR@footnotetext\V@footnotetext% lwarp
}
\def\V@@footnotetext{%
\LWR@traceinfo{V@footnotetext}%
-\LWR@newautopagelabel{page}%
-\global\setbox\LWR@footnotebox=\vbox\bgroup%
+ \LWR@newautopagelabel{page}%
+ \global\setbox\LWR@footnotebox=\vbox\bgroup%
\unvbox\LWR@footnotebox%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark%
}% @currentlabel
\renewrobustcmd{\textsuperscript}[1]{\LWR@htmlspan{sup}{##1}}%
- \ifthenelse{%
- \boolean{LWR@doingstartpars} \AND%
- \cnttest{\value{LWR@lateximagedepth}}{=}{0}%
- }%
- {}%
- {\LWR@htmltagc{\LWR@tagregularparagraph}\LWR@orignewline}%
+ \LWR@htmltagc{\LWR@tagregularparagraph}\LWR@orignewline%
\@makefntext{}%
- \bgroup%
- \aftergroup{\V@@@footnotetext}%
+ \bgroup%
+ \aftergroup\V@@@footnotetext%
\let\LWR@newautopagelabel\LWR@null@newautopagelabel%
- \ignorespaces%
+ \ignorespaces%
}%
+\def\V@@@footnotetext{%
+ \LWR@origtilde\LWR@orignewline%
+ \LWR@htmltagc{/\LWR@tagregularparagraph}\LWR@orignewline%
+ \strut\egroup%
+}
\preto\FVB@Verbatim{\LWR@forcenewpage}
\preto\FVB@LVerbatim{\LWR@forcenewpage}
\def\FV@BeginListFrame@Single{%