summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fancyvrb
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-12-22 03:01:35 +0000
committerNorbert Preining <norbert@preining.info>2021-12-22 03:01:35 +0000
commit9105ca38c03b7a88ed0c306472d9560cc5f206bd (patch)
treec3fb0be880a7aa14f36f5d05a0137c9ee61d9603 /macros/latex/contrib/fancyvrb
parent3bffd8b7dfcee8333bb2841ea194a0daa26af8cd (diff)
CTAN sync 202112220301
Diffstat (limited to 'macros/latex/contrib/fancyvrb')
-rw-r--r--macros/latex/contrib/fancyvrb/Changes1
-rw-r--r--macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdfbin141135 -> 141124 bytes
-rw-r--r--macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex20
-rw-r--r--macros/latex/contrib/fancyvrb/latex/fancyvrb.sty6
4 files changed, 19 insertions, 8 deletions
diff --git a/macros/latex/contrib/fancyvrb/Changes b/macros/latex/contrib/fancyvrb/Changes
index 31b72a061c..c903c62ef2 100644
--- a/macros/latex/contrib/fancyvrb/Changes
+++ b/macros/latex/contrib/fancyvrb/Changes
@@ -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)
diff --git a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf
index 532bcc51d2..55ccaceaab 100644
--- a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf
+++ b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex
index 434aa99f99..40cb65ff83 100644
--- a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex
+++ b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex
@@ -678,8 +678,22 @@ numbering, and the counter used is \texttt{FancyVerbLine}:
\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]
@@ -689,10 +703,6 @@ numbering, and the counter used is \texttt{FancyVerbLine}:
\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 @@ bit klunky. Initially you must define the strings with
\begin{SideBySideExample}[gobble=2]
\newcommand*\FancyVerbStartString{FROM}
- \renewcommand*\FancyVerbStopString{TO}
+ \newcommand*\FancyVerbStopString{TO}
\begin{Verbatim}
First verbatim line.
FROM
diff --git a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty b/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
index 75f418e7be..86fdbef54e 100644
--- a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
+++ b/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
@@ -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@loaded\endcsname
\let\fancyvrb@loaded\endinput