ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* (again) wrong page with \finishregisterentry
@ 2011-02-08 10:29 Steffen Wolfrum
  0 siblings, 0 replies; only message in thread
From: Steffen Wolfrum @ 2011-02-08 10:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

when \finishregisterentry is set within a paragraph then the "lastrealpage" gets the value from the page where this respective parapgraph starts.
(In the example below it is 4 instead of 5.)
That is quite sad when you have long paragraphs.

How can I set a register range telling me lastrealpage is exactly the page where the ending mark is set?

Attached you may find a minimal example.

Best,
Steffen
-------

\starttext

\switchtobodyfont[50pt]
\input tufte \par
\setregisterentry[index][label={Index_Label}]%
Test\dorecurse{5}{This is are words, not paragraphs. }\finishregisterentry[index][label={Index_Label},entries={Index entry}] Test

\stoptext


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-08 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 10:29 (again) wrong page with \finishregisterentry Steffen Wolfrum

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).