% Macros for HTML.
% Gary Houston.

\input{gftext.sty}
\input{gfstructure.sty}
\input{gfdisplay.sty}

% URLs are usually too wide, and whitespace should not be stretched, so...
\raggedright

\def\@author{}
\def\@date{}

% Print the document header. Also in smallsects.sty.
\def\@maketitle{%
  \parindent 0pt \newpage \null \vskip 2em
  \begin{center}
    {\LARGE \@title} \par
    \ifx\empty\@author\else
      {\large \@author}%
    \fi
    \ifx\empty\@date\else
      {\\\large\@date}%
    \fi
  \end{center}
  \par
  \vskip 1.0em
}

\long\def\address#1{{\it #1}\futurelet\next\smartitalicx}

\def\anchor#1{#1}
\def\url#1{\code{URL}{[#1]}}
\def\urn#1{\code{URN}{[#1]}}
\def\xref#1{(page \pageref{#1})}
\def\img#1{(Image omitted\if\empty#1\else: \code{IMG}{[#1]}\fi)}