diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/onmouseover.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/onmouseover.4ht | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/onmouseover.4ht b/Master/texmf-dist/tex/generic/tex4ht/onmouseover.4ht new file mode 100644 index 00000000000..d9924dbec22 --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/onmouseover.4ht @@ -0,0 +1,92 @@ +\ifnum\the\catcode`\%=14\else\expandafter\edef\csname + \string:RestoreCatcodes\endcsname{\catcode`\%\the + \catcode`\%}\catcode`\%14\fi +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% onmouseover.4ht 2005-10-22-16:24 % +% Copyright (C) 2001--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-22-16:24} + + +\hbadness=10000 \vbadness=10000 \hfuzz=99in \vfuzz=\hfuzz +\overfullrule=0pt \let\makefootline\empty +\special{t4ht.js} + +\newcount\CodeNumber +\def\NoSpecials#1#2#3{\edef\temp{\the\CodeNumber}% + \global\CodeNumber=#3 + \def\next{\catcode\CodeNumber=#1 + \ifnum \CodeNumber=#2 \let\next=\relax \fi + \global\advance\CodeNumber by -1 \next}\next + \global\CodeNumber=\temp }% + +\expandafter\def\csname js js\endcsname{\egroup \special{t4ht@@}% + tex4ht=new Array() ; //\jstoday} +\expandafter\def\csname js js trace="on"\endcsname{\global + \let\TagTrace=\empty \csname js js\endcsname} +\expandafter\def\csname js /js\endcsname{\egroup \special{t4ht@@}% + \csname bye\endcsname\endinput} + +\def\jsHash#1{\jsHasha #1<>} +\def\jsHasha#1#2<>{% + \ifnum `#1<`0 JjV\else + \ifnum `#1>`z jJv\else + \ifnum `#1>`9 + \ifnum `#1<`A jJV\else + \ifnum `#1>`Z + \ifnum `#1<`a jVV\else #1\fi + \else #1\fi\fi + \else #1\fi\fi\fi + \if !#2!\expandafter\done + \else\expandafter\jsHasha\fi#2<>} + +\catcode`/=0 \catcode`\\=13 +/def\{/string\/string\} +/catcode`/\=0 \catcode`\/=12 + +\catcode`\<=13 +\def\jselement#1{\expandafter\def\csname js #1\endcsname##1=##2</#1>{% + \hfill\break tex4ht.\jsHash{##1}=\hbox{"##2";}\egroup}} +\def\scan#1"#2<>{#1\if !#2!\expandafter\done\else + \string\"\expandafter\scan +\fi#2<>} +\def\done#1>{} + +\expandafter\def\csname js \endcsname#1</>{% + \hfill\break \hbox{#1}\egroup} + +\def<#1>{\bgroup + \expandafter \ifx \csname js #1\endcsname \relax \jselement{#1}\fi + \def<##1>{\TagTrace{\def\x{##1}\def\y####1:->{}% + \immediate\write16{...\string<\expandafter\y\meaning\x>}}% + \string<\scan ##1"<>>}% + \NoSpecials{12}{0}{255}\NoSpecials{11}{65}{90}\NoSpecials{11}{97}{122}% + \catcode`\ =10 \catcode`\^^M=10 \catcode`\^^I=10 \catcode`\<=13 + \catcode`\\=13 + \tt \csname js #1\endcsname} +\def\TagTrace#1{} +\catcode`\&=12 \catcode`\#=12 +\endinput + |