ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Robert Blackstone <blackstone.robert@gmail.com>
To: ntg-context@ntg.nl
Subject: References to floats.
Date: Sun, 6 May 2012 23:18:53 +0200	[thread overview]
Message-ID: <106D0264-FD30-4458-9198-8C1B6F0C22B4@gmail.com> (raw)

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.

Robert Blackstone
___________________________________________________________________________________
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	other threads:[~2012-05-06 21:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-06 21:18 Robert Blackstone [this message]
2012-05-07  7:41 ` Hans Hagen
2012-05-07 13:03 Robert Blackstone
2012-05-07 20:25 ` Wolfgang Schuster
2012-05-09 14:16 Robert Blackstone
2012-05-09 15:24 Alan BRASLAU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=106D0264-FD30-4458-9198-8C1B6F0C22B4@gmail.com \
    --to=blackstone.robert@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).