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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Sep 10 12:52:32 CEST 2019


Author: michal_h21
Date: 2019-09-10 13:52:32 +0300 (Tue, 10 Sep 2019)
New Revision: 601

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
   trunk/lit/tex4ht-ooffice.tex
Log:
Fixed support for manually specified image dimensions

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-09-05 21:46:11 UTC (rev 600)
+++ trunk/lit/ChangeLog	2019-09-10 10:52:32 UTC (rev 601)
@@ -1,3 +1,11 @@
+2019-09-10 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht),
+	tex4ht-ooffice.tex (ooffice.4ht): disabled check for the missing bounding
+	box, this prevented use of dimensions specified in
+	\includegraphics[width=...].
+	https://tex.stackexchange.com/q/501648/2891
+
 2019-09-05 Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (memoir.4ht): fix for footnotes when the Hyperref package

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2019-09-05 21:46:11 UTC (rev 600)
+++ trunk/lit/tex4ht-html4.tex	2019-09-10 10:52:32 UTC (rev 601)
@@ -13772,10 +13772,7 @@
        `Gin-dim'; for key dimensions when bounding box is unavailable 
        try `Gin-dim+'; neither is recommended}
    \Configure{Gin-dim}
-     {\ifx\noBoundingBox\UnDefined 
-        |<graphics width/height|>%
-      \fi
-     }
+     {|<graphics width/height|>}
 \fi \fi
 >>>
 

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2019-09-05 21:46:11 UTC (rev 600)
+++ trunk/lit/tex4ht-ooffice.tex	2019-09-10 10:52:32 UTC (rev 601)
@@ -1065,10 +1065,8 @@
 
 
 \<graphics dimensions\><<<
-\ifx\noBoundingBox\UnDefined
-   svg:width="\the\Gin at req@width"
-   svg:height="\the\Gin at req@height"
-\fi
+svg:width="\the\Gin at req@width"
+svg:height="\the\Gin at req@height"
 >>>  
 
 Enable supported image extensions out of the box.



More information about the tex4ht-commits mailing list