From c68b477e543f3a001b300adc3e2540990ed54e92 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 26 Sep 2022 22:28:54 +0000 Subject: support lua-widow-control, tex4ht r1199 git-svn-id: svn://tug.org/texlive/trunk@64523 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 10 ++++++++ .../source/generic/tex4ht/tex4ht-4ht.tex | 29 +++++++++++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 9bfa086af12..00d6409a36b 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,13 @@ +2022-09-26 Michal Hoftich + + * tex4ht-fonts-modern.tex ( + ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/mathkerncmssi/mathkerncmssi.htf + ): added support for the Sansmathaccent font. + + * tex4ht-4ht.tex (usepackage.4ht, + lua-widow-control-hooks.4ht): added support for the + Lua-widow-control package. + 2022-09-22 Michal Hoftich * tex4ht-html4.tex (html4.4ht): use CSS grid for description list diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 899fcbe89fc..e85b3ce283d 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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. + +\<<< +\Configure{PackageHooks}{lua-widow-control.sty}{lua-widow-control-hooks.4ht} +>>> + +\<<< +% lua-widow-control-hooks.4ht (|version), generated from |jobname.tex +% Copyright 2022 TeX Users Group +| +\: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} %%%%%%%%%%%%%%%%% -- cgit v1.2.3