From d3f343ee35e87efabdba0a81fde2208bcc8d63ce Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 19 May 2008 00:43:52 +0000 Subject: fancyvrb update (13may08) git-svn-id: svn://tug.org/texlive/trunk@8226 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/fancyvrb') diff --git a/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty index c60034a5c52..19b0b7b717f 100644 --- a/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty +++ b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty @@ -32,6 +32,7 @@ %% Timothy Van Zandt %% July 17, 1998 %% + %% COPYRIGHT 1992-1999, by Timothy Van Zandt %% %% This package may be distributed under the terms of the LaTeX Project Public @@ -45,8 +46,8 @@ %% This is a companion to the `fancybox' package. %% \NeedsTeXFormat{LaTeX2e} -\def\fileversion{2.6, with DG/SPQR fixes} -\def\filedate{1998/07/17} +\def\fileversion{2.7a, with DG/SPQR fixes, and firstline=lastline fix} +\def\filedate{2008/02/07} \ProvidesPackage{fancyvrb}[\filedate] \message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)} \csname fancyvrb@loaded\endcsname @@ -258,13 +259,17 @@ \let\FV@FindStartStop\FV@FindStopString \fi} \def\FV@FindStopNum{% - \ifnum\FancyVerbStopNum=\FV@CodeLineNo + \ifnum\FancyVerbStopNum>\FV@CodeLineNo + \else \let\FV@FindStartStop\relax \ifeof\FV@InFile\else \immediate\closein\FV@InFile \fi \fi - \FV@@PreProcessLine} + \ifnum\FancyVerbStopNum<\FV@CodeLineNo + \else + \FV@@PreProcessLine + \fi} %% SR modification begin - 1996 \def\FV@FindStopString{% \expandafter\FV@@FindStopString @@ -1412,9 +1417,9 @@ \ignorespaces} \def\endlrbox{\unskip\egroup} \fi -%% DG/SR modification begin - Jan. 22, 1998 +%% DG/SR modification begin - Mar 21 2000 %%\@input{fancyvrb.rc} -\@input{fancyvrb.cfg} +\InputIfFileExists{fancyvrb.cfg}{}{} %% DG/SR modification end \endinput %% -- cgit v1.2.3