texlive[56517] Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht:

commits+karl at tug.org commits+karl at tug.org
Sat Oct 3 00:30:13 CEST 2020


Revision: 56517
          http://tug.org/svn/texlive?view=revision&revision=56517
Author:   karl
Date:     2020-10-03 00:30:13 +0200 (Sat, 03 Oct 2020)
Log Message:
-----------
fancyverb spurious blank lines, tex4ht r802

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=802

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht	2020-10-02 22:15:25 UTC (rev 56516)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht	2020-10-02 22:30:13 UTC (rev 56517)
@@ -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 at LeftListFrame \e:fancyvrb \FancyVerbFormatLine{#1}\f:fancyvrb%
       \FV at RightListFrame \csname FV at RightListNumber\endcsname %
           \d:fancyvrb}}
+\def\FV at ListProcessLine@iii#1{%
+  \box\@tempboxa
+  \setbox\@tempboxa=\FV at ListProcessLine{#1}%
+  \let\FV at ProcessLine\FV at ListProcessLine@iv}
+\def\FV at ListProcessLine@iv#1{%
+  \box\@tempboxa
+  \setbox\@tempboxa=\FV at ListProcessLine{#1}}%
+\def\FV at ListProcessLastLine{%
+  \ifx\FV at ProcessLine\FV at ListProcessLine@iv
+    \box\@tempboxa
+  \else
+    \ifx\FV at ProcessLine\FV at ListProcessLine@iii
+      \box\@tempboxa
+    \else
+      \ifx\FV at ProcessLine\FV at ListProcessLine@i
+        \FV at Error{Empty verbatim environment}{}%
+        \FV at ProcessLine{}%
+      \fi
+    \fi
+  \fi}
+
+
 \def\FV at EndList{\FV at ListProcessLastLine  \FV at EndListFrame%
   \IgnorePar\b:fancyvrb\par\@endparenv%
   \endgroup   \@endpetrue}



More information about the tex-live-commits mailing list.