[tex4ht-commits] [SCM] tex4ht updated: r623 - trunk/lit

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Wed Nov 13 23:07:58 CET 2019


Author: michal_h21
Date: 2019-11-14 00:07:57 +0200 (Thu, 14 Nov 2019)
New Revision: 623

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed fancyvrb spacing issues

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-11-07 23:52:13 UTC (rev 622)
+++ trunk/lit/ChangeLog	2019-11-13 22:07:57 UTC (rev 623)
@@ -1,3 +1,7 @@
+2019-11-13 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (fancyvrb.4ht): fixed spacing issues.
+
 2019-11-07  Karl Berry  <karl at freefriends.org>
 
 	* tex4ht-cond4ht.tex (cond4ht.4ht, mktex4ht.4ht): copyright years.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-11-07 23:52:13 UTC (rev 622)
+++ trunk/lit/tex4ht-4ht.tex	2019-11-13 22:07:57 UTC (rev 623)
@@ -23484,7 +23484,7 @@
 
 \<fix fancyvrb\><<<
 \pend:def\FV at FormattingPrep{|<find color for fancyvrb|>}
-\append:def\FV at FormattingPrep{\a:fancyvrb
+\append:def\FV at FormattingPrep{\a:fancyvrb%
    |<frames for fancyvrb|>%
    |<color for fancyvrb|>%
 }
@@ -23494,15 +23494,15 @@
 
 \<fix fancyvrb\><<<
 \def\FV at ListProcessLine#1{%
-    \hbox{\c:fancyvrb \anc:lbl r{FancyVerbLine}\FV at LeftListNumber
-      \FV at LeftListFrame \e:fancyvrb \FancyVerbFormatLine{#1}\f:fancyvrb
-      \FV at RightListFrame \csname FV at RightListNumber\endcsname 
+    \hbox{\c:fancyvrb \anc:lbl r{FancyVerbLine}\FV at LeftListNumber%
+      \FV at LeftListFrame \e:fancyvrb \FancyVerbFormatLine{#1}\f:fancyvrb%
+      \FV at RightListFrame \csname FV at RightListNumber\endcsname %
           \d:fancyvrb}}
-\def\FV at EndList{\FV at ListProcessLastLine  \FV at EndListFrame
-  \IgnorePar\b:fancyvrb\par\@endparenv
+\def\FV at EndList{\FV at ListProcessLastLine  \FV at EndListFrame%
+  \IgnorePar\b:fancyvrb\par\@endparenv%
   \endgroup   \@endpetrue}
 \def\FV at StepLineNo{%
-  \FV at SetLineNo
+  \FV at SetLineNo%
   \def\FV at StepLineNo{\SkipRefstepAnchor\refstepcounter{FancyVerbLine}}%
   \FV at StepLineNo}
 >>>
@@ -23538,8 +23538,8 @@
 >>>
 
 \<fix fancyvrb\><<<
-\def\FV at UseVerb#1{\mbox{\FV at UseKeyValues
-   \let\a:fancyvrb|=\empty \FV at FormattingPrep
+\def\FV at UseVerb#1{\mbox{\FV at UseKeyValues%
+   \let\a:fancyvrb|=\empty \FV at FormattingPrep%
    \a:verb #1\b:verb}}
 >>>
 
@@ -23552,13 +23552,13 @@
 
 \<color for fancyvrb\><<<
 \bgroup
-  \ifx \fv:color\empty \else{
-     \let\HColor\fv:color \a:fancyvrbcolor
+  \ifx \fv:color\empty \else{%
+     \let\HColor\fv:color \a:fancyvrbcolor%
   }\fi
-  \ifx \FancyVerbFillColor\relax \else
+  \ifx \FancyVerbFillColor\relax \else%
      \:fvcolor \b:fancyvrbcolor \FancyVerbFillColor|<par del|>%
   \fi
-  \ifx \FancyVerbRuleColor\relax \else
+  \ifx \FancyVerbRuleColor\relax \else%
      \:fvcolor \c:fancyvrbcolor \FancyVerbRuleColor|<par del|>%
   \fi
 \egroup
@@ -23570,7 +23570,7 @@
 
 \<fix fancyvrb\><<<
 \def\:fvcolor#1{\def\a:color##1##2|<par del|>{%
-   \Configure{SetHColor}#1{##1}}}
+   \Configure{SetHColor}#1{##1}}}%
 >>>
 
 \<fancyvrb.sty shared config\><<<
@@ -23614,15 +23614,15 @@
 
 \<fix fancyvrb\><<<
 \define at key{FV}{framerule}{%
-  \@tempdima=#1\relax
+  \@tempdima=#1\relax%
   \edef\FV at FrameRule{\number\@tempdima sp\relax}%
-  {\Advance:\fancyvrbNo by 1   \tmp:dim=\FV at FrameRule
+  {\Advance:\fancyvrbNo by 1   \tmp:dim=\FV at FrameRule%
    \edef\HSize{\the\tmp:dim}%
    \e:fancyvrbframe}}
 \define at key{FV}{framesep}{%
-  \@tempdima=#1\relax
+  \@tempdima=#1\relax%
   \edef\FV at FrameSep{\number\@tempdima sp\relax}%
-  {\Advance:\fancyvrbNo by 1    \tmp:dim=\FV at FrameSep
+  {\Advance:\fancyvrbNo by 1    \tmp:dim=\FV at FrameSep%
    \edef\HSize{\the\tmp:dim}%
    \f:fancyvrbframe}}
 >>>
@@ -23633,16 +23633,16 @@
 
 \<fix fancyvrb\><<<
 \def\FV at BVerbatimBegin{%
-  \begingroup
-    \let\a:fancyvrb\empty \IgnorePar
-    \FV at UseKeyValues
-    \FV at BeginVBox
-    \let\FV at ProcessLine\FV at BProcessLine
-    \FV at FormattingPrep
-    \FV at ObeyTabsInit \a:BVerbatimInput
+  \ht:special{t4ht@(}\begingroup%
+    \let\a:fancyvrb\empty\IgnorePar%
+    \FV at UseKeyValues%
+    \FV at BeginVBox%
+    \let\FV at ProcessLine\FV at BProcessLine%
+    \FV at FormattingPrep%
+    \FV at ObeyTabsInit\a:BVerbatimInput\ht:special{t4ht@)}
 }%
-\def\FV at BVerbatimEnd{\b:BVerbatimInput \FV at EndVBox\endgroup}
-\def\FV at BProcessLine#1{\hbox{\FancyVerbFormatLine
+\def\FV at BVerbatimEnd{\b:BVerbatimInput\ht:special{t4ht@(}\FV at EndVBox\ht:special{t4ht@)}\endgroup}
+\def\FV at BProcessLine#1{\hbox{\FancyVerbFormatLine%
    {\c:BVerbatimInput#1\d:BVerbatimInput}}}   
 \NewConfigure{BVerbatimInput}{4}
 >>>
@@ -23653,38 +23653,38 @@
 
 \<fix fancyvrb\><<<
 \def\V@@footnotetext{%
-\leavevmode
-   \vbox\bgroup
+\leavevmode%
+   \vbox\bgroup%
       \leftskip0pt {\ht:everypar{}\parindent0pt\leavevmode}%
       |<footnote label|>%
-      \a:footnotetext
-      \b:footnotetext
-      \csname a:footnotebody\endcsname
-      \bgroup
-          \reset at font\footnotesize
-          \bgroup 
-             \aftergroup\V@@@footnotetext 
-             \ignorespaces
+      \a:footnotetext%
+      \b:footnotetext%
+      \csname a:footnotebody\endcsname%
+      \bgroup%
+          \reset at font\footnotesize%
+          \bgroup %
+             \aftergroup\V@@@footnotetext %
+             \ignorespaces%
 }
 \def\V@@@footnotetext{%
-      \egroup
-      \csname b:footnotebody\endcsname
-      \c:footnotetext
+      \egroup%
+      \csname b:footnotebody\endcsname%
+      \c:footnotetext%
    \ht:special{t4ht@[}\egroup\ht:special{t4ht@]}%
 }
 >>>
 
 \<fix fancyvrbNO\><<<
 \pend:def\V@@footnotetext{%
-   \let\FNmark|=\@thefnmark
-   \begingroup
-   \ifnum \FNnum>\fn:txt
-      \gHAssign\fn:txt|=\FNnum
+   \let\FNmark|=\@thefnmark%
+   \begingroup%
+   \ifnum \FNnum>\fn:txt%
+      \gHAssign\fn:txt|=\FNnum%
       \def\@makefnmark{\hbox{\ExitHPage{\a:footnote}}}%
       \b:footnote \def\end:fverb{\c:footnote}%
-   \else
-      \a:footnotetext \b:footnotetext \let\end:fverb|=\c:footnotetext
-   \fi
+   \else%
+      \a:footnotetext \b:footnotetext \let\end:fverb|=\c:footnotetext%
+   \fi%
    \:gobbleII}
 \append:def\V@@@footnotetext{\end:fverb\endgroup}
 >>>



More information about the tex4ht-commits mailing list