From 873660d1a83ece926fe7206288dda9c36b349c1b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Jan 2006 23:46:03 +0000 Subject: generic 1 git-svn-id: svn://tug.org/texlive/trunk@613 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht | 242 ++++++++++++++++++++++++ 1 file changed, 242 insertions(+) create mode 100644 Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht (limited to 'Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht') diff --git a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht new file mode 100644 index 00000000000..e7fd0bd48a8 --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht @@ -0,0 +1,242 @@ +\ifnum\the\catcode`\%=14\else \expandafter\edef\csname + \string:RestoreCatcodes\endcsname{\catcode`\%\the + \catcode`\%}\catcode`\%14\fi +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% tex4ht.4ht 2005-10-23-20:57 % +% Copyright (C) 1997--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 2005-10-23-20:57} + +\expandafter\edef\csname :RestoreCatcodes\endcsname{% + \expandafter\ifx \csname :RestoreCatcodes\endcsname\relax\else + \csname :RestoreCatcodes\endcsname \fi + \catcode`\noexpand :\the\catcode`:% + \ifnum \the\catcode`\#=6 \else + \catcode`\noexpand \#\the\catcode`\#\fi + \ifnum \the\catcode`\^=7 \else + \catcode`\noexpand \^\the\catcode`\^\fi + \let\expandafter\noexpand\csname :RestoreCatcodes\endcsname + \noexpand\UnDefcS} +\catcode`\:11 \catcode`\#6 \catcode`\^7 + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% It is highly recommended NOT TO CHANGE THIS FILE. Options +% ^^^^^^^^^^^^^^^^^^^^^^^ +% defined in this file may be redefined, and new ones may be +% added, within a user supplied file named tex4ht.usr. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\:CheckOption{info}\if:Option + \Hinclude[*]{info4ht.4ht} + \Log:Note{For additional information, + compile `xhlatex mktex4ht.4ht'^^J and review the appropriate + pointers under mktex4ht.html => index} +\else + \Log:Note{for additional information, use + the command line option `info'} +\fi +\immediate\write16{::::::::::::::::::::::::::::::::::::::::::} +\immediate\write16{ TeX4ht info is available in the log file } +\immediate\write16{::::::::::::::::::::::::::::::::::::::::::} +\let\:tempd\Configure +\def\Configure#1#2{% + \:CheckOption{#1}\if:Option \def\:tempc{#2}\fi} + +\def\:tempc{\:CheckOption{info}\if:Option \Hinclude[*]{infoht4.4ht}\fi + \Hinclude[*]{html4.4ht}% + \Hinclude[*]{html4-math.4ht}% + \:CheckOption{svg}% + \if:Option \else\:CheckOption{svg-}\fi + \if:Option \else\:CheckOption{svg-obj}\fi + \if:Option + \Hinclude[*]{svg.4ht}% + \Hinclude[*]{html4-svg.4ht}% + \:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi + \fi +} +\Configure{uni-html4}{% + \:CheckOption{info}\if:Option + \Hinclude[*]{infoht4.4ht}\fi + \Hinclude[*]{html4.4ht}% + \Hinclude[*]{html4-math.4ht}% + \Hinclude[*]{unicode.4ht} + \Hinclude[*]{html4-uni.4ht}% + \:CheckOption{svg}% + \if:Option \else\:CheckOption{svg-}\fi + \if:Option \else\:CheckOption{svg-obj}\fi + \if:Option \Hinclude[*]{svg.4ht}% + \:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi + \fi + } +\Configure{mathml}{% + \:CheckOption{info}\if:Option + \Hinclude[*]{infoht4.4ht}\fi + \:CheckOption{info}\if:Option + \Hinclude[*]{infomml.4ht}\fi + \Hinclude[*]{html4.4ht}% + \Hinclude[*]{unicode.4ht}% + \Hinclude[*]{mathml.4ht}% + \Hinclude[*]{html-mml.4ht}% + \Hinclude[*]{html4-uni.4ht}% + \:CheckOption{svg}% + \if:Option \else\:CheckOption{svg-}\fi + \if:Option \else\:CheckOption{svg-obj}\fi + \if:Option \Hinclude[*]{svg.4ht}% + \:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi + \fi + \:CheckOption{mathplayer}\if:Option + \:CheckOption{pmathml}\if:Option \else + \:CheckOption{pmathml-css}\if:Option \else + \Hinclude[*]{mathplayer.4ht} + \fi\fi + \else + \Log:Note{For MathML on MSIE + MathPlayer use + the command line option `mathplayer'} + \fi +} + +\Configure{0.0}{% + \Hinclude[*]{html0.4ht}% +} +\Configure{3.2}{% + \Hinclude[*]{html32.4ht}% + \Hinclude[*]{html32-math.4ht}% + \:CheckOption{unicode}\if:Option \Hinclude[*]{unicode.4ht}\fi +} + +\Configure{mozilla}{% + \:CheckOption{info}\if:Option + \Hinclude[*]{infoht4.4ht}\fi + \:CheckOption{info}\if:Option + \Hinclude[*]{infomml.4ht}\fi + \Hinclude[*]{html4.4ht}% + \Hinclude[*]{unicode.4ht}% + \Hinclude[*]{mathml.4ht}% + \Hinclude[*]{html-mml.4ht}% + \Hinclude[*]{mozilla.4ht}% + \:CheckOption{svg}% + \if:Option \else\:CheckOption{svg-}\fi + \if:Option \else\:CheckOption{svg-obj}\fi + \if:Option \Hinclude[*]{svg.4ht}% + \:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi + \fi + \:CheckOption{mathplayer}\if:Option + \Hinclude[*]{mathplayer.4ht} + \else + \Log:Note{For MathML on MSIE + MathPlayer use + the command line option `mathplayer'} + \fi +} + +\Configure{tei}{% + \Hinclude[*]{tei.4ht}% + \Hinclude[*]{unicode.4ht}% + \Hinclude[*]{tei-math.4ht}% + \:CheckOption{svg}% + \if:Option \else\:CheckOption{svg-}\fi + \if:Option \else\:CheckOption{svg-obj}\fi + \if:Option \Hinclude[*]{svg.4ht}% + \:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi + \fi +} +\Configure{tei-mml}{% + \:CheckOption{info}\if:Option + \Hinclude[*]{infomml.4ht}\fi + \Hinclude[*]{tei.4ht}% + \Hinclude[*]{unicode.4ht}% + \Hinclude[*]{mathml.4ht}% + \Hinclude[*]{tei-mml.4ht}% + \:CheckOption{svg}% + \if:Option \else\:CheckOption{svg-}\fi + \if:Option \else\:CheckOption{svg-obj}\fi + \if:Option \Hinclude[*]{svg.4ht}% + \:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi + \fi +} + +\Configure{docbook}{% + \Hinclude[*]{docbook.4ht}% + \Hinclude[*]{unicode.4ht}% + \Hinclude[*]{docbook-math.4ht}% + \:CheckOption{svg}% + \if:Option \else\:CheckOption{svg-}\fi + \if:Option \else\:CheckOption{svg-obj}\fi + \if:Option \Hinclude[*]{svg.4ht}% + \:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi + \fi +} +\Configure{docbook-mml}{% + \:CheckOption{info}\if:Option + \Hinclude[*]{infomml.4ht}\fi + \Hinclude[*]{docbook.4ht}% + \Hinclude[*]{unicode.4ht}% + \Hinclude[*]{mathml.4ht}% + \Hinclude[*]{docbook-mml.4ht}% + \:CheckOption{svg}% + \if:Option \else\:CheckOption{svg-}\fi + \if:Option \else\:CheckOption{svg-obj}\fi + \if:Option \Hinclude[*]{svg.4ht}% + \:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi + \fi +} + +\Configure{word}{% + \:CheckOption{info}\if:Option + \Hinclude[*]{infoht4.4ht}\fi + \Hinclude[*]{html4.4ht}% + \Hinclude[*]{html4-math.4ht}% + \Hinclude[*]{htmlw.4ht}% + \:CheckOption{svg}% + \if:Option \else\:CheckOption{svg-}\fi + \if:Option \else\:CheckOption{svg-obj}\fi + \if:Option \Hinclude[*]{svg.4ht}% + \:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi + \fi +} + +\Configure{ooffice}{% + \:CheckOption{info}\if:Option + \Hinclude[*]{infoht4.4ht}\fi + \:CheckOption{info}\if:Option + \Hinclude[*]{infomml.4ht}\fi + \Hinclude[*]{ooffice.4ht}% + \Hinclude[*]{unicode.4ht}% + \Hinclude[*]{mathml.4ht}% + \Hinclude[*]{ooffice-mml.4ht}% +} + + +\openin15=tex4ht.usr \ifeof15 \else \closein15 + \input tex4ht.usr +\fi + +\let\Configure\:tempd + +\:tempc + +\:RestoreCatcodes +\endinput + -- cgit v1.2.3