summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-12-21 21:45:56 +0000
committerKarl Berry <karl@freefriends.org>2021-12-21 21:45:56 +0000
commitc7c088867146fe0f03f16ce078685a9bda733d5f (patch)
tree04aaeb7b1135b94bbf56eebebd9ad01049981d24 /Master/texmf-dist/doc
parent39dadf705f864a0ad683aeb86bac5f4d9b4b8138 (diff)
fancyvrb (21dec21)
git-svn-id: svn://tug.org/texlive/trunk@61368 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/fancyvrb/Changes1
-rw-r--r--Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdfbin141135 -> 141124 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex20
3 files changed, 16 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/fancyvrb/Changes b/Master/texmf-dist/doc/latex/fancyvrb/Changes
index 31b72a061c4..c903c62ef22 100644
--- a/Master/texmf-dist/doc/latex/fancyvrb/Changes
+++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf b/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf
index 532bcc51d2f..55ccaceaabf 100644
--- a/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf
+++ b/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex b/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex
index 434aa99f991..40cb65ff838 100644
--- a/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex
+++ b/Master/texmf-dist/doc/latex/fancyvrb/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