summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/fancyvrb/latex/fancyvrb.sty')
-rw-r--r--macros/latex/contrib/fancyvrb/latex/fancyvrb.sty22
1 files changed, 15 insertions, 7 deletions
diff --git a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty b/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
index 47ef7ea7ba..75f418e7be 100644
--- a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
+++ b/macros/latex/contrib/fancyvrb/latex/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