next up previous contents index
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:

\caption{An electronic form. Of course in the online version 
of this document the form above would be active!}

Ed Sternin
Sun Feb 19 00:43:49 EST 1995