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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Oct 16 14:00:17 CEST 2023


Author: michal_h21
Date: 2023-10-16 12:00:17 +0000 (Mon, 16 Oct 2023)
New Revision: 1393

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
   trunk/lit/tex4ht-ooffice.tex
Log:
fixed support for pdf and eps files with spaces in filenames

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-10-16 09:25:25 UTC (rev 1392)
+++ trunk/lit/ChangeLog	2023-10-16 12:00:17 UTC (rev 1393)
@@ -1,5 +1,10 @@
 2023-10-16  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-html4.tex (html4.4ht),
+	* tex4ht-ooffice.tex (ooffice.4ht): fixed support for PDF and EPS
+	files with spaces in filenames.
+	https://github.com/michal-h21/tex4ebook/issues/118
+
 	* tex4ht-4ht.tex (changepage.4ht),
 	* tex4ht-html4.tex (html4.4ht): added support for the Changepage
 	package.

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2023-10-16 09:25:25 UTC (rev 1392)
+++ trunk/lit/tex4ht-html4.tex	2023-10-16 12:00:17 UTC (rev 1393)
@@ -13857,7 +13857,7 @@
    \Picture[\a:GraphicsAlt]{{\Gin at base.svg} |<graphics dim|>}}
 \Configure{graphics*}
    {eps}
-   {\openin15=\csname Gin at base\endcsname\PictExt\relax%
+   {\openin15={\csname Gin at base\endcsname\PictExt}\relax%
    \ifeof15% 
    \Needs{\a:EpsConvert}% 
    \fi%
@@ -13899,7 +13899,7 @@
    {\ifdefined\Gin at page\else\def\Gin at page{1}\fi%
      \edef\svg:filename{\Gin at base-\Gin at page.\a:PdfConvert}%
      % test for existence of the converted file
-     \openin15=\svg:filename\relax
+     \openin15={\svg:filename}\relax
       \ifeof15 
       \Needs{\b:PdfConvert}%
       \fi 

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2023-10-16 09:25:25 UTC (rev 1392)
+++ trunk/lit/tex4ht-ooffice.tex	2023-10-16 12:00:17 UTC (rev 1393)
@@ -1109,7 +1109,7 @@
 
 \Configure{graphics*}
    {eps}
-   {\openin15=\csname Gin at base\endcsname\PictExt\relax%
+   {\openin15={\csname Gin at base\endcsname\PictExt}\relax%
    \ifeof15% 
    \Needs{\a:EpsConvert}% 
    \fi%
@@ -1126,7 +1126,7 @@
    {\ifdefined\Gin at page\else\def\Gin at page{1}\fi%
      \edef\svg:filename{\Gin at base-\Gin at page.\a:PdfConvert}%
      % test for existence of the converted file
-     \openin15=\svg:filename\relax
+     \openin15={\svg:filename}\relax
       \ifeof15 
       \Needs{\b:PdfConvert}%
       \fi 



More information about the tex4ht-commits mailing list.