\documentclass[12pt]{article}
\usepackage{epsf}
\usepackage{hyperref}

\newenvironment{term}{\special{html:<a href=idvi:toggle:>}}
    {\special{html:</a>}\par}

\newenvironment{definition}{\special{html:<a name=idvi:toggle:>}}
    {\special{html:</a>}\par}

\newenvironment{nameddefinition}[1]{\special{html:<a name=idvi:toggle:#1>}}
    {\special{html:</a>}\par}

\newenvironment{applet}[1]{\special{html:<applet #1>}}{\special{html:</applet>}}

\newcommand\param[2]{\special{html:<param name="#1" value="#2">}}

\newcommand\htmlspecial[1]{{\tt html:$<${#1}$>$}}

\textwidth=5in
\textheight=17in
\pagestyle{empty}

\def\theenumii{\alph{enumii}}

\setcounter{footnote}{0}
\renewcommand\thefootnote{$\fnsymbol{footnote}$}

\begin{document}

\centerline{\Large\bf IDVI Features}
\bigskip

\noindent
Features of IDVI include the following:  (Click on each feature
to show more details.)
\begin{enumerate}
    \item
        \begin{term}
            Displays arbitrary DVI files.
        \end{term}
        \begin{nameddefinition}{dvi}
            \begin{enumerate}
                \item
                    Does not require any particular macro package.
                    Works with plain \TeX, \LaTeX, \LaTeXe, etc.
                \item
                    Handles unusual {\sf fonts} and {\sl styles}.
                \item
                    Displays equations and tables:
                    \begin{displaymath}
                        \sum_{n=1}^\infty{1\over n^2} = {\pi^2\over6}
                        \qquad\qquad
                        \begin{array}{|c||c|c|c|}
                            \hline
                                  & 1 & a & b \\
                            \hline
                            \hline
                                1 & 1 & a & b \\
                            \hline
                                a & a & b & 1 \\
                            \hline
                                b & b & 1 & a \\
                            \hline
                        \end{array}
                    \end{displaymath}
            \end{enumerate}
        \end{nameddefinition}
    \item
        Displays encapsulated postscript images \raisebox{-7pt}{\epsfxsize=18pt\epsfbox{8vlak.eps}},
        even in the magnifier window.
    \item
        Displays
        \special{color push cmyk 1.0 0.3 0.3 0.0}c\special{color pop}%
        \special{color push cmyk 0.3 1.0 0.3 0.0}o\special{color pop}%
        \special{color push cmyk 0.3 0.3 1.0 0.0}l\special{color pop}%
        o%
        \special{color push rgb 0.7 0.0 0.0}r\special{color pop}%
        \special{color push rgb 0.0 0.7 0.0}e\special{color pop}%
        \special{color push rgb 0.0 0.0 0.7}d\special{color pop}
        text.
    \item
        \begin{term}
            Provides interaction through hypertext links.
        \end{term}
        \begin{nameddefinition}{hypertext}
            \begin{enumerate}
                \item
                    The \href{http://xxx.lanl.gov/hypertex/}{Hyper\TeX}
                    specials are interpreted, to provide both internal and external links.
                \item
                    Special {\tt idvi:} URLs can be used to control navigation
                    from within a document.  You can provide
                    controls to \href{idvi:scaleoffset:-1}{increase} or
                    \href{idvi:scaleoffset:1}{decrease} magnification, for example.
                \item
                    Although links which span pages are not allowed, \href{}{multiline links}
                    do work.
            \end{enumerate}
        \end{nameddefinition}
    \item
        \begin{term}
            Provides more interaction through text hiding and outlines.
        \end{term}
        \begin{nameddefinition}{hiding}
            \begin{enumerate}
                \item
                    If you can see this text, you are using
                    the outline feature.
                \item
                    \begin{term}
                        Nested outlines work as expected.
                    \end{term}
                    \begin{definition}
                        I'm not sure what to use them for in a document
                        such as this one, however.
                    \end{definition}
                \item
                    Outlines can be controlled by
                    links placed anywhere on the page.  For example,
                    the sections of this document which can be hidden
                    describe:
                    \href{idvi:toggle:dvi}{display of arbitrary DVI files},
                    \href{idvi:toggle:hypertext}{hypertext links},
                    \href{idvi:toggle:hiding}{text hiding},
                    \href{idvi:toggle:applets}{applets}, and
                    \href{idvi:toggle:portable}{portability}.
            \end{enumerate}
        \end{nameddefinition}
    \item
        Allows fully interactive documents, through the use of
        embedded Java applets
        \begin{applet}{code=ibook.release.ColorChangeApplet}%
            \param{delay}{500}%
            \rule{20pt}{9pt}%
        \end{applet}.
    \item
        \begin{term}
            Runs on any platform which supports the \href{http://java.sun.com/}{Java} language.
        \end{term}
        \begin{nameddefinition}{portable}
            \begin{enumerate}
                \item
                    The DVI Viewer software runs inside any web browser which
                    supports \href{http://java.sun.com/}{Java}.
                \item
                    The {\bf idvi} document preparation software runs on any
                    Unix machine which supports \href{http://java.sun.com}{Java}.
                    (The Java part of the software receives assistance from some shell scripts,
                    and so will run not correctly on Windows or Macintosh machines without some more work.)
            \end{enumerate}
        \end{nameddefinition}
\end{enumerate}

\noindent
However, there are presently some real limitations to the use of IDVI:
\begin{enumerate}
    \item
        All fonts must be downloaded from the web server which
        provides the dvi file.  This can be slow, particularly if the
        server is heavily loaded.
    \item
        The DVI Viewer code itself is somewhat large, and is slow to download.
    \item
        IDVI does not support virtual fonts.
\end{enumerate}

\noindent
Please see the \href{http://www.win.tue.nl/win/math/dw/personalpages/dickie/idvi/userguide/}{IDVI user's guide}
for more information about using the features demonstrated above.

\medskip
\noindent
The \href{features.html}{\LaTeX\ source} for this document may also be of interest.

\end{document}