diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html4.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index 3680981fdcd..122726864f4 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 (2019-09-12-14:02), generated from tex4ht-html4.tex +% html4.4ht (2019-09-29-14:18), generated from tex4ht-html4.tex % Copyright 2009-2019 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 2019-09-12-14:02} +\immediate\write-1{version 2019-09-29-14:18} \exit:ifnot{8859-6,% CJK,% @@ -1754,6 +1754,18 @@ switches of tex4ht.c) \fi } +\ifx\InputIfFileExists\UnDef% +\def\input:if:fileexists#1#2#3{% + \openin15 #1.4ht% + \ifeof15% + #3% + \else% + \input #1% + \fi\closein15% +}% +\else +\let\input:if:fileexists\InputIfFileExists% +\fi% \Hinclude{\input #1.4ht}{fontmath} \Hinclude{\@ifpackageloaded{colortbl}{% \no:dupl{array}{\input array.4ht}% @@ -1767,16 +1779,13 @@ switches of tex4ht.c) \else \let\:temp\empty \no:dupl{#1}{% - \openin15 #1.4ht - \ifeof15 - \:CheckOption{debug}\if:Option - \:warning{No configuration file for - #1.\if .#2.tex\else #2\fi}% - \fi - \let\:temp\empty - \else - \def\:temp{\input #1.4ht }% - \fi \closein15 + \def\:warn:msg{} + \:CheckOption{debug}\if:Option + \def\:warn:msg{% + \:warning{No configuration file for #1.\if .#2.tex\else #2\fi}% + } + \fi% + \def\:temp{\input:if:fileexists{#1.4ht}{}{\:warn:msg}}% }% \fi \:temp} \edef\:temp{\noexpand\Hinclude |