Suzanne,
Thank you for the ideas. I appreciate the help, but what I'm really looking
for is something generic like "styleref" that will give me whatever sequence
or listnum applies to that paragraph without my manually editing each index
entry. Essentially, I want the paragraph number to show up automatically the
same way the page number does. I'm lazy: I really DON'T want to go through
and manually mark each index entry. (For the indexing purists: I'm not
setting up a standard subject entry, which is why I'm not concerned about
manually marking each index entry.)
Here's what I am doing: using the index feature with the \f switch to create
a custom list of requirements
We marked each requirement in the specification with an "R:" code, and I
wrote a macro that finds each code, sets up an index entry with the code, and
then grabs the text of the requirement paragraph and adds that to the index
entry. I've set up delimiters to allow me to separate the resulting index
entries so that I end up with a table showing the requirement ID, the text of
the requirement, and the page number. I want to add the paragraph number to
that. I should be able to using the \s switch, but I can't find the right
sequence number identifier to say "give me the paragraph number.
Jan