texlive[64523] Master/texmf-dist: support lua-widow-control, tex4ht
commits+karl at tug.org
commits+karl at tug.org
Tue Sep 27 00:28:54 CEST 2022
Revision: 64523
http://tug.org/svn/texlive?view=revision&revision=64523
Author: karl
Date: 2022-09-27 00:28:54 +0200 (Tue, 27 Sep 2022)
Log Message:
-----------
support lua-widow-control, tex4ht r1199
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=1199
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
Added Paths:
-----------
trunk/Master/texmf-dist/tex/generic/tex4ht/lua-widow-control-hooks.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-09-26 21:48:39 UTC (rev 64522)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-09-26 22:28:54 UTC (rev 64523)
@@ -1,3 +1,13 @@
+2022-09-26 Michal Hoftich <michal.h21 at 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 at gmail.com>
* tex4ht-html4.tex (html4.4ht): use CSS grid for description list
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2022-09-26 21:48:39 UTC (rev 64522)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2022-09-26 22:28:54 UTC (rev 64523)
@@ -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,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}
%%%%%%%%%%%%%%%%%
Added: trunk/Master/texmf-dist/tex/generic/tex4ht/lua-widow-control-hooks.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/lua-widow-control-hooks.4ht (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/lua-widow-control-hooks.4ht 2022-09-26 22:28:54 UTC (rev 64523)
@@ -0,0 +1,28 @@
+% lua-widow-control-hooks.4ht (2022-09-26-14:05), generated from tex4ht-4ht.tex
+% Copyright 2022 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2022-09-26-14:05}
+
+\:dontusepackage{lua-widow-control}
+% provide dummy definition of package's commands
+\NewDocumentCommand \lwcsetup {m} {}
+\NewDocumentCommand \lwcemergencystretch { } {}
+\def\lwcenable{}
+\def\lwcdisable{}
+\endinput
+
Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/lua-widow-control-hooks.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht 2022-09-26 21:48:39 UTC (rev 64522)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht 2022-09-26 22:28:54 UTC (rev 64523)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2022-09-16-14:11), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-09-26-14:05), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-09-16-14:11}
+\immediate\write-1{version 2022-09-26-14:05}
\def\:temp{tex4ht}\ifx \:temp\@currname
\:warning{\string\usepackage{tex4ht} again?}
@@ -66,6 +66,7 @@
\Configure{PackageHooks}{tikz.sty}{tikz-hooks.4ht}
\Configure{PackageHooks}{pdfbase.sty}{pdfbase-hooks.4ht}
\Configure{PackageHooks}{pdfx.sty}{pdfx-hooks.4ht}
+\Configure{PackageHooks}{lua-widow-control.sty}{lua-widow-control-hooks.4ht}
\Configure{PackageHooks}{breakurl.sty}{breakurl-hooks.4ht}
\Configure{PackageHooks}{hyperref.sty}{hyperref-hooks.4ht}
\Configure{PackageHooks}{bookmark.sty}{bookmark-hooks.4ht}
More information about the tex-live-commits
mailing list.