summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-01 23:30:24 +0000
committerKarl Berry <karl@freefriends.org>2024-03-01 23:30:24 +0000
commitf3f9498afcdfa6aba15b8a6c3c238162d695c15c (patch)
treeca481aee317d5e2f96fe5024c0d50d4808129d30 /Master/texmf-dist/source
parentad1df3664dbe82f82da23c74220a17908d30d94d (diff)
draftwatermark support, tex4ht r1483; xltabular, tex4ht r1482,r1484
git-svn-id: svn://tug.org/texlive/trunk@70342 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/mktex4ht-cnf.tex5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex65
3 files changed, 78 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 086599fff3a..737d8995ded 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,13 @@
+2024-01-01 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (draftwatermark.4ht, draftwatermark-hooks.4ht):
+ disable the watermarks inserted by the Draftwatermark package.
+
+ * tex4ht-4ht.tex (xltabular.4ht): a better fix for Xltabular.
+
+ * tex4ht-4ht.tex (xltabular.4ht): fixed longtable errors caused by
+ Xltabular.
+
2024-02-29 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-html4.tex (html4.4ht): use \HCode to print <div> for
diff --git a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
index 13b9e3dee4e..953ee65cece 100644
--- a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1461 2024-02-13 15:20:24Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1483 2024-03-01 13:57:26Z michal_h21 $
% Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
% Read by tex4ht-cond4ht.
%
@@ -39,6 +39,8 @@
\AddFile{9}{path}
\AddFile{7}{hyperref}
\AddFile{9}{hypcap}
+\AddFile{9}{draftwatermark}
+\AddFile{9}{draftwatermark-hooks}
\AddFile{8}{fleqn}
\AddFile{7}{supertabular}
\AddFile{7}{array}
@@ -48,6 +50,7 @@
\AddFile{8}{tabulary}
\AddFile{8}{tabulary-a}
\AddFile{7}{tabularx}
+\AddFile{7}{xltabular}
\AddFile{9}{tabu}
\AddFile{7}{arydshln}
\AddFile{9}{threeparttable}
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index dada4784b3e..079c5a12483 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 1480 2024-02-29 16:20:20Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1484 2024-03-01 21:17:29Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -6574,7 +6574,9 @@ Hype: \hyperref[sec:foobar]{Link to Section \ref*{sec:foobar}}
\EndVerbatim
\EndHPage{}]
+%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{bookmark.sty}
+%%%%%%%%%%%%%%%%%%%%%%%%%
\<add to usepackage\><<<
\Configure{PackageHooks}{bookmark.sty}{bookmark-hooks.4ht}
@@ -6595,6 +6597,41 @@ want, as it clashes with TeX4ht. It is useful only in the PDF mode anayway.
\PassOptionsToPackage{draft}{bookmark}
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{draftwatermark.sty}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<draftwatermark.4ht\><<<
+% draftwatermark.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+% disable the watermark printing command
+\HLet\draftwatermark@printwm\@gobble
+\Hinput{draftwatermark}
+\endinput
+>>> \AddFile{9}{draftwatermark}
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{draftwatermark.sty}{draftwatermark-hooks.4ht}
+>>>
+
+\<draftwatermark-hooks.4ht\><<<
+% draftwatermark-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+|<disable draft watermark|>
+\endinput
+>>> \AddFile{9}{draftwatermark-hooks}
+
+We don't want to print watermarks, they cause unnecessary pictures and
+slow compilation.
+
+\<disable draft watermark\><<<
+\:AtEndOfPackage{
+ \draftwatermark@stampfalse
+}
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Chapter{Miscellaneous Environments}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -11084,6 +11121,32 @@ the recursive macro \`'\inspect:cline' checks the digits separately.
\endinput
>>> \AddFile{7}{tabularx}
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{xltabular}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<xltabular.4ht\><<<
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% xltabular.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+|<xltabular restore longtable|>
+\Hinput{xltabular}
+\endinput
+>>> \AddFile{7}{xltabular}
+
+
+\<xltabular restore longtable\><<<
+% xltabular redefines \LT@array, which breaks all TeX4ht patches for this command
+% we must restore TeX4ht's version
+\let\xltabular\tabularx
+\let\endxltabular\endtabularx
+\let\longtable\XLT@longtable
+\AtBeginDocument{
+ \HLet\XLT@LT@array\n:LT@array:
+}
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Arydshln}