Command/atpage

From Wiki
Jump to navigation Jump to search


\atpage

Summary

The command \atpage is used for labelled page references.

Settings

\atpage[...]
[...]reference

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

Help from ConTeXt-Mailinglist/Forum

All issues with: