Next: Testing for Texinfo Commands, Previous: Inline Conditionals, Up: Conditionals [Contents][Index]
@set
, @clear
, conditionals, and @value
You can direct the Texinfo formatting commands to format or ignore parts
of a Texinfo file with the @set
, @clear
, @ifset
,
and @ifclear
commands.
Here are brief descriptions of these commands, see the following sections for more details:
@set flag [value]
Set the variable flag, to the optional value if specified.
@clear flag
Undefine the variable flag, whether or not it was previously defined.
@ifset flag
If flag is set, text through the next @end ifset
command
is formatted. If flag is clear, text through the following
@end ifset
command is ignored.
@inlineifset{flag, text}
Brace-delimited version of @ifset
.
@ifclear flag
If flag is set, text through the next @end ifclear
command
is ignored. If flag is clear, text through the following
@end ifclear
command is formatted.
@inlineifclear{flag, text}
Brace-delimited version of @ifclear
.
• @set @value | Expand a flag variable to a string. | |
• @ifset @ifclear | Format a region if a flag is set. | |
• @inlineifset @inlineifclear | Brace-delimited flag conditionals. | |
• @value Example | An easy way to update edition information. |