(eplain.info)Defining generic references


Next: Using generic references Up: Cross-references
Enter node , (file) or (file)node

4.9.1 Defining generic references
---------------------------------

Eplain provides the command '\definexref' for general cross-references.
It takes three arguments: the name of the label (see section above for
valid label names), the value of the label (which can be anything), and
the "class" of the reference--whether it's a section, or theorem, or
what. For example:

     \definexref{sec-intro}{3.1}{section}

Of course, the label value is usually generated by another macro using
TeX count registers or some such.

   '\definexref' doesn't actually define LABEL; instead, it writes out
the definition to the .aux file, where Eplain will read it on the next
TeX run.

   The CLASS argument is used by the '\ref' and '\refs' commands. See
the next section.


automatically generated by info2www version 1.2.2.9