diff options
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 21 |
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 }} |