From fe2d41a246fc609febf5b06f18b75ceadb75729c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Nov 2021 21:24:22 +0000 Subject: fancyvrb (25nov21) git-svn-id: svn://tug.org/texlive/trunk@61154 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/fancyvrb/Changes | 2 ++ .../texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf | Bin 140917 -> 141135 bytes Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty | 22 ++++++++++++++------- 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 Binary files a/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf and b/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf 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 -%% 2000-... , by Herbert Voss +%% 2000-2021 ... , by Herbert Voss %% %% 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 -- cgit v1.2.3