texlive[63474] Master/texmf-dist: fancyvrb (2jun22)

commits+karl at tug.org commits+karl at tug.org
Thu Jun 2 21:59:02 CEST 2022


Revision: 63474
          http://tug.org/svn/texlive?view=revision&revision=63474
Author:   karl
Date:     2022-06-02 21:59:02 +0200 (Thu, 02 Jun 2022)
Log Message:
-----------
fancyvrb (2jun22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/fancyvrb/Changes
    trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf
    trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex
    trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty

Modified: trunk/Master/texmf-dist/doc/latex/fancyvrb/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fancyvrb/Changes	2022-06-01 23:50:08 UTC (rev 63473)
+++ trunk/Master/texmf-dist/doc/latex/fancyvrb/Changes	2022-06-02 19:59:02 UTC (rev 63474)
@@ -1,4 +1,5 @@
 --- fancyvrb.sty
+4.3  2022/06/02   - prevent pagebreak after top rule (hv)
 4.2a 2022/05/26   - updated documentation (hv)
 4.2  2022/04/12   - change option file_ext to fileext (hv)
 4.1b 2021/12/21   - fix for ~ in message (hv)

Modified: trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex	2022-06-01 23:50:08 UTC (rev 63473)
+++ trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex	2022-06-02 19:59:02 UTC (rev 63474)
@@ -87,6 +87,7 @@
 \vfill
 Thanks to 
 Claudio Beccari,
+Karl Berry,
 Jean-François Burnol, 
 Philippe Esperet, %\url{esperet at marie.polytechnique.fr}, 
 Michael Friendly, %\url{friendly at hotspur.psych.yorku.ca}, 
@@ -807,6 +808,38 @@
   \end{Verbatim}
 \end{SideBySideExample}
 
+
+\subsubsection{Vertical space before and after}
+
+\begin{optlist}
+  \item[vspace (dimension)]: value to give to the usual
+   vertical list space .
+  (\emph{Default: \cs{topsep}} \Dash its current value just before the verbatim
+  command).
+\end{optlist}
+
+\begin{SideBySideExample}
+  A line before Verbatim
+  \begin{Verbatim}[frame=lines,label=foo]
+    First verbatim line.
+    Second verbatim line.
+  \end{Verbatim}
+  A line after Verbatim
+\end{SideBySideExample}
+
+\begin{SideBySideExample}
+  A line before Verbatim
+  \begin{Verbatim}[frame=lines,label=foo,
+                   vspace=0pt]
+    First verbatim line.
+    Second verbatim line.
+  \end{Verbatim}
+  A line after Verbatim
+\end{SideBySideExample}
+
+
+
+
 \subsubsection{Escape characters for inserting commands}
 
 \begin{optlist}

Modified: trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty	2022-06-01 23:50:08 UTC (rev 63473)
+++ trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty	2022-06-02 19:59:02 UTC (rev 63474)
@@ -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 at loaded\endcsname
@@ -865,14 +865,9 @@
   \def\FV at LabelPositionTopLine{\@ne}%
   \def\FV at LabelPositionBottomLine{\@ne}}
 \fvset{labelposition=topline}
-%% DG/SR modification end
-%% DG/SR modification begin - May. 19, 1998
-%% \def\FV at SingleFrameLine{%
 \def\FV at SingleFrameLine#1{%
-%% DG/SR modification end
   \hbox to\z@{%
     \kern\leftmargin
-%% DG/SR modification begin - Jun. 22, 1998
     \ifnum#1=\z@
       \let\FV at Label\FV at LabelBegin
     \else
@@ -879,9 +874,7 @@
       \let\FV at Label\FV at LabelEnd
     \fi
     \ifx\FV at Label\relax
-%% DG/SR modification end
       \FancyVerbRuleColor{\vrule \@width\linewidth \@height\FV at FrameRule}%
-%% DG/SR modification begin - Jun. 22, 1998
     \else
       \ifnum#1=\z@
         \setbox\z@\hbox{\strut\enspace\FV at LabelBegin\enspace\strut}%
@@ -907,9 +900,7 @@
         \fi
       \fi
     \fi
-%% DG/SR modification end
     \hss}}
-%% DG/SR modification begin - May. 19, 1998
 \def\FV at FrameLineWithLabel{%
   \ht\z@\@tempdimb\dp\z@\@tempdimb%
   \FancyVerbRuleColor{%
@@ -916,21 +907,14 @@
     \vrule \@width\@tempdimc \@height\FV at FrameRule
     \raise\@tempdimb\box\z@
     \vrule \@width\@tempdimc \@height\FV at FrameRule}}
-%% DG/SR modification end
 \def\FV at BeginListFrame@Lines{%
   \begingroup
     \lineskip\z at skip
-%% DG modification begin - June 18, 1997 (effect of \baselineskip too earlier)
-%%    \baselineskip\z at skip
-%%    \FV at SingleFrameLine
-%% DG/SR modification begin - May. 19, 1998
-%%    \FV at SingleFrameLine
     \FV at SingleFrameLine{\z@}%
-%% DG/SR modification end
     \kern-0.5\baselineskip\relax
     \baselineskip\z at skip
-%% DG modification end
     \kern\FV at FrameSep\relax
+    \penalty\@M% prevent a pagebreak after the line 20220602 (hv)
   \endgroup}%
 \def\FV at EndListFrame@Lines{%
   \begingroup



More information about the tex-live-commits mailing list.