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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Wed Mar 13 21:40:07 CET 2019


Author: michal_h21
Date: 2019-03-13 22:40:07 +0200 (Wed, 13 Mar 2019)
New Revision: 531

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-ooffice.tex
Log:
Added support for PDF image inclusion

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-03-13 14:56:23 UTC (rev 530)
+++ trunk/lit/ChangeLog	2019-03-13 20:40:07 UTC (rev 531)
@@ -3,6 +3,7 @@
 	* tex4ht-4ht.tex (biblatex.4ht): fix for non-ascii cite keys with XeLaTeX.
 	* tex4ht-html4.tex (html4.4ht),
 	* tex4ht-javahelp.tex (javahelp.4ht): use white-space:normal in Css.
+	* tex4ht-ooffice.tex (ooffice.4ht): support for PDF image inclusion.
 
 2019-03-12  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2019-03-13 14:56:23 UTC (rev 530)
+++ trunk/lit/tex4ht-ooffice.tex	2019-03-13 20:40:07 UTC (rev 531)
@@ -1025,9 +1025,10 @@
       \Needs{\b:PdfConvert}%
       \fi 
       \closein15 
-      \def\Gin at ext{.\a:PdfConvert}
-    \expandafter\getImgFile\expandafter{\Gin at base}{\a:PdfConvert}%
-   \Picture[IMG]{\svg:filename |<graphics dimensions|>}}
+      \def\Gin at ext{.\a:PdfConvert}% fix to get correct extension for the generated png file
+    \expandafter\getImgFile\expandafter{\Gin at base-\Gin at page}{\a:PdfConvert}%
+    \edef\Gin at base{\Gin at base-\Gin at page}% the generated file contains page number
+    \Picture[IMG]{{\imgBase.\a:PdfConvert} |<graphics dimensions|>}}
 >>>
 
 \<\><<<



More information about the tex4ht-commits mailing list