Difference between revisions of "Command/textreference"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \textreference") |
|||
Line 22: | Line 22: | ||
\setuppapersize[A8,landscape] | \setuppapersize[A8,landscape] | ||
\starttext | \starttext | ||
− | The various \textreference[houses]{canal houses} houses at the canal have nice interior. | + | The various \textreference[houses]{canal houses} houses at the canal have nice interior. |
See \about[houses] on \at{page}[houses] for more information on the houses. | See \about[houses] on \at{page}[houses] for more information on the houses. | ||
Line 33: | Line 33: | ||
<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="pagereference">sets an anchor for page numbers only</cd:commandref></cd:seealso> | + | <cd:commandref name="pagereference">sets an anchor for page numbers only</cd:commandref> |
+ | <cd:commandref name="reference">for a command that is almost exactly the same as this one</cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Revision as of 17:53, 5 September 2020
Contents
\textreference
Summary
The command \textreference is used for creating reference anchors
Settings
Description
Creates an invisible, referencable anchor text on the page. This anchor can later be referenced with commands like \at and \about.
Examples
Example 1
\setuppapersize[A8,landscape] \starttext The various \textreference[houses]{canal houses} houses at the canal have nice interior. See \about[houses] on \at{page}[houses] for more information on the houses. \stoptext
produces
Notes
See also
- strc-ref.mkvi
- \at
- \about
- \pagereference sets an anchor for page numbers only
- \reference for a command that is almost exactly the same as this one