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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Dec 2 17:32:57 CET 2021


Author: michal_h21
Date: 2021-12-02 16:32:57 +0000 (Thu, 02 Dec 2021)
New Revision: 1024

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
prevent changes made by graphbox

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-12-02 09:42:42 UTC (rev 1023)
+++ trunk/lit/ChangeLog	2021-12-02 16:32:57 UTC (rev 1024)
@@ -3,6 +3,9 @@
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): search for \par<word boundary> in
 	regex that replaces \par commands, as suggested by David Carlisle.
 	https://tex.stackexchange.com/q/624671/2891
+	* tex4ht-4ht.tex (usepackage.4ht, graphbox-hooks.4ht): revert changes made
+	by the Graphbox package to \Gin at setfile.
+	https://github.com/michal-h21/tex4ebook/issues/84
 	
 2021-12-01  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-12-02 09:42:42 UTC (rev 1023)
+++ trunk/lit/tex4ht-4ht.tex	2021-12-02 16:32:57 UTC (rev 1024)
@@ -26155,6 +26155,27 @@
 
 
 %%%%%%%%%%%%%%%%%%%%%%%
+\SubSection{graphbox}
+
+Graphbox redefines \`'\Gin at setfile'  to make some manipulations with the
+graphics box. We want to revert it, because it fatally breaks TeX4ht, and 
+it isn't useful in XML anyway.
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{graphbox.sty}{graphbox-hooks.4ht}
+>>>
+
+\<graphbox-hooks.4ht\><<<
+% graphbox-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+|<TeX4ht license text|>
+\:AtEndOfPackage{%
+  \let\Gin at setfile\old at box@Gin at setfile
+}
+>>> \AddFile{9}{graphbox-hooks}
+%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%
 \Section{svg}
 %%%%%%%%%%%%%%%%%%%%%%%
 



More information about the tex4ht-commits mailing list.