[tex4ht-commits] [SCM] tex4ht updated: r1199 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Mon Sep 26 15:25:22 CEST 2022
Author: michal_h21
Date: 2022-09-26 13:25:22 +0000 (Mon, 26 Sep 2022)
New Revision: 1199
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
Added support for the Lua-widow-control package
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-09-22 15:05:34 UTC (rev 1198)
+++ trunk/lit/ChangeLog 2022-09-26 13:25:22 UTC (rev 1199)
@@ -1,3 +1,9 @@
+2022-09-26 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (usepackage.4ht,
+ lua-widow-control-hooks.4ht): added support for the
+ Lua-widow-control package.
+
2022-09-22 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4.4ht): use CSS grid for description list
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2022-09-22 15:05:34 UTC (rev 1198)
+++ trunk/lit/tex4ht-4ht.tex 2022-09-26 13:25:22 UTC (rev 1199)
@@ -4886,7 +4886,34 @@
\endinput
>>> \AddFile{9}{pdfx-hooks}
+
%%%%%%%%%%%%%%%%%
+\Section{lua-widow-control}
+%%%%%%%%%%%%%%%%%
+
+The lua-widow-control package uses LuaTeX hooks to remove windows and orphans
+on pages. We need to disable it, as it interferes with TeX4ht and produces
+a fatal error.
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{lua-widow-control.sty}{lua-widow-control-hooks.4ht}
+>>>
+
+\<lua-widow-control-hooks.4ht\><<<
+% lua-widow-control-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht license text|>
+\:dontusepackage{lua-widow-control}
+% provide dummy definition of package's commands
+\NewDocumentCommand \lwcsetup {m} {}
+\NewDocumentCommand \lwcemergencystretch { } {}
+\def\lwcenable{}
+\def\lwcdisable{}
+\endinput
+>>> \AddFile{9}{lua-widow-control-hooks}
+
+
+%%%%%%%%%%%%%%%%%
\Section{animate.sty}
%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.