%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% mkht-scripts.4ht                     2001-04-25-00:01 %
% Copyright (C) 2000--2001      Eitan M. Gurari         %
%                                                       %
% This program can redistributed and/or modified under  %
% the terms of the LaTeX Project Public License         %
% Distributed from CTAN archives in directory           %
% macros/latex/base/lppl.txt; either version 1 of the   %
% License, or (at your option) any later version.       %
%                                                       %
% However, you are allowed to modify this program       %
% without changing its name, if you modify its          %
% signature. Changes to the signature can be introduced %
% with a directive of the form                          %
%            \message{signature}                        %
%                                                       %
%                             gurari@cis.ohio-state.edu %
%                 http://www.cis.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\immediate\write-1{version 2001-04-25-00:01}

\ifx \JOBNAME\UnDef
   \def\JOBNAME{mkht-scripts.4ht}
   \def\next{\input mkht.4ht  \endinput}
   \expandafter\next
\fi

%-----------------------------------------------------

\Options{unix,bat}   % {unix,bat}, {unix}, {bat}
\Latex{}             % {}, {2e}, {209}

%-----------------------------------------------------
%----------- set environment parameters for unix -----
%-----------------------------------------------------

%%%%%%%%%%
\Ext{unix}
%%%%%%%%%%
\Script{%                        #1 -- file    #2 -- extension
   \Needs{"mv #1.#2 #1"}%
   \Needs{"chmod 700 #1"}%
}
\Base{}
\Quote{'}
\Argchar{$}
\Dirchar{-f/}

%----------- unix html -----

\Ii{,html}
\Iii{-i~/tex4ht.dir/ht-fonts/#1}
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{ht}

\Ii{,xhtml}
\Iii{-i~/tex4ht.dir/ht-fonts/#1}
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{xh}


\Ii{,html,uni-html4}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
     -i~/tex4ht.dir/ht-fonts/unicode/!
    }
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{uht}

\Ii{,xhtml,uni-html4}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
     -i~/tex4ht.dir/ht-fonts/unicode/!
    }
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{uxh}


\Ii{,xhtml,mathml}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
     -i~/tex4ht.dir/ht-fonts/unicode/!
    }
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{xhm}

%----------- unix html word -----

\Ii{,html,word}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
     -i~/tex4ht.dir/ht-fonts/symbol/!
    }
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{w}

\Ii{,xhtml,word}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
     -i~/tex4ht.dir/ht-fonts/symbol/!
    }
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{xw}

%----------- unix mozilla -----

\Ii{,xhtml,mozilla}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
     -i~/tex4ht.dir/ht-fonts/mozilla/!
     -i~/tex4ht.dir/ht-fonts/unicode/!}
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{mz}


%----------- unix tei-mml -----

\Ii{,xhtml,tei}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
    -i~/tex4ht.dir/ht-fonts/unicode/!}
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{tei}


\Ii{,xhtml,tei-mml}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
    -i~/tex4ht.dir/ht-fonts/unicode/!}
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{teim}




%----------- unix DocBook-mml -----

\Ii{,xhtml,docbook}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
    -i~/tex4ht.dir/ht-fonts/unicode/!}
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{db}


\Ii{,xhtml,docbook-mml}
\Iii{-i~/tex4ht.dir/ht-fonts/#1
    -i~/tex4ht.dir/ht-fonts/unicode/!}
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{dbm}



%----------- unix ebook -----

\Ii{,xhtml,ebmath}
\Iii{-g.png
     -i~/tex4ht.dir/ht-fonts/#1
     -i~/tex4ht.dir/ht-fonts/unicode/!}
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{eb}

\Ii{,xhtml,ebook-mml}
\Iii{-g.png
     -i~/tex4ht.dir/ht-fonts/#1
     -i~/tex4ht.dir/ht-fonts/unicode/!}
\Iv{#1    ## -d~/WWW/temp/ -m644 }

\make{ebm}




%---------------------------------------------------
%----------- set environment parameters for ms -----
%---------------------------------------------------

%%%%%%%%%%%%%%%%%%
\Options{unix,bat}
%%%%%%%%%%%%%%%%%%

%%%%%%%%%
\Ext{bat}
%%%%%%%%%
\Script{}
\Quote{}
\Argchar{%}
\Dirchar{}

%----------- ms html -----

\Ii{,html}
\Iii{-ic:\tex4ht\ht-fonts\#1}
\Iv{#1}

\make{ht}


\Ii{,xhtml}
\Iii{-ic:\tex4ht\ht-fonts\#1}
\Iv{#1}

\make{xh}

\Ii{,html,uni-html4}
\Iii{-ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{uht}

\Ii{,xhtml,uni-html4}
\Iii{-ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{uxh}


\Ii{,xhtml,mathml}
\Iii{-ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{xhm}


%----------- ms html word -----

\Ii{,html,word}
\Iii{-ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\symbol\!
    }
\Iv{#1}

\make{w}

\Ii{,xhtml,word}
\Iii{-ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\symbol\!
    }
\Iv{#1}

\make{xw}

%----------- ms mozilla -----

\Ii{,xhtml,mozilla}
\Iii{-ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\mozilla\!
     -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{mz}

%----------- ms tei-mml -----

\Ii{,xhtml,tei}
\Iii{-ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{tei}



\Ii{,xhtml,tei-mml}
\Iii{-ic:\tex4ht\ht-fonts\#1
    -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{teim}


%----------- ms DocBook-mml -----

\Ii{,xhtml,docbook}
\Iii{-ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{db}



\Ii{,xhtml,docbook-mml}
\Iii{-ic:\tex4ht\ht-fonts\#1
    -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{dbm}


%----------- ms ebook -----

\Ii{,xhtml,ebmath}
\Iii{-g.png
     -ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{eb}


\Ii{,xhtml,ebook-mml}
\Iii{-g.png
     -ic:\tex4ht\ht-fonts\#1
     -ic:\tex4ht\ht-fonts\unicode\!}
\Iv{#1}

\make{ebm}



\end{document}



