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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Jun 10 20:18:48 CEST 2024


Author: michal_h21
Date: 2024-06-10 18:18:47 +0000 (Mon, 10 Jun 2024)
New Revision: 1528

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
prevent errors with multiple uses of Babel

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-06-06 13:31:52 UTC (rev 1527)
+++ trunk/lit/ChangeLog	2024-06-10 18:18:47 UTC (rev 1528)
@@ -1,3 +1,10 @@
+2024-06-10  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (babel-sty-hooks.4ht): use \ProvideDocumentCommand
+	to define \:babelfont, in order to prevent errors if Babel is used
+	multiple times.
+	https://puszcza.gnu.org.ua/bugs/?626
+
 2024-06-06  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (listings.4ht): fixed error with otherkeywords

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-06-06 13:31:52 UTC (rev 1527)
+++ trunk/lit/tex4ht-4ht.tex	2024-06-10 18:18:47 UTC (rev 1528)
@@ -24954,7 +24954,7 @@
 and can cause loating of OTF fonts
 
 \<babelfont\><<<
-\NewDocumentCommand\:babelfont{o m o m}{}
+\ProvideDocumentCommand\:babelfont{o m o m}{}
 
 \:AtEndOfPackage{%
   % disable \babelfont



More information about the tex4ht-commits mailing list.