Thanks Wolfgang. I am afraid, however, your answer inspires me to a subsequent 
question.

In order to customize  the reference myself my idea is something along the line 
of:
  \def\myatpage[#1]{ \scratchcounter=\at[#1]\relax\ifnum=\pagenumber etcetera.
But this gives an error, as dus \expanded{\at[#1]}, as does 
\expandafter\scratchcounter=
The error is Missing number, treated as zero..

Do you have a hint how to proceed?

Hans van der Meer




On 17 Jan 2016, at 17:42, Wolfgang Schuster 
<[email protected]<mailto:[email protected]>> wrote:

Meer, Hans van der<mailto:[email protected]>
17. Januar 2016 um 16:58
Defining \pagereference[xyz] en calling this some pages later with \atpage[xyz] 
I get as reference "at a previous page" (perhaps not exactly, the typesetting 
is done in dutch).
The english text is “on a preceding page”.
This an unwanted result, that previous page is 7 pages before.
The test is still true before “on *a* preceding page” is not the same as “on 
*the* preceding page”.
How can I restrict this to either "on this page" or to the exact number of the 
page in question?
You can print the number with \at[<LABEL>].

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to