[tex4ht-commits] [SCM] tex4ht updated: r1076 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Feb 10 17:55:31 CET 2022


Author: michal_h21
Date: 2022-02-10 16:55:31 +0000 (Thu, 10 Feb 2022)
New Revision: 1076

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed compilation error with the Breakurl package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-02-06 20:16:50 UTC (rev 1075)
+++ trunk/lit/ChangeLog	2022-02-10 16:55:31 UTC (rev 1076)
@@ -1,3 +1,9 @@
+2022-02-10  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (usepackage.4ht, breakurl-hooks.4ht): fixed
+	compilation error with the Breakurl package.
+	https://puszcza.gnu.org.ua/bugs/?552
+
 2022-02-06  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-fonts-noncjk.tex (

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2022-02-06 20:16:50 UTC (rev 1075)
+++ trunk/lit/mktex4ht-cnf.tex	2022-02-10 16:55:31 UTC (rev 1076)
@@ -35,6 +35,7 @@
 \AddFile{7}{xr}
 \AddFile{7}{xr-hyper}
 \AddFile{7}{url}
+\AddFile{7}{breakurl-hooks}
 \AddFile{9}{path}
 \AddFile{7}{hyperref}
 \AddFile{9}{hypcap}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-02-06 20:16:50 UTC (rev 1075)
+++ trunk/lit/tex4ht-4ht.tex	2022-02-10 16:55:31 UTC (rev 1076)
@@ -4785,6 +4785,30 @@
 \EndVerbatim\EndHPage{}]
 
 %%%%%%%%%%%%%%%%%%
+\Section{breakurl.sty}
+%%%%%%%%%%%%%%%%%%
+
+The Breakurl package adds some PostScript code to the
+DVI output and TeX4ht doesn't like it. We disable the 
+AtBeginDvi command temporarily as a work around.
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{breakurl.sty}{breakurl-hooks.4ht}
+>>>
+
+\<breakurl-hooks.4ht\><<<
+% breakurl-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht license text|>
+\let\orig:AtBeginDvi\AtBeginDvi
+\def\AtBeginDvi#1{}
+\:AtEndOfPackage{%
+    \let\AtBeginDvi\orig:AtBeginDvi
+}
+\endinput
+>>>        \AddFile{7}{breakurl-hooks}
+
+%%%%%%%%%%%%%%%%%%
 \Section{path.sty}
 %%%%%%%%%%%%%%%%%%
 



More information about the tex4ht-commits mailing list.