diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-16 21:28:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-16 21:28:05 +0000 |
commit | c80b0e0dbb49b8f9c588ef542915deab63d486df (patch) | |
tree | 3e725f1db71b2f057901f54d16997e35b4317f0b /Master/texmf-dist/tex/generic/tex4ht/html32.4ht | |
parent | 2492300860bc8d58013520b5f27518e886d19216 (diff) |
(belated) \InputIfFileExists support, tex4ht r609
git-svn-id: svn://tug.org/texlive/trunk@54365 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html32.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html32.4ht | 62 |
1 files changed, 42 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html32.4ht b/Master/texmf-dist/tex/generic/tex4ht/html32.4ht index 4d98d0c28a0..af9a521548e 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html32.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html32.4ht @@ -1,4 +1,4 @@ -% html32.4ht (2019-03-18-15:25), generated from tex4ht-html32.tex +% html32.4ht (2020-02-18-14:18), generated from tex4ht-html32.tex % Copyright (C) 2009-2016 TeX Users Group % Copyright (C) 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-03-18-15:25} +\immediate\write-1{version 2020-02-18-14:18} \exit:ifnot{CJK,% Preamble,% @@ -668,6 +668,18 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \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}% @@ -681,16 +693,13 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \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 @@ -7156,6 +7165,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{graphics} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -7185,6 +7195,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsart} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -7361,7 +7372,6 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -7377,6 +7387,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsfonts} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -7393,7 +7404,6 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amstex1} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -7436,6 +7446,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsppt} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -7517,6 +7528,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{babel} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -7543,6 +7555,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{plain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8104,7 +8117,6 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{seslideb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8452,6 +8464,8 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{CJK} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8465,6 +8479,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{moreverb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8481,6 +8496,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fancyvrb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8614,6 +8630,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{index} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8639,6 +8656,10 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{vanilla} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8703,6 +8724,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{ntheorem} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8788,6 +8810,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{frenchb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8871,8 +8894,6 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{emulateapj} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8902,8 +8923,6 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{aa} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -9135,6 +9154,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{seminar} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -9385,7 +9405,6 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{th4} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -9611,5 +9630,8 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% + + + \endinput |