[tex4ht-commits] [SCM] tex4ht updated: r1483 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Fri Mar 1 14:57:26 CET 2024
Author: michal_h21
Date: 2024-03-01 13:57:26 +0000 (Fri, 01 Mar 2024)
New Revision: 1483
Modified:
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
added draftwatermark package support
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2024-03-01 11:41:02 UTC (rev 1482)
+++ trunk/lit/mktex4ht-cnf.tex 2024-03-01 13:57:26 UTC (rev 1483)
@@ -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}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-03-01 11:41:02 UTC (rev 1482)
+++ trunk/lit/tex4ht-4ht.tex 2024-03-01 13:57:26 UTC (rev 1483)
@@ -6574,7 +6574,9 @@
\EndVerbatim
\EndHPage{}]
+%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{bookmark.sty}
+%%%%%%%%%%%%%%%%%%%%%%%%%
\<add to usepackage\><<<
\Configure{PackageHooks}{bookmark.sty}{bookmark-hooks.4ht}
@@ -6595,6 +6597,41 @@
\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 at 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 at stampfalse
+}
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Chapter{Miscellaneous Environments}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.