summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-09-26 22:28:54 +0000
committerKarl Berry <karl@freefriends.org>2022-09-26 22:28:54 +0000
commitc68b477e543f3a001b300adc3e2540990ed54e92 (patch)
treeff0d5a693b32fa9691cff69d780a76e68273fcf0 /Master/texmf-dist/source
parentde76806c5523a50cc8d4b5ca94b6039e9145f878 (diff)
support lua-widow-control, tex4ht r1199
git-svn-id: svn://tug.org/texlive/trunk@64523 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog10
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex29
2 files changed, 38 insertions, 1 deletions
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 <michal.h21@gmail.com>
+
+ * 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 <michal.h21@gmail.com>
* 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.
+
+\<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}
%%%%%%%%%%%%%%%%%