diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/mozilla.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mozilla.4ht | 173 |
1 files changed, 116 insertions, 57 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mozilla.4ht b/Master/texmf-dist/tex/generic/tex4ht/mozilla.4ht index fa01faab6c3..2f575f7769b 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mozilla.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mozilla.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% mozilla.4ht 2005-02-21-19:09 % -% Copyright (C) 2000--2005 Paul Gartside % +% mozilla.4ht 2006-10-28-15:34 % +% Copyright (C) 2000--2006 Paul Gartside % % Eitan M. Gurari % % % % This program can redistributed and/or modified under % @@ -21,7 +21,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2005-02-21-19:09} +\immediate\write-1{version 2006-10-28-15:34} \exit:ifnot{Preamble,% amsfonts,% croatian,% @@ -40,9 +40,9 @@ tex4ht} \ConfigureHinput{Preamble} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \:CheckOption{xht} \if:Option - \Configure{html}{xht} + \Configure{ext}{xht} \else - \Configure{html}{xml} + \Configure{ext}{xml} \fi \:CheckOption{pmathml-css} \if:Option \edef\Preamble{\Preamble,pmathml} @@ -56,7 +56,8 @@ tex4ht} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{tex4ht} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \:CheckOption{pmathml} \if:Option + \:CheckOption{frames} \if:Option + \Configure{frames-altDOCTYPE}{\:CheckOption{pmathml} \if:Option \Configure{DOCTYPE}{} \else @@ -76,6 +77,30 @@ tex4ht} }} \fi +} +\else + \:CheckOption{pmathml} \if:Option + \Configure{DOCTYPE}{} + +\else + \Configure{DOCTYPE} + {\IgnorePar + \HCode{<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//\expandafter +\ifx \csname a:dtd-lang\endcsname\relax EN\else + \csname a:dtd-lang\endcsname +\fi +"\Hnewline + "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" + >\Hnewline +% "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [\Hnewline +% <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">\Hnewline +% ]>\Hnewline + }} + +\fi + +\fi \Configure{XML-STYLESHEET} {\HCode{<?xml-stylesheet type="text/css" href="\aa:CssFile"?>\Hnewline}} @@ -124,21 +149,21 @@ tex4ht} for MathML, use option `pmathml-css' instead of `pmathml'.} \Configure{halignTD} {}{} {<}{\ifmathml \HCode{ columnalign="left"}\else - \HCode{ align="left" }\fi} + \HCode{ style="text-align:left" }\fi} {-}{\ifmathml \HCode{ columnalign="center"}\else - \HCode{ align="center" }\fi} + \HCode{ style="text-align:center" }\fi} {>}{\ifmathml \HCode{ columnalign="right"}\else - \HCode{ align="right" }\fi} + \HCode{ style="text-align:right" }\fi} {^}{\ifmathml \HCode{ rowalign="top"}\else - \HCode{ valign="top" }\fi} + \HCode{ style="vertical-align:top" }\fi} {=}{\ifmathml \HCode{ rowalign="baseline"}\else - \HCode{ valign="baseline" }\fi} + \HCode{ style="vertical-align:baseline" }\fi} {|}{\ifmathml \HCode{ rowalign="center"}\else - \HCode{ valign="middle" }\fi} + \HCode{ style="vertical-align:middle" }\fi} {_}{\ifmathml \HCode{ rowalign="bottom"}\else - \HCode{ valign="bottom" }\fi} + \HCode{ style="vertical-align:bottom" }\fi} {p}{\ifmathml \HCode{ columnalign="left"}\else - \HCode{ align="left"}\fi} + \HCode{ style="text-align:left"}\fi} {} \fi @@ -157,6 +182,7 @@ tex4ht} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{latex} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -177,7 +203,7 @@ accent="true">&\#x00AF;</\a:mathml mo></\a:mathml munder>}% \else \HCode{</span>}\fi\egroup} \Configure{equation} {\ifmmode\else\par \IgnorePar\fi \EndP - \HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar + \HCode{<table\Hnewline class="equation"><tr><td>}\IgnorePar } {\IgnorePar\EndP\HCode{</td><td class="eq-no">}} {\end:TTT \ifmmode\else \ShowPar\par{\HCondtrue\noindent}\fi} @@ -189,16 +215,28 @@ accent="true">&\#x00AF;</\a:mathml mo></\a:mathml munder>}% \def\AA:text#1{\mtexttrue \HCode{<!--mstyle\Hnewline - class="#1"--><\a:mathml mtext \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}% + class="#1"--><\a:mathml + mtext \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}% \PauseMathClass \Configure{$}{\EndPauseMathClass \mtextfalse - \ht:special{t4ht@,}% + \ht:special{t4ht@,}% \HCode{</\a:mathml - mtext><!--mstyle\Hnewline class="math"-->}} - {\HCode{<!--/mstyle--><\a:mathml mtext - \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}% + mtext><!--mstyle\Hnewline class="math"-->}} + {\HCode{<!--/mstyle--><\a:mathml mtext + \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}% \PauseMathClass - \mtexttrue}{}} + \mtexttrue}{} +\Configure{()}% + {\EndPauseMathClass \mtextfalse + \ht:special{t4ht@,}% +\HCode{</\a:mathml mtext><\a:mathml + mstyle\Hnewline \mml:class="math">}$}% + {$\HCode{</\a:mathml mstyle><\a:mathml + mtext \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}% +\PauseMathClass + \mtexttrue}% + {}% +} \def\BB:text{\mtextfalse\EndPauseMathClass\ht:special{t4ht@,}% \HCode {</\a:mathml mtext><!--/mstyle-->}} @@ -281,10 +319,10 @@ a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}% Y{0178}\i{00EF}% {}{34}} {}{} - \expand:after{\expand:after{\Configure{accent}}% - \csname OT1\string\r\endcsname}% - \csname OT1\string\r\endcsname{{}{}} - {}{} +% \expand:after{\expand:after{\Configure{accent}}% +% \csname OT1\string\r\endcsname}% +% \csname OT1\string\r\endcsname{{}{}} +% {}{} \expand:after{\Configure{accent}}\csname OT1\string\b\endcsname \b{D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}% R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}% @@ -384,6 +422,8 @@ C{00C7}c{00E7}G{0122}g{0123}% \fi + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty @@ -406,6 +446,8 @@ C{00C7}c{00E7}G{0122}g{0123}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsfonts} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -430,7 +472,7 @@ C{00C7}c{00E7}G{0122}g{0123}% {<\a:mathml mi mathvariant="double-struck">}{</\a:mathml mi>}{} \find:set:mgroup{\mathbb{A}}{\mathbbMathClass}% - {4142434445464748494A4B4C4D4E4F505152535455565758595A7C} + {414244454647494A4B4C4D4F535455565758597C} \ifx \mathfrakMathClass\:UnDef \NewMathClass\mathfrakMathClass @@ -479,6 +521,8 @@ C{00C7}c{00E7}G{0122}g{0123}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{plain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -573,10 +617,10 @@ a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}% Y{0178}\i{00EF}% {}{34}} {}{} - \expand:after{\expand:after{\Configure{accent}}% - \csname OT1\string\r\endcsname}% - \csname OT1\string\r\endcsname{{}{}} - {}{} +% \expand:after{\expand:after{\Configure{accent}}% +% \csname OT1\string\r\endcsname}% +% \csname OT1\string\r\endcsname{{}{}} +% {}{} \expand:after{\Configure{accent}}\csname OT1\string\b\endcsname \b{D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}% R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}% @@ -692,6 +736,14 @@ C{00C7}c{00E7}G{0122}g{0123}% + + + + + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{euler} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -759,16 +811,7 @@ C{00C7}c{00E7}G{0122}g{0123}% \egroup \fi -\ifx \mathsfMathClass\:UnDef - \NewMathClass\mathsfMathClass -\fi -\Configure{MathClass}{\mathsfMathClass}{*} - {<\a:mathml mi mathvariant="bold-sans-serif">}{</\a:mathml mi>}{} -\find:set:mgroup{\mathsf{A}}{\mathsfMathClass}% - {4142434445464748494A4B4C4D4E4F505152535455565758595A% - 6162636465666768696A6B6C6D6E6F707172737475767778797A% - 30313233343536373839}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -776,7 +819,6 @@ C{00C7}c{00E7}G{0122}g{0123}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{eucal} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -907,6 +949,18 @@ C{00C7}c{00E7}G{0122}g{0123}% + + + + + + + + + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{dsfont} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1000,6 +1054,11 @@ C{00C7}c{00E7}G{0122}g{0123}% + + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{romanian} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1076,10 +1135,10 @@ a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}% Y{0178}\i{00EF}% {}{34}} {}{} - \expand:after{\expand:after{\Configure{accent}}% - \csname OT1\string\r\endcsname}% - \csname OT1\string\r\endcsname{{}{}} - {}{} +% \expand:after{\expand:after{\Configure{accent}}% +% \csname OT1\string\r\endcsname}% +% \csname OT1\string\r\endcsname{{}{}} +% {}{} \expand:after{\Configure{accent}}\csname OT1\string\b\endcsname \b{D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}% R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}% @@ -1195,10 +1254,10 @@ a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}% Y{0178}\i{00EF}% {}{34}} {}{} - \expand:after{\expand:after{\Configure{accent}}% - \csname OT1\string\r\endcsname}% - \csname OT1\string\r\endcsname{{}{}} - {}{} +% \expand:after{\expand:after{\Configure{accent}}% +% \csname OT1\string\r\endcsname}% +% \csname OT1\string\r\endcsname{{}{}} +% {}{} \expand:after{\Configure{accent}}\csname OT1\string\b\endcsname \b{D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}% R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}% @@ -1311,10 +1370,10 @@ a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}% Y{0178}\i{00EF}% {}{34}} {}{} - \expand:after{\expand:after{\Configure{accent}}% - \csname OT1\string\r\endcsname}% - \csname OT1\string\r\endcsname{{}{}} - {}{} +% \expand:after{\expand:after{\Configure{accent}}% +% \csname OT1\string\r\endcsname}% +% \csname OT1\string\r\endcsname{{}{}} +% {}{} \expand:after{\Configure{accent}}\csname OT1\string\b\endcsname \b{D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}% R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}% @@ -1362,7 +1421,6 @@ C{00C7}c{00E7}G{0122}g{0123}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{croatian} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1439,10 +1497,10 @@ a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}% Y{0178}\i{00EF}% {}{34}} {}{} - \expand:after{\expand:after{\Configure{accent}}% - \csname OT1\string\r\endcsname}% - \csname OT1\string\r\endcsname{{}{}} - {}{} +% \expand:after{\expand:after{\Configure{accent}}% +% \csname OT1\string\r\endcsname}% +% \csname OT1\string\r\endcsname{{}{}} +% {}{} \expand:after{\Configure{accent}}\csname OT1\string\b\endcsname \b{D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}% R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}% @@ -1497,5 +1555,6 @@ C{00C7}c{00E7}G{0122}g{0123}% + \endinput |