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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Apr 24 20:59:13 CEST 2022


Author: michal_h21
Date: 2022-04-24 18:59:13 +0000 (Sun, 24 Apr 2022)
New Revision: 1115

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed spurious space added after environments inside paragraphs

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-04-19 20:40:47 UTC (rev 1114)
+++ trunk/lit/ChangeLog	2022-04-24 18:59:13 UTC (rev 1115)
@@ -1,3 +1,8 @@
+2022-04-24  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (latex.4ht): fixed spurious space inserted after
+	environemnents used inside paragraphs.
+
 2022-04-19  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-sty.tex (tex4ht.sty): output name of the .4tc file to the

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-04-19 20:40:47 UTC (rev 1114)
+++ trunk/lit/tex4ht-4ht.tex	2022-04-24 18:59:13 UTC (rev 1115)
@@ -6812,7 +6812,7 @@
 pile.
 
 \<recall after /end\><<<
-\ifhmode \hfill\break\fi
+% \ifhmode \hfill\break\fi <- this added spurious space after inline environments
 \RecallEverypar
 >>>
 
@@ -6824,7 +6824,9 @@
 \HLet\@doendpe\:tempc
 >>>
 
-The \''\hfill\break' is to help prevent losses of space separators.
+The \''\hfill\break' is to help prevent losses of space separators. But it seems to
+insert spurious space when an environment is used inside paragraph, so I've removed
+it. I hope that it will not break anything.
 
 We might get here leading empty paragrphs after an \`'\end'. Is there
 a way to remove them without a post processor.



More information about the tex4ht-commits mailing list.