diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html4.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index 326305474a5..5e391f1c08c 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht @@ -1,4 +1,4 @@ -% html4.4ht (2021-09-12-15:34), generated from tex4ht-html4.tex +% html4.4ht (2021-09-17-15:30), generated from tex4ht-html4.tex % Copyright 2009-2021 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-09-12-15:34} +\immediate\write-1{version 2021-09-17-15:30} \exit:ifnot{8859-6,% CJK,% @@ -37320,15 +37320,17 @@ description">}% \HCode{<div class="lstlisting" id="listing-\listingN">}% \gdef\start:LstLn{\:nbsp% \HCode{<br />\Hnewline}}} - \bgroup + \bgroup% + % we put the closing </div> here in order to support floating listings + % https://tex.stackexchange.com/a/615703/2891 + \pend:def\lst@DeInit{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}% \Configure{listings} {{\everypar{}\leavevmode}} {{\everypar{}\leavevmode}} {\start:LstLn \HCode{<span class="label">}} {\HCode{</span>}}% } - {\egroup - \ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par} + {\egroup\par} {} {} \Css{.lstlisting .label{margin-right:0.5em; }} \Css{div.lstlisting{font-family: monospace,monospace; white-space: nowrap; |