On 6-5-2012 23:18, Robert Blackstone wrote:
Dear list,

Presently I am working on a book that contains many musical examples, some of 
them rather large (even page-filling). It is difficult to predict where they 
will finally be placed, at least  when I do not want to spoil the layout too 
much by forcing every example to be placed at the point where it occurs in the 
.tex-file.

So when dicussing an example I always refer to it with \in{ex.}{ref} and 
\at{page}[ref].

Sometimes however the example is placed at the same page as the text discussing 
it.
Is there any trick to adapt the reference to this situation, so that, instead of saying, for instance, "ex. 3.4 on 
page 12", it just says "ex. 3.4", or "ex. 3.4 below" or even "ex. 3.4 on this page"?

(One imagines that in the last stage of typesetting the file ConTeXt "knows" 
that the reference and the referenced float will be on the same page, but I have no clue 
how I could use this knowledge.)
Thanks in advance for any help.

you can try \atpage[ref]

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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