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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Sep 14 16:21:16 CEST 2022


Author: michal_h21
Date: 2022-09-14 14:21:16 +0000 (Wed, 14 Sep 2022)
New Revision: 1193

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
prevent luatexja package from loading

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-09-13 09:58:20 UTC (rev 1192)
+++ trunk/lit/ChangeLog	2022-09-14 14:21:16 UTC (rev 1193)
@@ -1,3 +1,9 @@
+2022-09-14  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (usepackage.4ht, luatexja-hooks.4ht): prevent
+	luatexja and luatexja-fontspec packages from loading.
+	https://tex.stackexchange.com/a/287890/2891
+
 2022-08-29  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4-math.4ht),

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2022-09-13 09:58:20 UTC (rev 1192)
+++ trunk/lit/mktex4ht-cnf.tex	2022-09-14 14:21:16 UTC (rev 1193)
@@ -356,6 +356,7 @@
 \AddFile{9}{exam}
 \AddFile{9}{ctex}
 \AddFile{9}{ctexart}
+\AddFile{9}{luatexja-hooks}
 \AddFile{9}{polyglossia}
 \AddFile{9}{gloss-french}
 \AddFile{9}{fontspec}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-09-13 09:58:20 UTC (rev 1192)
+++ trunk/lit/tex4ht-4ht.tex	2022-09-14 14:21:16 UTC (rev 1193)
@@ -4412,6 +4412,28 @@
 >>> \AddFile{9}{ctexart}
 
 %%%%%%%%%%%%%%%%%
+\Section{luatexja}
+%%%%%%%%%%%%%%%%%
+
+The LuaTeX-ja package produces fatal errors with \TeX4ht, so we need to disable it. 
+The same is true also for the luatexja-fontspec package.
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{luatexja.sty}{luatexja-hooks.4ht}
+\Configure{PackageHooks}{luatexja-fontspec.sty}{luatexja-hooks.4ht}
+>>>
+
+\<luatexja-hooks.4ht\><<<
+% luatexja-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht license text|>
+\:dontusepackage{luatexja}
+\:dontusepackage{luatexja-fontspec}
+\endinput
+>>> \AddFile{9}{luatexja-hooks}
+
+
+%%%%%%%%%%%%%%%%%
 \Section{polyglossia}
 %%%%%%%%%%%%%%%%%
 



More information about the tex4ht-commits mailing list.