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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Oct 1 17:04:13 CEST 2024


Author: michal_h21
Date: 2024-10-01 15:04:12 +0000 (Tue, 01 Oct 2024)
New Revision: 1569

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed conflict between piton and xcolor

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-09-30 10:54:58 UTC (rev 1568)
+++ trunk/lit/ChangeLog	2024-10-01 15:04:12 UTC (rev 1569)
@@ -1,3 +1,7 @@
+2024-10-01  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (piton.4ht): load Xcolor if not already loaded.
+
 2024-09-30  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (colortbl-hooks.4ht, colortbl.4ht): added support

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-09-30 10:54:58 UTC (rev 1568)
+++ trunk/lit/tex4ht-4ht.tex	2024-10-01 15:04:12 UTC (rev 1569)
@@ -26492,10 +26492,11 @@
 
 \<piton.4ht\><<<
 % piton.4ht (|version), generated from |jobname.tex
-% Copyright 2023 TeX Users Group
+% Copyright 2023-2024 TeX Users Group
 |<TeX4ht license text|>
 
 \ExplSyntaxOn
+|<piton xcolor|>
 |<piton env|>
 |<piton inlines|>
 \ExplSyntaxOff
@@ -26503,6 +26504,14 @@
 \endinput
 >>> \AddFile{9}{piton}
 
+If Xcolor is not loaded earlier, Piton loads it in the begindocument/before hook. 
+It leads to a compilation error caused by catcodes mismatch.  We can prevent it 
+by loading Xcolor earlier.
+
+\<piton xcolor\><<<
+\IfPackageLoadedTF{xcolor}{}{\RequirePackage{xcolor}}
+>>>
+
 \<piton env\><<<
 
 \NewConfigure{pitonline}{3}



More information about the tex4ht-commits mailing list.