manpagez: man pages & more
info texinfo
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.2 Conditional Not Commands

You can specify text to be included in any output format other than a given one with the @ifnot… environments:

@ifnotdocbook … @end ifnotdocbook
@ifnothtml … @end ifnothtml
@ifnotinfo … @end ifnotinfo
@ifnotplaintext … @end ifnotplaintext
@ifnottex … @end ifnottex
@ifnotxml … @end ifnotxml

The @ifnot… command and the @end command must appear on lines by themselves in your actual source file.

If the output file is being made in the given format, the region is ignored. Otherwise, it is included.

There is one exception (for historical compatibility): @ifnotinfo text is omitted for both Info and plain text output, not just Info. To specify text which appears only in Info and not in plain text, use @ifnotplaintext, like this:

This will be in Info, but not plain text.
@end ifnotplaintext
@end ifinfo

The regions delimited by these commands are ordinary Texinfo source as with @iftex, not raw formatter source as with @tex (see section Raw Formatter Commands).

This document was generated on October 2, 2013 using texi2html 5.0.

© 2000-2018
Individual documents may contain additional copyright information.