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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Aug 20 12:19:38 CEST 2019


Author: michal_h21
Date: 2019-08-20 13:19:38 +0300 (Tue, 20 Aug 2019)
New Revision: 592

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
   trunk/lit/tex4ht-ooffice.tex
Log:
Enable supported graphics types out of the box

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-08-16 14:13:08 UTC (rev 591)
+++ trunk/lit/ChangeLog	2019-08-20 10:19:38 UTC (rev 592)
@@ -1,3 +1,9 @@
+2019-08-20 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht),
+	tex4ht-ooffice.tex (ooffice.4ht): enable supported graphics types out of the
+	box.
+
 2019-08-16 Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-fonts-noncjk.tex: fixed support for avant, newcent, bookman and

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2019-08-16 14:13:08 UTC (rev 591)
+++ trunk/lit/tex4ht-html4.tex	2019-08-20 10:19:38 UTC (rev 592)
@@ -13674,6 +13674,8 @@
    {\Configure{Needs}{File: \Gin at base\PictExt}\Needs{}}%
    \Picture[\a:GraphicsAlt]{{\Gin at base\PictExt} |<graphics dim|>}}
 
+|<graphics default extensions|>
+
 \edef\svg:ext{.svg}
 
 \NewConfigure{ImageMagick}{1}
@@ -13812,6 +13814,14 @@
 \fi
 >>>
 
+Declare default graphics extensions supported in HTML or converted to these
+supported formats by tex4ht.
+
+\<graphics default extensions\><<<
+\DeclareGraphicsExtensions{.png,.svg,.jpg,.eps,.pdf}
+>>>
+
+
 %%%%%%%%%%%%%%%%%%
 \subsection{graphicx}
 

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2019-08-16 14:13:08 UTC (rev 591)
+++ trunk/lit/tex4ht-ooffice.tex	2019-08-20 10:19:38 UTC (rev 592)
@@ -1011,6 +1011,9 @@
    {jpeg}
    {|<save image name|>\Picture[IMG]{\imgBase.jpeg |<graphics dimensions|> }}
 
+
+|<graphics default extensions|>
+
 \NewConfigure{Ghostscript}{1}
 \NewConfigure{PdfConvert}{2}
 \Configure{Ghostscript}{rungs}
@@ -1052,7 +1055,12 @@
 \fi
 >>>  
 
+Enable supported image extensions out of the box.
 
+\<graphics default extensions\><<<
+\DeclareGraphicsExtensions{.png,.jpg,.eps,.pdf}
+>>>
+
 \<configure ooffice tex4ht\><<<
 \def\svg:width{0.0pt}\def\svg:height{0.0pt}
 \def\def:image:mime:type#1#2{\@namedef{image:mime#1}{#2}}



More information about the tex4ht-commits mailing list