Info Node: (texinfo)Conditional Not Commands

texinfo: Conditional Not Commands
Conditionals
Raw Formatter Commands
Conditional Commands
Back to Software 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:
@ifinfo
@ifnotplaintext
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' (Note: Raw
Formatter Commands).
automatically generated by info2www version 1.2