summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-04-25 03:01:49 +0000
committerNorbert Preining <norbert@preining.info>2022-04-25 03:01:49 +0000
commit4688b855bb6f8b817901a7c777e8aecd1a189622 (patch)
treeaa75c3ff4a3d691e41b2cffe0c37824cfa435230 /support
parent525912b963dd339500c863995e046af658dbdcf6 (diff)
CTAN sync 202204250301
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog5
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex8
2 files changed, 10 insertions, 3 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index c968321dcf..7b7268dd0a 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,8 @@
+2022-04-24 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (latex.4ht): fixed spurious space inserted after
+ environemnents used inside paragraphs.
+
2022-04-19 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-sty.tex (tex4ht.sty): output name of the .4tc file to the
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 73fc7351a1..a77c0644d3 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1113 2022-04-17 10:39:05Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1115 2022-04-24 18:59:13Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -6812,7 +6812,7 @@ The \''\@doendpe' deals with piles of \''\end's. The
pile.
\<recall after /end\><<<
-\ifhmode \hfill\break\fi
+% \ifhmode \hfill\break\fi <- this added spurious space after inline environments
\RecallEverypar
>>>
@@ -6824,7 +6824,9 @@ pile.
\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.