diff options
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 899fcbe89f..e85b3ce283 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1196 2022-09-20 15:05:23Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1199 2022-09-26 13:25:22Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -4886,6 +4886,33 @@ PDF mode, it is safest thing to do to just disable the package. \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} %%%%%%%%%%%%%%%%% |