diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/javahelp.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/javahelp.4ht | 102 |
1 files changed, 71 insertions, 31 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/javahelp.4ht b/Master/texmf-dist/tex/generic/tex4ht/javahelp.4ht index 1a48445fcd9..e6c84985616 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/javahelp.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/javahelp.4ht @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% javahelp.4ht 2008-07-05-09:27 % +% javahelp.4ht 2008-07-23-00:03 % % Copyright (C) 2003--2008 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % @@ -24,7 +24,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2008-07-05-09:27} +\immediate\write-1{version 2008-07-23-00:03} \exit:ifnot{Preamble,% array,% @@ -32,9 +32,11 @@ color,% colortbl,% fontmath,% frenchb,% +inputenc,% latex,% longtable,% -tex4ht} +tex4ht,% +ulem} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{Preamble} @@ -58,8 +60,10 @@ tex4ht} \immediate\write-1{ htlatex \jobname\space "html,javahelp,3.2,3"} \immediate\write-1{------------------------------------------} -\newif\ifimmediate -\immediatefalse +% \newif\ifimmediate +% \immediatefalse +\NewConfigure{jhxml}[1]{\concat:config\a:jhxml{#1}} +\let\a:jhxml\relax %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -433,21 +437,15 @@ tex4ht} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fontmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \Configure{textbf} - {\ifimmediate\else \Protect\HCode{<b>}\fi} - {\ifimmediate\else \Protect\HCode{</b>}\fi} -\Configure{textit} - {\ifimmediate\else \Protect\HCode{<i>}\fi} - {\ifimmediate\else \Protect\HCode{</i>}\fi} -\Configure{textsl} - {\ifimmediate\else \Protect\HCode{<i>}\fi} - {\ifimmediate\else \Protect\HCode{</i>}\fi} -\Configure{texttt} - {\ifimmediate\else \Protect\HCode{<tt>}\fi} - {\ifimmediate\else \Protect\HCode{</tt>}\fi} -\Configure{emph} - {\ifimmediate\else \Protect\HCode{<em>}\fi} - {\ifimmediate\else \Protect\HCode{</em>}\fi} + \Configure{jhxml} +{% + \let\textbf\empty + \let\textit\empty + \let\textsl\empty + \let\texttt\empty + \let\textsc\empty + \let\emph\empty +} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -457,6 +455,18 @@ tex4ht} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{inputenc} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{jhxml} +{% + \let\IeC\empty +} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -771,6 +781,13 @@ tex4ht} \else \HCode{</span>}\fi \egroup } +\Configure{textcolor} + {\gHAdvance\textcolorN by 1 + \Configure{color}% + {\Configure{SetHColor} + {\Css{span\#textcolor\textcolorN{color:\HColor}}}}% + \HCode{<span id="textcolor\textcolorN">}}% + {\HCode{</span>}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -855,21 +872,14 @@ tex4ht} - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{frenchb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \expandafter\let\csname jha:ftsp\expandafter\endcsname - \csname a:frenchb-thinspace\endcsname -\expandafter\def\csname a:frenchb-thinspace\endcsname{% - \ifimmediate - \expandafter\jha:ftspignore - \else - \expandafter\jha:ftsp - \fi + \Configure{jhxml} +{% + \expandafter\def\csname + a:frenchb-thinspace\endcsname##1frenchb-thinspace\endcsname{}% } -\def\jha:ftspignore#1frenchb-thinspace\endcsname{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1036,6 +1046,36 @@ tex4ht} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{ulem} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{uline} + {\HCode{<span class="uline">}} {\HCode{</span>}} +\Css{.uline{ text-decoration:underline; }} +\Configure{uuline} + {\HCode{<span class="uuline">}} {\HCode{</span>}} +\Css{.uuline{ text-decoration:underline; }} +\Configure{sout} + {\HCode{<span class="sout">}} {\HCode{</span>}} +\Css{span.sout {text-decoration: line-through }} +\Configure{xout} + {\HCode{<span class="xout"><span class="underline">}} + {\HCode{</span></span>}} +\Css{span.xout {text-decoration: line-through }} +\Configure{uwave} + {\HCode{<span class="uwave">}} + {\HCode{</span>}} +\Css{span.uwave {text-decoration:underline }} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + |