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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sat Dec 11 18:51:14 CET 2021


Author: michal_h21
Date: 2021-12-11 17:51:14 +0000 (Sat, 11 Dec 2021)
New Revision: 1028

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-ooffice.tex
Log:
Fixed support for images with spaces in filenames in ODT output

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-12-10 23:22:54 UTC (rev 1027)
+++ trunk/lit/ChangeLog	2021-12-11 17:51:14 UTC (rev 1028)
@@ -1,5 +1,8 @@
 2021-12-11  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-ooffice.tex (ooffice.4ht): enclose image file names in brackets, in
+	order to support spaces in filenames.
+
 	* tex4ht-4ht.tex (ifthen.4ht, hyperref-hooks.4ht): disable Nameref from
 	patching of the \ifthenelse command.
 	https://puszcza.gnu.org.ua/bugs/?534

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2021-12-10 23:22:54 UTC (rev 1027)
+++ trunk/lit/tex4ht-ooffice.tex	2021-12-11 17:51:14 UTC (rev 1028)
@@ -1084,19 +1084,19 @@
 
 \Configure{graphics*}
    {gif}
-   {|<save image name|>\Picture[IMG]{\imgBase.gif |<graphics dimensions|> }}
+   {|<save image name|>\Picture[IMG]{{\imgBase.gif} |<graphics dimensions|> }}
 \Configure{graphics*}
    {png}
-   {|<save image name|>\Picture[IMG]{\imgBase.png |<graphics dimensions|> }}
+   {|<save image name|>\Picture[IMG]{{\imgBase.png} |<graphics dimensions|> }}
 \Configure{graphics*}
    {jpg}
-   {|<save image name|>\Picture[IMG]{\imgBase.jpg  |<graphics dimensions|> }}
+   {|<save image name|>\Picture[IMG]{{\imgBase.jpg}  |<graphics dimensions|> }}
 \Configure{graphics*}
    {jpeg}
-   {|<save image name|>\Picture[IMG]{\imgBase.jpeg |<graphics dimensions|> }}
+   {|<save image name|>\Picture[IMG]{{\imgBase.jpeg} |<graphics dimensions|> }}
 \Configure{graphics*}
    {svg}
-   {|<save image name|>\Picture[IMG]{\imgBase.svg |<graphics dimensions|> }}
+   {|<save image name|>\Picture[IMG]{{\imgBase.svg} |<graphics dimensions|> }}
 
 
 |<graphics default extensions|>
@@ -1140,7 +1140,7 @@
 \<\><<<
 \Configure{graphics*}
    {eps}
-   {|<save image name|>\Picture[IMG]{\imgBase.eps  |<graphics dimensions|> }}
+   {|<save image name|>\Picture[IMG]{{\imgBase.eps}  |<graphics dimensions|> }}
 >>>
 
 



More information about the tex4ht-commits mailing list.