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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Jan 26 11:02:35 CET 2021


Author: michal_h21
Date: 2021-01-26 12:02:34 +0200 (Tue, 26 Jan 2021)
New Revision: 874

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
Fix for French Polyglossia

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-01-24 21:26:53 UTC (rev 873)
+++ trunk/lit/ChangeLog	2021-01-26 10:02:34 UTC (rev 874)
@@ -1,3 +1,9 @@
+2021-01-26  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (gloss-french.4ht): fix for \nobreakspace error with
+	characters made active in French Polyglossia.
+	https://tex.stackexchange.com/a/580505/2891
+
 2021-01-24  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (latex.4ht): added support for environment hooks.

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2021-01-24 21:26:53 UTC (rev 873)
+++ trunk/lit/mktex4ht-cnf.tex	2021-01-26 10:02:34 UTC (rev 874)
@@ -342,6 +342,7 @@
 \AddFile{9}{exam}
 \AddFile{9}{ctex}
 \AddFile{9}{polyglossia}
+\AddFile{9}{gloss-french}
 \AddFile{9}{fontspec}
 \AddFile{9}{fontspec-xetex}
 \AddFile{9}{fontspec-luatex}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-01-24 21:26:53 UTC (rev 873)
+++ trunk/lit/tex4ht-4ht.tex	2021-01-26 10:02:34 UTC (rev 874)
@@ -3960,7 +3960,21 @@
 \endinput
 >>> \AddFile{9}{polyglossia}
 
+Fix for French Polyglossia. It makes lot of characters active. This can clash 
+with TeX4ht. For example : character in title results in fatal error.
 
+\<gloss-french.4ht\><<<
+% gloss-french.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+|<TeX4ht license text|>
+\pend:def\french at punctuation{\bgroup\let\nobreakspace\space}
+\append:def\french at punctuation{\egroup}
+\Hinput{gloss-french}
+\endinput
+>>> \AddFile{9}{gloss-french}
+
+
+
 %%%%%%%%%%%%%%%%%
 \Section{fontspec}
 %%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.