diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-06 01:23:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-06 01:23:33 +0000 |
commit | 3b0d4121fbdaa8b4dc48c1aeab08bd63d71d0307 (patch) | |
tree | c0e71b65ec445e74e995d7853a367aa30e50f0dd /Master/texmf-dist/tex/generic/tex4ht/mkht.4ht | |
parent | ee72c8e218febb4e5e2395951e36cd91b36aabcd (diff) |
tex4ht-1.0.2006_12_04_1651
git-svn-id: svn://tug.org/texlive/trunk@2598 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/mkht.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mkht.4ht | 96 |
1 files changed, 85 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mkht.4ht b/Master/texmf-dist/tex/generic/tex4ht/mkht.4ht index 0162b8d7983..4130003fbfe 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mkht.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mkht.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% mkht.4ht 2005-09-23-22:09 % -% Copyright (C) 1997--2005 Eitan M. Gurari % +% mkht.4ht 2006-09-12-14:15 % +% Copyright (C) 1997--2006 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % % conditions of the LaTeX Project Public License, either % @@ -24,7 +24,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version |version} +\immediate\write-1{version \ifx \JOBNAME\UnDefined 2006-09-12-14:15\else |version\fi} \def\exit{\documentclass{article}\begin{document}\end{document}\endinput} @@ -248,13 +248,7 @@ tex |<@|>5 |<'|>|<texinfo definitions|>|<get parameters|>|empty>>> >>> \<texexec\><<< -texexec --arg="opt-arg=|<@|>2" --use=tex4ht |<@|>5 |<@|>1 >>> - -\immediate\write16{...............................fix......} -\immediate\write16{% -perl /home/4//gurari/main.dir/try.dir/context.dir/context/perltk/texexec.pl% -} -\immediate\write16{........................................} +texexec --arg="ht-1=|<@|>2" --use=tex4ht |<@|>5 |<@|>1 >>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{MeX} @@ -388,7 +382,7 @@ endfirstln >>> \<context...\> >>> % % -\OutputCodE\<\pref context.\ext\> \script{\pref texexec}{\ext} % +\OutputCodE\<\pref context.\ext\> \script{\pref context}{\ext} % % \<\pref mex.\ext\><<< \<htmex...\> @@ -401,6 +395,86 @@ endfirstln >>> } % \endgroup +\ifx \JOBNAME\UnDefined + \def\one{\Ii} +\def\two{\Iii} +\def\three{\Iv} +\Latex{} % {}, {2e}, {209} +\def\temp{unix}\ifx\script\temp + \Options{unix} % {unix,bat}, {unix}, {bat} + %%%%%%%%%% +\Ext{unix} +%%%%%%%%%% +\Base{} +\Quote{'} +\Argchar{$} +\Dirchar{-f/} +\Remark{#} + +\else + \def\temp{bat}\ifx\script\temp + \Options{bat} + %%%%%%%%%%%%%%%%%% +\Options{bat} +%%%%%%%%%%%%%%%%%% +%%%%%%%%% +\Ext{bat} +%%%%%%%%% +\Base{} +\Quote{} +\Argchar{%} +\Dirchar{} +\Remark{Rem } + + \else + \bgroup + \def\1{\space\space\space} + \def\2{\space\space\space\space\space\space} + \catcode`\%=12 + \catcode`\#=12 + \catcode`\~=12 + \catcode`\@=0 + \catcode`\\=12 + @immediate@write16{|-------------------------------------------------------------} + @immediate@write16{|@2@1 A sample of a scripts generator file } + @immediate@write16{|} + @immediate@write16{|@1 Creates a foolatex script for commands} + @immediate@write16{|} + @immediate@write16{|@2 foolatex file} + @immediate@write16{|} + @immediate@write16{|@1 similar to htlatex for commands} + @immediate@write16{|} + @immediate@write16{|@2 htlatex file "html,...1..." " ...2..." "...3..."} + @immediate@write16{|} + @immediate@write16{|@1 with the arguments ...1..., ...2..., and ...3... } + @immediate@write16{|@1 embedded in the new script. General usage} + @immediate@write16{|} + @immediate@write16{|@2 foolatex file "..." "..." "..."} + @immediate@write16{|} + @immediate@write16{|----------------- sample.tex --------------------------------} + @immediate@write16{|% latex sample} + @immediate@write16{|} + @immediate@write16{| \def\script{bat} } + @immediate@write16{| % \def\script{unix} } + @immediate@write16{|} + @immediate@write16{| \input mkht.4ht } + @immediate@write16{|} + @immediate@write16{| \one{,html,...1...}} + @immediate@write16{| \two{-ic:\tex4ht\texmf\tex4ht\ht-fonts\#1 ...2...} % bat } + @immediate@write16{| % \two{-i~/tex4ht/texmf/tex4ht/ht-fonts/#1 ...2...} % unix } + @immediate@write16{| \three{#1 ...3...}} + @immediate@write16{| \make{foo}} + @immediate@write16{|} + @immediate@write16{| \end{document} } + @immediate@write16{-------------------------------------------------------------} + @egroup + \def\next{\csname fi\endcsname + \csname fi\endcsname + \csname fi\endcsname\end{document}} +\fi \fi + + \expandafter\endinput +\fi \input \JOBNAME |