automandc
2005-03-08 00:07:03 UTC
Here is a frustrating problem I would love to solve:
In a document of numbered paragraphs I would like to insert a cross
reference that always refers to the paragraph immediately before the
paragraph it is in. For example, if I have text like this:
52. Paragraph text.
53. Another Paragraph text.
54. More text, "and see the text in paragraph __"
I want the blank in paragraph 54 to be a cross reference to (54 - 1) (its
own paragraph minus one), so that even if I insert several paragraphs between
53 and 54, the blank still references the number of the paragraph immediately
preceeding its own.
[By way of explanation: In legal complaints it is standard to insert an
internal reference at the beginning of each legal count that says something
like "Plaintiff hereby repeats and realleges all of the averments in
paragraphs 1 to __ above as if set forth herein." It is possible to insert a
regular cross reference for the blank, but if you add any paragraphs between
counts, or reorder the counts then the cross reference doesn't point to the
correct paragraph anymore.]
If your readers can help me find a solution I would be most greatful!
Thanks in advance!
In a document of numbered paragraphs I would like to insert a cross
reference that always refers to the paragraph immediately before the
paragraph it is in. For example, if I have text like this:
52. Paragraph text.
53. Another Paragraph text.
54. More text, "and see the text in paragraph __"
I want the blank in paragraph 54 to be a cross reference to (54 - 1) (its
own paragraph minus one), so that even if I insert several paragraphs between
53 and 54, the blank still references the number of the paragraph immediately
preceeding its own.
[By way of explanation: In legal complaints it is standard to insert an
internal reference at the beginning of each legal count that says something
like "Plaintiff hereby repeats and realleges all of the averments in
paragraphs 1 to __ above as if set forth herein." It is possible to insert a
regular cross reference for the blank, but if you add any paragraphs between
counts, or reorder the counts then the cross reference doesn't point to the
correct paragraph anymore.]
If your readers can help me find a solution I would be most greatful!
Thanks in advance!