[tex4ht-commits] [SCM] tex4ht updated: r909 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Sun Apr 25 13:56:45 CEST 2021
Author: michal_h21
Date: 2021-04-25 11:56:45 +0000 (Sun, 25 Apr 2021)
New Revision: 909
Modified:
trunk/lit/tex4ht-4ht.tex
Log:
\:nbsp should output space inside picture
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2021-04-25 11:02:27 UTC (rev 908)
+++ trunk/lit/tex4ht-4ht.tex 2021-04-25 11:56:45 UTC (rev 909)
@@ -35152,15 +35152,15 @@
\<config latex.ltx shared\><<<
\let\sp:c|=\ |<latex,plain sp|>
-\def\:nbsp{\protect\leavevmode\ht:special{t4ht at +\string&{35}x00A0{59}}\a:HChar}
+\def\:nbsp{\ifx\EndPicture\:UnDef\protect\leavevmode\ht:special{t4ht at +\string&{35}x00A0{59}}\a:HChar\else\leavevmode\nobreak\ \fi}
\def\:ensp{\protect\leavevmode\ht:special{t4ht at +\string&{35}x2002{59}}\a:HChar}
\let\nobreakspace\:nbsp
>>>
\<config plain shared\><<<
\let\sp:c|=\space |<latex,plain sp|>%
-\def\:nbsp{\leavevmode\ht:special{t4ht at +\string&{35}x00A0{59}}\a:HChar}
-\def\:ensp{\leavevmode\ht:special{t4ht at +\string&{35}x2002{59}}\a:HChar}
+\def\:nbsp{\ifx\EndPicture\:UnDef\leavevmode\ht:special{t4ht at +\string&{35}x00A0{59}}\a:HChar}
+\def\:ensp{\leavevmode\ht:special{t4ht at +\string&{35}x2002{59}}\a:HChar\else\leavevmode\nobreak\ \fi}
>>>
\<latex,plain sp\><<<
More information about the tex4ht-commits
mailing list.