diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
commit | 873660d1a83ece926fe7206288dda9c36b349c1b (patch) | |
tree | a48f77125c309a355b5d0eb58d6b24446abe9d62 /Master/texmf-dist/tex/generic/tex4ht/mkht-scripts.4ht | |
parent | 2939242967231097459df0fc3150fabc2f639111 (diff) |
generic 1
git-svn-id: svn://tug.org/texlive/trunk@613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/mkht-scripts.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mkht-scripts.4ht | 240 |
1 files changed, 240 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mkht-scripts.4ht b/Master/texmf-dist/tex/generic/tex4ht/mkht-scripts.4ht new file mode 100644 index 00000000000..641a55f6f47 --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/mkht-scripts.4ht @@ -0,0 +1,240 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% mkht-scripts.4ht 2005-09-23-22:09 % +% Copyright (C) 2000--2005 Eitan M. Gurari % +% % +% This work may be distributed and/or modified under the % +% conditions of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any % +% later version. The latest version of this license is % +% in % +% http://www.latex-project.org/lppl.txt % +% and version 1.3 or later is part of all distributions % +% of LaTeX version 2003/12/01 or later. % +% % +% This work has the LPPL maintenance status "maintained".% +% % +% This Current Maintainer of this work % +% is Eitan M. Gurari. % +% % +% If you modify this program your changing its signature % +% with a directive of the following form will be % +% appreciated. % +% \message{signature} % +% % +% gurari@cse.ohio-state.edu % +% http://www.cse.ohio-state.edu/~gurari % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\immediate\write-1{version |version} + + +\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} + +%%%%%%%%%%%%%%%%%% +\section{Unix Scripts} +%%%%%%%%%%%%%%%%%% + +%%%%%%%%%% +\Ext{unix} +%%%%%%%%%% +\ifOption{Needs}{% +\Script{% #1 -- file #2 -- extension + \Needs{"sed -e 's/\#\# -d/ -d/g' < #1.#2 > /home/4/gurari/tex4ht.dir/bin/solaris/#1"}% + \Needs{"chmod 700 /home/4/gurari/tex4ht.dir/bin/solaris/#1"}% + \Needs{"mkdir mn.dir/ht-unix"}% + \Needs{"cp #1.#2 mn.dir/ht-unix/#1"}% +}}{} +\Base{} +\Quote{'} +\Argchar{$} +\Dirchar{-f/} +\Remark{#} + +\Ii{,html} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1} +\Iv{#1 -cvalidatehtml ## -d~/WWW/temp/ -m644 } + +\make{ht} +\<ht.unix\><<< +|<unix line|>$1 $2 + $1 $2 + $1 $2 + tex4ht $2 + t4ht $2 $3 +>>> +\OutputCodE\<ht.unix\> +\Ii{,xhtml} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1} +\Iv{#1 -cvalidate ## -d~/WWW/temp/ -m644 } +\make{xh} +\Ii{,xhtml,uni-html4} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cunihtf} +\Iv{#1 -cvalidate ## -d~/WWW/temp/ -m644 } +\make{uxh} +\Ii{,xhtml,mathml} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cunihtf} +\Iv{#1 -cvalidate ## -d~/WWW/temp/ -m644 } +\make{xhm} +\Ii{,xhtml,mozilla} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cmozhtf} +\Iv{#1 -cvalidate ## -d~/WWW/temp/ -m644 } +\make{mz} +\Ii{,xhtml,ooffice} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cmozhtf} +\Iv{#1 -coo } +\make{oo} +\Ii{,xhtml,tei} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cunihtf} +\Iv{#1 -cvalidate ## -d~/WWW/temp/ -m644 } +\make{tei} + +\Ii{,xhtml,tei-mml} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cunihtf} +\Iv{#1 -cvalidate ## -d~/WWW/temp/ -m644 } +\make{teim} +\Ii{,xhtml,docbook} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cunihtf} +\Iv{#1 -cvalidate ## -d~/WWW/temp/ -m644 } +\make{db} + +\Ii{,xhtml,docbook-mml} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cunihtf} +\Iv{#1 -cvalidate ## -d~/WWW/temp/ -m644 } +\make{dbm} +\Ii{,xhtml,word} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -csymhtf} +\Iv{#1 -cvalidate ## -d~/WWW/temp/ -m644 } +\make{w} +\Ii{,html,javahelp,3.2,unicode} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cmozhtf -u10} +\Iv{#1 -d$1-doc/ -m644 -cjavahelp -cvalidate } +\make{jh} +\Ii{,html,javahelp,3.2,unicode,jh1.0} +\Iii{-i~/tex4ht.dir/texmf/tex4ht/ht-fonts/#1 -cmozhtf -u10} +\Iv{#1 -d$1-doc/ -m644 ## -cvalidate } +\make{jh1} + + +%%%%%%%%%%%%%%%%%% +\section{MS Window Scripts} +%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%% +\Options{bat} +%%%%%%%%%%%%%%%%%% + +%%%%%%%%% +\Ext{bat} +%%%%%%%%% +\ifOption{Needs}{\Script{% + \Needs{"mkdir mn.dir/ht-win32"}% + \Needs{"cp #1.#2 mn.dir/ht-win32/."}% +}}{} +\Quote{} +\Argchar{%} +\Dirchar{} +\Remark{Rem } + +\Ii{,html} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidatehtml } + +\make{ht} +\<ht.bat\><<< + %1 %2 + %1 %2 + %1 %2 + tex4ht %2 + t4ht %2 %3 +>>> +\OutputCodE\<ht.bat\> +\Ii{,xhtml} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{xh} +\Ii{,xhtml,uni-html4} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env + -cunihtf} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{uxh} +\Ii{,xhtml,mathml} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cunihtf} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{xhm} +\Ii{,xhtml,mozilla} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cmozhtf} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{mz} +\Ii{,xhtml,ooffice} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cmozhtf} +\Iv{#1 -coo -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{oo} +\Ii{,xhtml,tei} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cunihtf} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{tei} + +\Ii{,xhtml,tei-mml} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cunihtf} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{teim} +\Ii{,xhtml,docbook} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cunihtf} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{db} + +\Ii{,xhtml,docbook-mml} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cunihtf} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{dbm} +\Ii{,xhtml,word} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -csymhtf} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -cvalidate } +\make{w} +\Ii{,html,javahelp,3.2,unicode} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env + -cmozhtf -u10} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -d%1-doc\ -cjavahelp } +\make{jh} +\Ii{,html,javahelp,3.2,unicode,jh1.0} +\Iii{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 + -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env + -cmozhtf -u10} +\Iv{#1 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env -d%1-doc\ -cjavahelp1 } +\make{jh1} + +\immediate\write16{--------------------------------------------------------} +\immediate\write16{* Compile mkht-scripts.4ht with latex to get the + full scripts.} +\immediate\write16{* For shorter latex2e scripts, compile a file whose + content is:} +\immediate\write16{\space\space\space\space\def\string\latex{2e} + \string\input\space mkht-scripts.4ht } +\immediate\write16{* For shorter latex209 scripts, compile a file whose + content is:} +\immediate\write16{\space\space\space\space\def\string\latex{209} + \string\input\space mkht-scripts.4ht } +\immediate\write16{* Remove the extension .unix from the file names } +\immediate\write16{--------------------------------------------------------} + + +\end{document} + |