Difference between revisions of "Command/reference"

From ConTeXt wiki
 
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] (autogenerated)] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>reference</syntax>
 
<syntax>reference</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 14:36, 13 October 2019

\reference

Syntax (autogenerated)

\reference[...,...]{...}
[...,...]reference
{...}text


Syntax

\reference[ref]{...}
[ref]
{...} text


Description

Create a reference label.

Example

\starttext
  See reference \ref[t][myref 1], the reference \in[myref 2], 
  and the reference on \at{page}[myref 3]
  
  \section{Section one}
  \reference[myref 1]{MyRef1} This is the first reference.

  \section{Section two}
  \reference[myref 2]{MyRef2} This is the second one.

  \section{Section two}
  \reference[myref 3]{MyRef3} This is the second one.
\stoptext


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: