texlive[61368] Master/texmf-dist: fancyvrb (21dec21)
commits+karl at tug.org
commits+karl at tug.org
Tue Dec 21 22:45:56 CET 2021
Revision: 61368
http://tug.org/svn/texlive?view=revision&revision=61368
Author: karl
Date: 2021-12-21 22:45:56 +0100 (Tue, 21 Dec 2021)
Log Message:
-----------
fancyvrb (21dec21)
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 2021-12-21 21:45:40 UTC (rev 61367)
+++ trunk/Master/texmf-dist/doc/latex/fancyvrb/Changes 2021-12-21 21:45:56 UTC (rev 61368)
@@ -1,4 +1,5 @@
--- fancyvrb.sty
+4.1b 2021/12/21 - fix for ~ in message (hv)
4.1a 2021/11/24 - updated filedate (hv)
4.1 2021/11/24 - make lastline without argument possible (hv)
4.0 2021/11/19 - added lastline=0 for no output (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 2021-12-21 21:45:40 UTC (rev 61367)
+++ trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex 2021-12-21 21:45:56 UTC (rev 61368)
@@ -678,9 +678,23 @@
\begin{optlist}
\item[firstline (integer)]: first line to print
(\emph{Default: empty} \Dash all lines from the first are printed).
+ \item[lastline (integer)]: last line to print
+ (\emph{Default: empty} \Dash all lines until the last one are printed).
\end{optlist}
+
\begin{SideBySideExample}
+ \begin{Verbatim}[gobble=2,firstline,lastline,
+ numbers=left,numbersep=2pt]
+ First verbatim line.
+ Second verbatim line.
+ Third verbatim line.
+ \end{Verbatim}
+\end{SideBySideExample}
+
+
+
+\begin{SideBySideExample}
\begin{Verbatim}[gobble=2,firstline=2,
numbers=left,numbersep=2pt]
First verbatim line.
@@ -689,10 +703,6 @@
\end{Verbatim}
\end{SideBySideExample}
-\begin{optlist}
- \item[lastline (integer)]: last line to print
- (\emph{Default: empty} \Dash all lines until the last one are printed).
-\end{optlist}
\begin{SideBySideExample}
\begin{Verbatim}[gobble=2,lastline=1,
@@ -714,7 +724,7 @@
\begin{SideBySideExample}[gobble=2]
\newcommand*\FancyVerbStartString{FROM}
- \renewcommand*\FancyVerbStopString{TO}
+ \newcommand*\FancyVerbStopString{TO}
\begin{Verbatim}
First verbatim line.
FROM
Modified: trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty 2021-12-21 21:45:40 UTC (rev 61367)
+++ trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty 2021-12-21 21:45:56 UTC (rev 61368)
@@ -13,9 +13,9 @@
%% verbatim environments and commands and extensive documentation.
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{4.1a}
-\def\filedate{2021/11/24}
-\ProvidesPackage{fancyvrb}[\filedate~ \fileversion ~verbatim text (tvz,hv)]
+\def\fileversion{4.1b}
+\def\filedate{2021/12/21}
+\ProvidesPackage{fancyvrb}[\filedate\space \fileversion\space verbatim text (tvz,hv)]
%\message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)}
\csname fancyvrb at loaded\endcsname
\let\fancyvrb at loaded\endinput
More information about the tex-live-commits
mailing list.