summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-25 21:24:22 +0000
committerKarl Berry <karl@freefriends.org>2021-11-25 21:24:22 +0000
commitfe2d41a246fc609febf5b06f18b75ceadb75729c (patch)
tree3a9efaddba6a3a1f4d89984e2a943af7b00feef7
parent91c444a271f31d785e695b9c74e4dbaaede3f6bc (diff)
fancyvrb (25nov21)
git-svn-id: svn://tug.org/texlive/trunk@61154 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/fancyvrb/Changes2
-rw-r--r--Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdfbin140917 -> 141135 bytes
-rw-r--r--Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty22
3 files changed, 17 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/fancyvrb/Changes b/Master/texmf-dist/doc/latex/fancyvrb/Changes
index 7033c93e33e..31b72a061c4 100644
--- a/Master/texmf-dist/doc/latex/fancyvrb/Changes
+++ b/Master/texmf-dist/doc/latex/fancyvrb/Changes
@@ -1,4 +1,6 @@
--- fancyvrb.sty
+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)
3.9 2021/10/15 - fix for \@currentcounter and \@currentlabel (hv)
3.8 2021/08/12 - fix for linenumbers and reused SaveVerbatim (hv)
diff --git a/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf b/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf
index 3542c93f542..532bcc51d2f 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/tex/latex/fancyvrb/fancyvrb.sty b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
index 47ef7ea7bad..75f418e7be5 100644
--- a/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
+++ b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
@@ -2,7 +2,7 @@
%% This is file `fancyvrb.sty',
%%
%% COPYRIGHT 1992-1999, by Timothy Van Zandt <tvz@zandtwerk.kellogg.nwu.edu>
-%% 2000-... , by Herbert Voss <hvoss@tug.org>
+%% 2000-2021 ... , by Herbert Voss <hvoss@tug.org>
%%
%% This package may be distributed under the terms of the LaTeX Project Public
%% License, as described in lppl.txt in the base LaTeX distribution.
@@ -13,9 +13,9 @@
%% verbatim environments and commands and extensive documentation.
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{4.0}
-\def\filedate{2021/11/19}
-\ProvidesPackage{fancyvrb}[2021/11/18 v4.0 verbatim text (tvz,hv)]
+\def\fileversion{4.1a}
+\def\filedate{2021/11/24}
+\ProvidesPackage{fancyvrb}[\filedate~ \fileversion ~verbatim text (tvz,hv)]
%\message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)}
\csname fancyvrb@loaded\endcsname
\let\fancyvrb@loaded\endinput
@@ -168,7 +168,9 @@
\def\KV@FV@firstline@default{%
\let\FancyVerbStartNum\z@
\let\FancyVerbStartString\relax}
+%
\def\FancyVerbStopNum{1}
+%
\define@key{FV}{lastline}{%
\afterassignment\FV@ParseStop\@tempcnta=0#1\relax\@nil{#1}}
\def\FV@ParseStop#1\relax\@nil#2{%
@@ -178,10 +180,16 @@
\else
\edef\FancyVerbStopString{#2}%
\fi}
+%\def\KV@FV@lastline@default{%
+% \let\FancyVerbStopNum\z@
+% \let\FancyVerbStopString\relax}
\def\KV@FV@lastline@default{%
- \let\FancyVerbStopNum\z@
- \let\FancyVerbStopString\relax}
-\fvset{firstline,lastline=\m@ne}
+ \let\FancyVerbStopNum\m@ne
+ \let\FancyVerbStopString\relax
+}
+\KV@FV@firstline@default
+\KV@FV@lastline@default
+\fvset{firstline,lastline}
\newcount\FV@CodeLineNo
\def\FV@PreProcessLine{%
\global\advance\FV@CodeLineNo\@ne