Next: Cross References Shown Up: Special Features Previous: Including Arbitrary HTML

## Conditional Text

Conditional text can be specified using the environments latexonly and htmlonly. These allow writing parts of a document which are intended only for electronic delivery or only for paper-based delivery.

This would be useful for example in adding a long description of a multimedia resource in the paper version of a document. Such a description would be redundant in the electronic version, as the user can have direct access to this resource.

Here is an example of the use of the latexonly environment:

\begin{latexonly}
\begin{figure}
\psfig{file=eform.ps,width=4in}
\caption{An electronic form. Of course in the online version
of this document the form above would be active!}
\end{figure}
\end{latexonly}


system PRIVILEGED account
Wed Apr 3 13:37:02 PST 1996