Command/atpage
Contents
\atpage
Summary
The command \atpage is used for labelled page references.
Settings
Description
If the reference resides on the same page the text 'as we show above' or 'as we show below' is typeset in the language which is set by the command \mainlanguage. Otherwise the text 'on a following page' is typeset.
The used labeltext
entries are hencefore
and hereafter
for a reference on the same page, or followingpage
for a different page.
Examples
Example 1
\setuppapersize[A8,landscape] \starttext \chapter[myRef1]{Chapter 1} Chapter 1 (\atpage[myRef1]). Chapter 2 (\atpage[myRef2]). \page \chapter[myRef2]{Chapter 2} \stoptext
Example 2
\setuplabeltext[en][hencefore=on this page] \chapter[myRef1]{Chapter 1} Chapter 1 (\atpage[myRef1]).
Notes
See also
- strc-ref.mkvi
- \setuplabeltext for configuring the used label texts
- \at for a reference using the page number