diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labundef.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labundef.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labundef.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labundef.html index a42e2954bd1..fab4814b7a6 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labundef.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labundef.html @@ -3,7 +3,7 @@ </head><body> <h3>Finding if a label is undefined</h3> <p/>People seem to want to know (at run time) if a label is undefined (I -don’t actually understand <em>why</em>, particularly: it’s a transient +don’t actually understand <em>why</em>, particularly: it’s a transient state, and LaTeX deals with it quite well). <p/>A resolved label is simply a command: <code>\</code><code>r@</code><code><<i>label-name</i>></code>; determining if the label is set is @@ -21,15 +21,15 @@ sequences to be used if the label is undefined <p/>Note that any command that incorporates <code>\</code><code>@ifundefined</code> is naturally fragile, so remember to create it with <code>\</code><code>DeclareRobustCommand</code> or to use it with <code>\</code><code>protect</code> in a moving argument. -<p/>If you’re into this game, you may well not care about LaTeX’s +<p/>If you’re into this game, you may well not care about LaTeX’s warning about undefined labels at the end of the document; however, if you are, include the command <code>\</code><code>G@refundefinedtrue</code> in <<i><code>undef-cmds</i>></code>. -<p/>And of course, remember you’re dealing in internal commands, and pay +<p/>And of course, remember you’re dealing in internal commands, and pay attention to the <a href="FAQ-atsigns.html">at-signs</a>. <p/>All the above can be avoided by using the <i>labelcas</i> package: it provides commands that enable you to switch according to the state -of a single label, or the states of a list of labels. The package’s +of a single label, or the states of a list of labels. The package’s definition is a bit complicated, but the package itself is pretty powerful. <dl> |