summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-10-15 22:57:29 +0000
committerKarl Berry <karl@freefriends.org>2018-10-15 22:57:29 +0000
commitdb5c8cde4b02ad26930b08c57ae249f67dc957a3 (patch)
tree34c958fb552000bb6c188266852ec8a5ff302ae9 /Master/texmf-dist/tex
parent0eb89ce20c33dedfda750f23765d0e5d8a4c626d (diff)
image conversions, tex4ht r433-434
git-svn-id: svn://tug.org/texlive/trunk@48913 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4.4ht21
1 files changed, 18 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
index 861eb81d81d..25cc91b2f57 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
@@ -1,4 +1,4 @@
-% html4.4ht (2018-10-01-14:25), generated from tex4ht-html4.tex
+% html4.4ht (2018-10-15-15:56), generated from tex4ht-html4.tex
% Copyright 2009-2018 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2018-10-01-14:25}
+\immediate\write-1{version 2018-10-15-15:56}
\exit:ifnot{8859-6,%
CJK,%
@@ -11288,6 +11288,16 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
{{\Configure{Needs}{File: \Gin@base.svg}\Needs{}}%
\Picture[\a:GraphicsAlt]{{\Gin@base.svg} \csname a:Gin-dim\endcsname
}}
+\Configure{graphics*}
+ {eps}
+ {\openin15=\csname Gin@base\endcsname\PictExt\relax%
+ \ifeof15%
+ \Needs{"convert \csname Gin@base\endcsname.eps \csname Gin@base\endcsname\PictExt"}%
+ \fi%
+ \closein15%
+ {\Configure{Needs}{File: \Gin@base\PictExt}\Needs{}}%
+ \Picture[\a:GraphicsAlt]{{\Gin@base\PictExt} \csname a:Gin-dim\endcsname
+}}
\NewConfigure{PdfConvert}{2}
@@ -11300,8 +11310,13 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
\Configure{graphics*}
{pdf}
{\ifdefined\Gin@page\else\def\Gin@page{1}\fi%
- \Needs{\b:PdfConvert}%
\edef\svg:filename{\Gin@base-\Gin@page.\a:PdfConvert}%
+ % test for existence of the converted file
+ \openin15=\svg:filename\relax
+ \ifeof15
+ \Needs{\b:PdfConvert}%
+ \fi
+ \closein15
{ \Configure{Needs}{File: \svg:filename}\Needs{}}%
\Picture[\a:GraphicsAlt]{{\svg:filename} \csname a:Gin-dim\endcsname
}}