Difference between revisions of "Command/reference"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \reference") |
|||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description>Creates a reference label | + | <cd:description>Creates a reference label. |
</cd:description> | </cd:description> | ||
<cd:examples><cd:example title=""><context source="yes"> | <cd:examples><cd:example title=""><context source="yes"> | ||
+ | \setuppapersize[A8,landscape] | ||
\starttext | \starttext | ||
− | See reference \ | + | See reference \in[myref 1] on \at{page}[myref 1] |
− | + | ||
− | |||
\section{Section one} | \section{Section one} | ||
\reference[myref 1]{MyRef1} This is the first reference. | \reference[myref 1]{MyRef1} This is the first reference. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
\stoptext | \stoptext | ||
</context></cd:example></cd:examples> | </context></cd:example></cd:examples> | ||
Line 40: | Line 35: | ||
<cd:commandref name="at"></cd:commandref> | <cd:commandref name="at"></cd:commandref> | ||
<cd:commandref name="about"></cd:commandref> | <cd:commandref name="about"></cd:commandref> | ||
− | <cd:commandref name="ref"></cd:commandref></cd:seealso> | + | <cd:commandref name="ref"></cd:commandref> |
+ | <cd:commandref name="in"></cd:commandref> | ||
+ | <cd:commandref name="textreference">for a command that is almost exactly identical</cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 17:59, 5 September 2020
Contents
\reference
Summary
The command \reference is used for creating reference labels
Settings
Description
Creates a reference label.
Examples
Example 1
\setuppapersize[A8,landscape] \starttext See reference \in[myref 1] on \at{page}[myref 1] \section{Section one} \reference[myref 1]{MyRef1} This is the first reference. \stoptext
Notes
See also
- strc-ref.mkvi
- \at
- \about
- \ref
- \in
- \textreference for a command that is almost exactly identical