summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-03 03:00:46 +0000
committerNorbert Preining <norbert@preining.info>2022-06-03 03:00:46 +0000
commit653524750adc9c9bfae3fb8a7f1dacd63859bed8 (patch)
treefd4e9fa0efd639716ba02ec4554a075b234c1714 /macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
parentd04e1ae659e8517e73bdabbd147386187d88fcb4 (diff)
CTAN sync 202206030300
Diffstat (limited to 'macros/latex/contrib/fancyvrb/latex/fancyvrb.sty')
-rw-r--r--macros/latex/contrib/fancyvrb/latex/fancyvrb.sty22
1 files changed, 3 insertions, 19 deletions
diff --git a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty b/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
index a8d4922c3d..2651e59e30 100644
--- a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
+++ b/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
@@ -13,8 +13,8 @@
%% verbatim environments and commands and extensive documentation.
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{4.2a}
-\def\filedate{2022/05/26}
+\def\fileversion{4.3}
+\def\filedate{2022/06/02}
\ProvidesPackage{fancyvrb}[\filedate\space \fileversion\space verbatim text (tvz,hv)]
%\message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)}
\csname fancyvrb@loaded\endcsname
@@ -865,23 +865,16 @@
\def\FV@LabelPositionTopLine{\@ne}%
\def\FV@LabelPositionBottomLine{\@ne}}
\fvset{labelposition=topline}
-%% DG/SR modification end
-%% DG/SR modification begin - May. 19, 1998
-%% \def\FV@SingleFrameLine{%
\def\FV@SingleFrameLine#1{%
-%% DG/SR modification end
\hbox to\z@{%
\kern\leftmargin
-%% DG/SR modification begin - Jun. 22, 1998
\ifnum#1=\z@
\let\FV@Label\FV@LabelBegin
\else
\let\FV@Label\FV@LabelEnd
\fi
\ifx\FV@Label\relax
-%% DG/SR modification end
\FancyVerbRuleColor{\vrule \@width\linewidth \@height\FV@FrameRule}%
-%% DG/SR modification begin - Jun. 22, 1998
\else
\ifnum#1=\z@
\setbox\z@\hbox{\strut\enspace\FV@LabelBegin\enspace\strut}%
@@ -907,30 +900,21 @@
\fi
\fi
\fi
-%% DG/SR modification end
\hss}}
-%% DG/SR modification begin - May. 19, 1998
\def\FV@FrameLineWithLabel{%
\ht\z@\@tempdimb\dp\z@\@tempdimb%
\FancyVerbRuleColor{%
\vrule \@width\@tempdimc \@height\FV@FrameRule
\raise\@tempdimb\box\z@
\vrule \@width\@tempdimc \@height\FV@FrameRule}}
-%% DG/SR modification end
\def\FV@BeginListFrame@Lines{%
\begingroup
\lineskip\z@skip
-%% DG modification begin - June 18, 1997 (effect of \baselineskip too earlier)
-%% \baselineskip\z@skip
-%% \FV@SingleFrameLine
-%% DG/SR modification begin - May. 19, 1998
-%% \FV@SingleFrameLine
\FV@SingleFrameLine{\z@}%
-%% DG/SR modification end
\kern-0.5\baselineskip\relax
\baselineskip\z@skip
-%% DG modification end
\kern\FV@FrameSep\relax
+ \penalty\@M% prevent a pagebreak after the line 20220602 (hv)
\endgroup}%
\def\FV@EndListFrame@Lines{%
\begingroup