From 1926c82051a60ba2da68ed6f8460e8c09dc7472f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 2 Oct 2020 22:30:13 +0000 Subject: fancyverb spurious blank lines, tex4ht r802 git-svn-id: svn://tug.org/texlive/trunk@56517 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht | 26 +++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht b/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht index 050ea6560fe..a7665e4a3cc 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht @@ -1,7 +1,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% fancyvrb.4ht 2019-11-13-14:16 % +% fancyvrb.4ht 2020-10-02-15:28 % % Copyright (C) 1997-2009 Eitan M. Gurari % -% Copyright 2009-2019 TeX Users Group +% Copyright 2009-2020 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -62,6 +62,28 @@ \FV@LeftListFrame \e:fancyvrb \FancyVerbFormatLine{#1}\f:fancyvrb% \FV@RightListFrame \csname FV@RightListNumber\endcsname % \d:fancyvrb}} +\def\FV@ListProcessLine@iii#1{% + \box\@tempboxa + \setbox\@tempboxa=\FV@ListProcessLine{#1}% + \let\FV@ProcessLine\FV@ListProcessLine@iv} +\def\FV@ListProcessLine@iv#1{% + \box\@tempboxa + \setbox\@tempboxa=\FV@ListProcessLine{#1}}% +\def\FV@ListProcessLastLine{% + \ifx\FV@ProcessLine\FV@ListProcessLine@iv + \box\@tempboxa + \else + \ifx\FV@ProcessLine\FV@ListProcessLine@iii + \box\@tempboxa + \else + \ifx\FV@ProcessLine\FV@ListProcessLine@i + \FV@Error{Empty verbatim environment}{}% + \FV@ProcessLine{}% + \fi + \fi + \fi} + + \def\FV@EndList{\FV@ListProcessLastLine \FV@EndListFrame% \IgnorePar\b:fancyvrb\par\@endparenv% \endgroup \@endpetrue} -- cgit v1.2.3