Next: , Previous: , Up: Cross References   [Contents][Index]


6.2 Different Cross-reference Commands

There are three different cross-reference commands:

@xref

Used to start a sentence in the printed manual and in HTML with ‘See …’ or an Info cross-reference saying ‘*Note name: node.’.

@ref

Used within or, more often, at the end of a sentence; produces just the reference in the printed manual and in HTML without the preceding ‘See’ (same as @xref for Info).

@pxref

Used within parentheses, at the end of a sentence, or otherwise before punctuation, to make a reference. Its output starts with a lowercase ‘see’ in the printed manual and in HTML, and a lowercase ‘*note’ in Info. (‘p’ is for ‘parenthesis’.)

Additionally, there are commands to produce references to documents outside the Texinfo system. The @cite command is used to make references to books and manuals. @url produces a URL, for example a reference to a page on the World Wide Web. @inforef is used to make a reference to an Info file for which there is no printed manual.