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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Jun 30 17:09:13 CEST 2016


Author: michal_h21
Date: 2016-06-30 18:09:13 +0300 (Thu, 30 Jun 2016)
New Revision: 178

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed ligatured hyphens in \ScriptEnv

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2016-06-17 11:58:34 UTC (rev 177)
+++ trunk/lit/ChangeLog	2016-06-30 15:09:13 UTC (rev 178)
@@ -1,3 +1,9 @@
+2016-06-30  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex: added \hbox{} to actived hyphen in order to prevent
+	ligatures in environments defined with \ScriptEnv
+	<https://puszcza.gnu.org.ua/bugs/?319>
+
 2016-06-16  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex: added \par command to sectioning commands, there would

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2016-06-17 11:58:34 UTC (rev 177)
+++ trunk/lit/Makefile	2016-06-30 15:09:13 UTC (rev 178)
@@ -19,7 +19,8 @@
   geometry.4ht graphicx.4ht hyperref.4ht listings.4ht \
   memoir.4ht multicol.4ht quoting.4ht reading.4ht \
   scrartcl.4ht scrbook.4ht scrreprt.4ht spanish.4ht subscript.4ht \
-  titlesec.4ht tocloft.4ht wrapfig.4ht usepackage.4ht algorithmic.4ht
+  titlesec.4ht tocloft.4ht wrapfig.4ht usepackage.4ht algorithmic.4ht \
+	latex.4ht
 # and many, many more.
 
 derived += $(tex4ht_bibtex2_derived)

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2016-06-17 11:58:34 UTC (rev 177)
+++ trunk/lit/tex4ht-4ht.tex	2016-06-30 15:09:13 UTC (rev 178)
@@ -5202,6 +5202,7 @@
 
 \<html latex local env\><<<
 \bgroup
+\gdef\:scriptenv:breakhyphen{\hbox{}}
   \catcode`\-=13
   \catcode`\(=1   \catcode`\)=2  \catcode`\/=0
   \catcode`\{=12   \catcode`\}=12  \catcode`\\=12
@@ -5215,7 +5216,7 @@
    /expandafter/def/csname
       b:#1/endcsname(/bgroup /catcode`/-=13 
      /def/:temp####1\end{#1}(/egroup 
-         /def-(/string-/relax)%
+         /def-(/string-/:scriptenv:breakhyphen/relax)%
          ####1/:EndVerbatim%
          /expandafter/def/csname end#1/endcsname()%
          /end(#1))%



More information about the tex4ht-commits mailing list