texlive[48913] Master/texmf-dist/tex/generic/tex4ht/html4.4ht: image
commits+karl at tug.org
commits+karl at tug.org
Tue Oct 16 00:57:29 CEST 2018
Revision: 48913
http://tug.org/svn/texlive?view=revision&revision=48913
Author: karl
Date: 2018-10-16 00:57:29 +0200 (Tue, 16 Oct 2018)
Log Message:
-----------
image conversions, tex4ht r433-434
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=433
Modified Paths:
--------------
trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2018-10-15 21:22:13 UTC (rev 48912)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2018-10-15 22:57:29 UTC (rev 48913)
@@ -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 @@
{{\Configure{Needs}{File: \Gin at base.svg}\Needs{}}%
\Picture[\a:GraphicsAlt]{{\Gin at base.svg} \csname a:Gin-dim\endcsname
}}
+\Configure{graphics*}
+ {eps}
+ {\openin15=\csname Gin at base\endcsname\PictExt\relax%
+ \ifeof15%
+ \Needs{"convert \csname Gin at base\endcsname.eps \csname Gin at base\endcsname\PictExt"}%
+ \fi%
+ \closein15%
+ {\Configure{Needs}{File: \Gin at base\PictExt}\Needs{}}%
+ \Picture[\a:GraphicsAlt]{{\Gin at base\PictExt} \csname a:Gin-dim\endcsname
+}}
\NewConfigure{PdfConvert}{2}
@@ -11300,8 +11310,13 @@
\Configure{graphics*}
{pdf}
{\ifdefined\Gin at page\else\def\Gin at page{1}\fi%
- \Needs{\b:PdfConvert}%
\edef\svg:filename{\Gin at base-\Gin at 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
}}
More information about the tex-live-commits
mailing list