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

commits+karl at tug.org commits+karl at tug.org
Wed Nov 13 23:17:42 CET 2019


Revision: 52781
          http://tug.org/svn/texlive?view=revision&revision=52781
Author:   karl
Date:     2019-11-13 23:17:42 +0100 (Wed, 13 Nov 2019)
Log Message:
-----------
fancyvrb spacing, tex4ht r623

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

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	2019-11-13 21:47:50 UTC (rev 52780)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht	2019-11-13 22:17:42 UTC (rev 52781)
@@ -1,36 +1,28 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% fancyvrb.4ht                          2009-05-21-09:32 %
-% Copyright (C) 1997--2009       Eitan M. Gurari         %
-%                                                        %
-% This work may be distributed and/or modified under the %
-% conditions of the LaTeX Project Public License, either %
-% version 1.3c of this license or (at your option) any   %
-% later version. The latest version of this license is   %
-% in                                                     %
-%   http://www.latex-project.org/lppl.txt                %
-% and version 1.3c or later is part of all distributions %
-% of LaTeX version 2005/12/01 or later.                  %
-%                                                        %
-% This work has the LPPL maintenance status "maintained".%
-%                                                        %
-% This Current Maintainer of this work                   %
-% is Eitan M. Gurari.                                    %
-%                                                        %
-% If you modify this program your changing its signature %
-% with a directive of the following form will be         %
-% appreciated.                                           %
-%            \message{signature}                         %
-%                                                        %
-%                             gurari at cse.ohio-state.edu  %
-%                 http://www.cse.ohio-state.edu/~gurari  %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2009-05-21-09:32}
+% fancyvrb.4ht                          2019-11-13-14:16 %
+% Copyright (C) 1997-2009       Eitan M. Gurari         %
+% Copyright 2009-2019 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
 
-
    \pend:def\FV at FormattingPrep{\let\fv:color\empty
   \ifx \color\:UnDef\else\Configure{color}{\xdef\fv:color}\fi
 }
-\append:def\FV at FormattingPrep{\a:fancyvrb
+\append:def\FV at FormattingPrep{\a:fancyvrb%
    \ifx \FV at BeginListFrame\relax\else
    \tmp:dim=\FV at FrameRule \edef\HSize{\the\tmp:dim}%
    \a:fancyvrbframe
@@ -49,13 +41,13 @@
 \fi
 %
    \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!*?: %
   \fi
-  \ifx \FancyVerbRuleColor\relax \else
+  \ifx \FancyVerbRuleColor\relax \else%
      \:fvcolor \c:fancyvrbcolor \FancyVerbRuleColor!*?: %
   \fi
 \egroup
@@ -66,15 +58,15 @@
 %
 }
 \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}
 \begingroup
@@ -90,57 +82,57 @@
     \expandafter\@tempa\string#1{\mbox{\a:verb##2\b:verb}\endgroup}%
     \FancyVerbGetVerb\FV at EOL}%
 \endgroup
-\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}}
 \def\:fvcolor#1{\def\a:color##1##2!*?: {%
-   \Configure{SetHColor}#1{##1}}}
+   \Configure{SetHColor}#1{##1}}}%
 \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}}
 \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}
 \def\V@@footnotetext{%
-\leavevmode
-   \vbox\bgroup
+\leavevmode%
+   \vbox\bgroup%
       \leftskip0pt {\ht:everypar{}\parindent0pt\leavevmode}%
       \protected at edef
   \@currentlabel{\csname p at footnote\endcsname\@thefnmark}%
 \anc:lbl f{footnote}%
 %
-      \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@]}%
 }
 



More information about the tex-live-commits mailing list