From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: (again) wrong page with \finishregisterentry
Date: Tue, 8 Feb 2011 11:29:37 +0100 [thread overview]
Message-ID: <0E030DC6-BF9F-4CC2-B25E-C166FE847BF5@st.estfiles.de> (raw)
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
___________________________________________________________________________________
reply other threads:[~2011-02-08 10:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=0E030DC6-BF9F-4CC2-B25E-C166FE847BF5@st.estfiles.de \
--to=context@st.estfiles.de \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).