% see if we should actually do anything \message{Including htmltex ...} \expandafter\ifx\csname dohtml\endcsname\relax \message{dohtml undefined; skipping ...} \else \message{dohtml defined; it is \dohtml} %%%%%%%%%%%%%%%% BEGIN HTML TEX STUFF %%%%%%%%%%%%%% % get tex to output the output boxes \tracingoutput=1 \showboxbreadth=10000000 \showboxdepth=10000000 \hbadness=10000 \vbadness=10000 %\setlength{\textheight}{200in} % one page so footnotes go at the bottom. \pretolerance=10000 \makeatletter \def\@htmlwrite#1{\special{HTML:#1}} %%%%%%%%%%%%%%%%%%%%%%%%%% Paragraphs and things %%%%%%%%%%%%%% \iftrue \message{paragraphs ...} \let\@@@par\@@par \def\@@par{\@htmlwrite{
}\@@@par}
\@restorepar
\let\@@@newline\newline
\def\newline{\@htmlwrite{
}\@@@newline}
\let\@@@cr\cr
\def\cr{\@htmlwrite{
}\@@@cr}
\let\@@@dblslsh\\
\def\\{\@htmlwrite{
}\@@@dblslsh}
%\def\discretionary#1#2#3{#3} % didn't work very well
\def\-{}
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%% Pages %%%%%%%%%%%%%%%%%%%%%%%%%
% For TeX
%\footline={\@htmlwrite{