diff options
author | Karl Berry <karl@freefriends.org> | 2021-08-12 20:32:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-08-12 20:32:15 +0000 |
commit | adede46a2a27f1cc2d8b50c818583d972f7e966f (patch) | |
tree | 7ec7c1757a6c68c293501a5d5cdb628cdae708ed /Master/texmf-dist/tex | |
parent | 59fa4ec52a1e8198a1f37981f185210f687651c7 (diff) |
fancyvrb (12aug21)
git-svn-id: svn://tug.org/texlive/trunk@60226 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty index 2efbf7d2486..1211daa44e6 100644 --- a/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty +++ b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty @@ -13,9 +13,9 @@ %% verbatim environments and commands and extensive documentation. %% \NeedsTeXFormat{LaTeX2e} -\def\fileversion{3.7} -\def\filedate{2021/01/20} -\ProvidesPackage{fancyvrb}[2021/01/20 v3.7 verbatim text (tvz,hv)] +\def\fileversion{3.8} +\def\filedate{2021/08/12} +\ProvidesPackage{fancyvrb}[2021/08/12 v3.8 verbatim text (tvz,hv)] %\message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)} \csname fancyvrb@loaded\endcsname \let\fancyvrb@loaded\endinput @@ -1001,6 +1001,7 @@ \newcounter{FancyVerbLine} \define@key{FV}{firstnumber}[auto]{% \def\@tempa{#1}\def\@tempb{auto}% + \def\FV@FirstNumber{#1}% added 2021-08-12 \ifx\@tempa\@tempb \def\FV@SetLineNo{% \c@FancyVerbLine\FV@CodeLineNo% @@ -1137,9 +1138,20 @@ \gdef\FV@TheVerbatim{}% \def\FV@ProcessLine##1{% \expandafter\gdef\expandafter\FV@TheVerbatim\expandafter{% - \FV@TheVerbatim\FV@ProcessLine{##1}}}% - \gdef\FV@TheVerbatim{}% - \FV@Scan} +% \FV@TheVerbatim\FV@ProcessLine{##1}}}% 2021-08-12 +% \gdef\FV@TheVerbatim{}% + \FV@TheVerbatim\advance\c@FancyVerbLine\@ne\FV@ProcessLine{##1}}}% + \gdef\FV@TheVerbatim{% + \edef\@tempa{\FV@FirstNumber}% + \def\@tempb{auto}% + \ifx\@tempa\@tempb% + \c@FancyVerbLine\FV@CodeLineNo% + \else% + \c@FancyVerbLine\FV@FirstNumber% + \advance\c@FancyVerbLine\m@ne% + \fi% + }% + \FV@Scan} \def\FVE@SaveVerbatim{% \expandafter\global\expandafter\let \csname FV@SV@\SaveVerbatim@Name\endcsname\FV@TheVerbatim |