summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht26
1 files changed, 23 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
index db66e7b53ff..e327e9872d4 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
@@ -1,4 +1,4 @@
-% ooffice.4ht (2019-08-20-14:31), generated from tex4ht-ooffice.tex
+% ooffice.4ht (2019-09-01-14:21), generated from tex4ht-ooffice.tex
% Copyright 2009-2019 TeX Users Group
% Copyright 2001-2009 Maarten Wisse, James Naughton, Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2019-08-20-14:31}
+\immediate\write-1{version 2019-09-01-14:21}
\exit:ifnot{Preamble,%
algorithmicx,%
@@ -6946,9 +6946,29 @@ style:display-name="Footnote anchor" style:family="text">
\NewConfigure{Ghostscript}{1}
-\NewConfigure{PdfConvert}{2}
\Configure{Ghostscript}{rungs}
+
+\NewConfigure{EpsConvert}{1}
+\Configure{EpsConvert}{"\a:Ghostscript\space -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -r120 -sDEVICE=pngalpha -sOutputFile='\Gin@base.png' '\Gin@base.eps' "}
+
+\Configure{graphics*}
+ {eps}
+ {\openin15=\csname Gin@base\endcsname\PictExt\relax%
+ \ifeof15%
+ \Needs{\a:EpsConvert}%
+ \fi%
+ \closein15%
+ \def\Gin@ext{\PictExt}% fix to get correct extension for the generated png file
+ \expandafter\getImgFile\expandafter{\Gin@base}{\PictExt}
+ \Picture[IMG]{{\imgBase\PictExt} \ifx\noBoundingBox\UnDefined
+ svg:width="\the\Gin@req@width"
+ svg:height="\the\Gin@req@height"
+\fi
+}}
+
+\NewConfigure{PdfConvert}{2}
\Configure{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 \ifx\Gin@page\@empty\else -dFirstPage='\Gin@page' -dLastPage='\Gin@page'\fi\space -sOutputFile='\Gin@base-\Gin@page.\a:PdfConvert' \Gin@base.pdf"}
+
\Configure{graphics*}
{pdf}
{\ifdefined\Gin@page\else\def\Gin@page{1}\fi%