From 8847b8b44e8edc2c6371af6c3c063571e4bd2207 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 24 Apr 2022 20:20:22 +0000 Subject: spurious spaces, tex4ht r1115 git-svn-id: svn://tug.org/texlive/trunk@63127 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 5 +++++ Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 8 +++++--- Master/texmf-dist/tex/generic/tex4ht/latex.4ht | 10 +++++----- 3 files changed, 15 insertions(+), 8 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index c968321dcf2..7b7268dd0ac 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,8 @@ +2022-04-24 Michal Hoftich + + * tex4ht-4ht.tex (latex.4ht): fixed spurious space inserted after + environemnents used inside paragraphs. + 2022-04-19 Michal Hoftich * tex4ht-sty.tex (tex4ht.sty): output name of the .4tc file to the diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 73fc7351a1a..a77c0644d3b 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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. \<<< -\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. diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht index 0fb08052056..087c4427157 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht @@ -1,4 +1,4 @@ -% latex.4ht (2022-04-14-13:38), generated from tex4ht-4ht.tex +% latex.4ht (2022-04-24-13:19), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari % Copyright 2009-2022 TeX Users Group % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2022-04-14-13:38} +\immediate\write-1{version 2022-04-24-13:19} \ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi @@ -620,7 +620,7 @@ }% {\o:begin:{#1}}} \def\recall:afterend{\ifx \chk:pic\:UnDef - \ifhmode \hfill\break\fi + % \ifhmode \hfill\break\fi <- this added spurious space after inline environments \RecallEverypar \fi} \:CheckOption{hooks+} \if:Option @@ -2308,7 +2308,7 @@ $\vcenter \expandafter\:temp\usepackage!*?: \def\:tempa{\@latex@e@error} \ifx \:temp\:tempa - % latex209.4ht (2022-04-14-13:38), generated from tex4ht-4ht.tex + % latex209.4ht (2022-04-24-13:19), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari % Copyright 2009-2022 TeX Users Group % @@ -2327,7 +2327,7 @@ $\vcenter % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2022-04-14-13:38} +\immediate\write-1{version 2022-04-24-13:19} \let\:fnsymbol\@fnsymbol \def\@fnsymbol#1{{\hbox{$\:fnsymbol{#1}$}}} -- cgit v1.2.3