374 |
later expanded by the <code>@value</code> command. |
later expanded by the <code>@value</code> command. |
375 |
</p> |
</p> |
376 |
<p>A <em>flag</em> is an identifier. In general, it is best to use only |
<p>A <em>flag</em> is an identifier. In general, it is best to use only |
377 |
letters and numerals in a flag name, not <samp>`-'</samp> or <samp>`_'</samp>--they |
letters and numerals in a flag name, not <samp>`-'</samp> or <samp>`_'</samp>—they |
378 |
will work in some contexts, but not all, due to limitations in TeX. |
will work in some contexts, but not all, due to limitations in TeX. |
379 |
</p> |
</p> |
380 |
<p>The value is the remainder of the input line, and can contain anything. |
<p>The value is the remainder of the input line, and can contain anything. |
384 |
<table><tr><td> </td><td><pre class="example">@set foo This is a string. |
<table><tr><td> </td><td><pre class="example">@set foo This is a string. |
385 |
</pre></td></tr></table> |
</pre></td></tr></table> |
386 |
|
|
387 |
<p>This sets the value of the flag <code>foo</code> to "This is a string.". |
<p>This sets the value of the flag <code>foo</code> to “This is a string.”. |
388 |
</p> |
</p> |
389 |
<p>The Texinfo formatters then replace an <code>@value{<var>flag</var>}</code> |
<p>The Texinfo formatters then replace an <code>@value{<var>flag</var>}</code> |
390 |
command with the string to which <var>flag</var> is set. Thus, when |
command with the string to which <var>flag</var> is set. Thus, when |
494 |
(but before the conditional text), then the Texinfo formatting commands |
(but before the conditional text), then the Texinfo formatting commands |
495 |
ignore the text between the <code>@ifset large</code> and <code>@end ifset</code> |
ignore the text between the <code>@ifset large</code> and <code>@end ifset</code> |
496 |
commands. In the formatted output, that text does not appear; in both |
commands. In the formatted output, that text does not appear; in both |
497 |
printed and Info output, you see only the lines that say, "You can use |
printed and Info output, you see only the lines that say, “You can use |
498 |
this machine to dig up shrubs without hurting them. Remember to replant |
this machine to dig up shrubs without hurting them. Remember to replant |
499 |
promptly …". |
promptly …”. |
500 |
</p> |
</p> |
501 |
<a name="IDX296"></a> |
<a name="IDX296"></a> |
502 |
<p>If a flag is cleared with an <code>@clear <var>flag</var></code> command, then |
<p>If a flag is cleared with an <code>@clear <var>flag</var></code> command, then |