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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Mar 12 17:56:05 CET 2019


Author: michal_h21
Date: 2019-03-12 18:56:05 +0200 (Tue, 12 Mar 2019)
New Revision: 527

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-ooffice.tex
Log:
set image dimensions on draw:frame element

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-03-12 16:33:20 UTC (rev 526)
+++ trunk/lit/ChangeLog	2019-03-12 16:56:05 UTC (rev 527)
@@ -3,6 +3,8 @@
 	* tex4ht-4ht.tex (biblatex.4ht): fix for Polyglossia package.
 	* tex4ht-ooffice.tex (ooffice.4ht): fixed issues with pictures in
 	subdirectories.
+	* tex4ht-ooffice.tex (ooffice.4ht): set image dimensions on draw:frame
+	element, we got validation error otherwise.
 
 2019-02-19  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2019-03-12 16:33:20 UTC (rev 526)
+++ trunk/lit/tex4ht-ooffice.tex	2019-03-12 16:56:05 UTC (rev 527)
@@ -1041,6 +1041,10 @@
       text:anchor-type="as-char"  % "paragraph"  
 %      svg:width="...pt"  
 %      svg:height="...pt"  
+				% \ifx\noBoundingBox\UnDefined
+				 \string svg:width="\the\Gin at req@width"
+				  svg:height="\the\Gin at req@height"
+				% \fi
       draw:z-index="0"
     >%
       <draw:image\Hnewline
@@ -1049,10 +1053,6 @@
          xlink:type="simple"  
         xlink:show="embed"  
         xlink:actuate="onLoad" 
-				\ifx\noBoundingBox\UnDefined
-				 \string svg:width="\the\Gin at req@width"
-				  svg:height="\the\Gin at req@height"
-				\fi
         /><!--draw:name="}}
   {" }
   {\ht:special{t4ht=" }}



More information about the tex4ht-commits mailing list