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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Wed Feb 26 12:49:39 CET 2020


Author: michal_h21
Date: 2020-02-26 13:49:38 +0200 (Wed, 26 Feb 2020)
New Revision: 668

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
   trunk/lit/tex4ht-mathml.tex
Log:
Use breakable space for the '\ ' command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-02-24 21:29:20 UTC (rev 667)
+++ trunk/lit/ChangeLog	2020-02-26 11:49:38 UTC (rev 668)
@@ -1,3 +1,10 @@
+2020-02-26 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (latex.4ht, plain.4ht),
+	tex4ht-mathml.tex (mathml.4ht),
+	tex4ht-html4.tex (html4.4ht): use breakable space for the "\ " command.
+	https://puszcza.gnu.org.ua/bugs/?449
+
 2020-02-24 Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-oo-xtpipes.tex (oo-text.4xt): don't process <t4htlink> elements

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2020-02-24 21:29:20 UTC (rev 667)
+++ trunk/lit/tex4ht-4ht.tex	2020-02-26 11:49:38 UTC (rev 668)
@@ -34427,6 +34427,7 @@
 
 \<config latex.ltx shared\><<<
 \let\sp:c|=\  |<latex,plain sp|>
+\let\nobreakspace\:nbsp
 >>>
 
 \<config plain shared\><<<
@@ -34439,6 +34440,7 @@
 \NewConfigure{ }[1]{\def\:temp{#1}%
    \ifx \:temp\empty \let\a:sp|=\sp:c\else\def\a:sp{#1}\fi}
 \def\:nbsp{\leavevmode\special{t4ht at +\string&{35}x00A0{59}}x} 
+\def\:ensp{\leavevmode\special{t4ht at +\string&{35}x2002{59}}x} 
 \Configure{ }{\:nbsp}
 >>>
 

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2020-02-24 21:29:20 UTC (rev 667)
+++ trunk/lit/tex4ht-html4.tex	2020-02-26 11:49:38 UTC (rev 668)
@@ -7693,7 +7693,7 @@
 >>>
 
 \<0,32,4 plain,latex\><<<
-\Configure{ }{\:nbsp}
+\Configure{ }{\:ensp}
 >>>
 
 

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2020-02-24 21:29:20 UTC (rev 667)
+++ trunk/lit/tex4ht-mathml.tex	2020-02-26 11:49:38 UTC (rev 668)
@@ -714,7 +714,7 @@
 \Configure{ }
    {\ifmathml \ifmtext \space \else\Tg<\a:mathml mspace 
     width="0.33em" \mml:class="nbsp" />\fi
-    \else \:nbsp\fi} 
+    \else \:ensp\fi} 
 >>>
 
 
@@ -3971,12 +3971,17 @@
 \<plain,latex mathml\><<<
 \def\:nbsp{\ifmtext |<unicode space|>\else\ifmathml
     \Tg<\a:mathml mspace />\else |<unicode space|>\fi\fi}
+\def\:ensp{\ifmtext |<unicode enspace|>\else\ifmathml
+    \Tg<\a:mathml mspace />\else |<unicode enspace|>\fi\fi}
 >>>
 
 \<unicode space\><<<
 \leavevmode\special{t4ht at +\string&{35}x00A0{59}}x%
 >>>
 
+\<unicode enspace\><<<
+\leavevmode\special{t4ht at +\string&{35}x2002{59}}x%
+>>>
 % \HCode{\string&}\HChar{-35}\HCode{x00A0;}%
 
 



More information about the tex4ht-commits mailing list.