Next: , Previous: Cross-references, Up: User definitions


4.10 Page references

Eplain provides two commands for handling references to page numbers, one for definition and one for use.

\xrdef{label}
Define label to be the current page number. This produces no printed output, and ignores following spaces.
\xref{label}
Produce the text `p. pageno', which is the usual form for cross-references. The pageno is actually label's definition; if label isn't defined, the text of the label itself is printed. The `p. ' prefix is defined by \xrefpageword. Its default definition is p.\thinspace.

Eplain can create hypertext links for the page references (see Page reference hyperlinks).