summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-02 22:30:13 +0000
committerKarl Berry <karl@freefriends.org>2020-10-02 22:30:13 +0000
commit1926c82051a60ba2da68ed6f8460e8c09dc7472f (patch)
tree2c0bb42cabe217703f51669ec23b5525908aeadd /Master/texmf-dist
parent2ed0473c1750059c4f2b8927703db95ee0f05345 (diff)
fancyverb spurious blank lines, tex4ht r802
git-svn-id: svn://tug.org/texlive/trunk@56517 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht26
1 files changed, 24 insertions, 2 deletions
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}