[tex4ht-commits] [SCM] tex4ht updated: r1657 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Wed Mar 5 10:17:00 CET 2025
Author: michal_h21
Date: 2025-03-05 09:16:59 +0000 (Wed, 05 Mar 2025)
New Revision: 1657
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html4.tex
Log:
disable spurious paragraphs inside \lstinline
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2025-03-03 20:50:00 UTC (rev 1656)
+++ trunk/lit/ChangeLog 2025-03-05 09:16:59 UTC (rev 1657)
@@ -1,3 +1,9 @@
+2025-03-05 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-html4.tex (html4.4ht): disable spurious paragraphs inside
+ \lstinline used in tables.
+ https://tug.org/pipermail/tex4ht/2025q1/003713.html
+
2025-03-03 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (nameref.4ht): fixed KOMA-Script \chapter support
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2025-03-03 20:50:00 UTC (rev 1656)
+++ trunk/lit/tex4ht-html4.tex 2025-03-05 09:16:59 UTC (rev 1657)
@@ -15484,12 +15484,13 @@
\subsection{Listings}
%%%%%%%%%%%%%%%%%%%%%
-Inline listings snippets
+Inline listings snippets. We need to suppress fonts and spurious paragraphs,
+which are inserted inside tables.
\<configure html4 listings\><<<
\Configure{lstinline}
- {\HCode{<code class="lstinline">}\NoFonts}
- {\EndNoFonts\HCode{</code>}}
+ {\HCode{<code class="lstinline">}\HtmlParOff\NoFonts}
+ {\EndNoFonts\HtmlParOn\HCode{</code>}}
\Css{code.lstinline{font-family:monospace,monospace;}}
>>>
More information about the tex4ht-commits
mailing list.