coupling register with head
![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
Dear posse, Is it possible to couple the \index register with \head instead of page numbers? I have a document that is exactly one single \start-\stopitemize[n] with over 1000 \head entries. The \index'ed items occur for the most part in the second paragraph after \head. I would like the index to tell me which heading number my entry falls under. Is this possible? If so, how? Thnx in advance and Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
Dear knights,
I sent this earlier, never got a response...
I'm sure I'm not the first to ask this question, seems like a pretty
common register-task. But if it's impossible, please let me know that too!
Best
Idris
------- Forwarded message -------
From: "Idris Samawi Hamid"
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Idris Samawi Hamid wrote:
Dear knights,
I sent this earlier, never got a response...
I'm sure I'm not the first to ask this question, seems like a pretty common register-task. But if it's impossible, please let me know that too!
This is not trivial, because \head does not create a reference, and register entries expect page numbers for sorting purposes. But if you send me an example file (10 pages or so) offlist, I will see if I can cook something up. Best, Taco
![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
Hi Taco,
On Sat, 16 Dec 2006 01:53:13 -0700, Taco Hoekwater
Idris Samawi Hamid wrote:
Dear knights,
I sent this earlier, never got a response...
I'm sure I'm not the first to ask this question, seems like a pretty common register-task. But if it's impossible, please let me know that too!
This is not trivial, because \head does not create a reference, and register entries expect page numbers for sorting purposes.
But if you send me an example file (10 pages or so) offlist, I will see if I can cook something up.
It is done ;-) Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
participants (2)
-
Idris Samawi Hamid
-
Taco Hoekwater