Info Node: (texinfo)@set @clear @value

CFHT HOME texinfo: @set @clear @value


up: Conditionals next: Testing for Texinfo Commands prev: Inline Conditionals Back to Software Index

18.5 '@set', '@clear', 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.

'@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.

* @set @value
Expand a flag variable to a string.
* @ifset @ifclear
Format a region if a flag is set.
* @value Example
An easy way to update edition information.

automatically generated by info2www version 1.2