summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex24
1 files changed, 23 insertions, 1 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 729c5d9b00..4f4a5c6ba5 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1189 2022-08-25 11:20:43Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1193 2022-09-14 14:21:16Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -4412,6 +4412,28 @@ Add dummy .4ht file. We may use it in the future.
>>> \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}
%%%%%%%%%%%%%%%%%