$1 "\def\switch{$3} \input " $2 $1 "\def\switch{$3} \input " $2 $1 "\def\switch{$3} \input " $2 if ($3 == html) then tex4ht $2 -i/tex4ht.dir/ht-fonts/iso88591/! t4ht $2 # echo "nsgmls -s html.dcl $2.html" # nsgmls -s html.dcl $2.html else tex4ht $2 -i/tex4ht.dir/ht-fonts/unicode/iso88591/! t4ht $2 # echo "nsgmls -wxml -s xml.dcl $2.html" # nsgmls -wxml -s xml.dcl $2.html endif