[tex4ht-commits] [SCM] tex4ht updated: r1172 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Thu Jul 7 14:17:55 CEST 2022
Author: michal_h21
Date: 2022-07-07 12:17:55 +0000 (Thu, 07 Jul 2022)
New Revision: 1172
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
prevent errors with the bookmark package
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-07-05 21:29:31 UTC (rev 1171)
+++ trunk/lit/ChangeLog 2022-07-07 12:17:55 UTC (rev 1172)
@@ -1,3 +1,9 @@
+2022-07-07 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (usepackage.4ht, bookmark-hooks.4ht): prevent
+ errors with the Bookmark package.
+ https://tex.stackexchange.com/a/650128/2891
+
2022-07-05 Karl Berry <karl at freefriends.org>
* Makefile (tex4ht_4ht_derived): add texpower.
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2022-07-05 21:29:31 UTC (rev 1171)
+++ trunk/lit/tex4ht-4ht.tex 2022-07-07 12:17:55 UTC (rev 1172)
@@ -6220,6 +6220,27 @@
\EndVerbatim
\EndHPage{}]
+\Section{bookmark.sty}
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{bookmark.sty}{bookmark-hooks.4ht}
+>>>
+
+\<bookmark-hooks.4ht\><<<
+% bookmark-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht license text|>
+|<pass draft mode to bookmark|>
+\endinput
+>>> \AddFile{9}{bookmark-hooks}
+
+The bookmark package redefines sectioning commands, biliography, etc., which we don't
+want, as it clashes with TeX4ht. It is useful only in the PDF mode anayway.
+
+\<pass draft mode to bookmark\><<<
+\PassOptionsToPackage{draft}{bookmark}
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Chapter{Miscellaneous Environments}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.