RE: Cross-references with numbered headings

Subject: RE: Cross-references with numbered headings
From: "Steve Hudson" <steve -at- wright -dot- com -dot- au>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Thu, 20 Sep 2001 14:17:03 +1000

The new dialog has been added to the HATT files area with my other
utilities. It is called MegaXref and is in the Software Tools dir of the
files area.


Functional Notes (No doco with proggy as yet)

Endnotes/footnotes only use the conventional note number, not the
"formatted" option. Endnotes and footnotes will insert a null for <Text>.

Technical Point of Interest:

Word cheats with the std numbered list x-refs. Although its list is
generated by the ActiveDocument.GetCrossReferences(type) function, if using
InsertCrossReference to address Numbered Items the offset used is for the
sequential order, by paragraph, of all items with a listformat. The
GetCrossReferences function only lists those entries with a NUMBERED
listformat, so the two sets of offset numbers are completely incompatible.

Eg: I have two bulleted lines followed by a numbered line. InsertCrossRef
thinks the first number line is Item 3, as two list entries precede it.
GetCrossReferences thinks it is Item 1, as it is the first Numbered entry. I
cant convert 1 -> 3 in any QUICK logical way.

If anyone has any extra info on this I will be much appreciative as I can
then soup this dialog up.

Extending the Functionality to Numbered Lists

What you CAN do is modify the macro in Utilities (different download, same
area) to pick up on a single x-ref (say a # ref to a #'d item) and add in
the others after it. When editing your document, merely insert the one key
x-ref when required, then after editing the entire doco, run the macro to
add the extras where they are required.

Proposed Updates

I plan on adding more pat phrases and making them sensitive to the choices
made - eg endnote and footnote can't refer to the item text, so those
options are of limited use.

Steve Hudson
Principal Technical Writer
Wright Technologies (Aus)
steve -at- wright -dot- com -dot- au
(612) 9518-1822
The best way to predict the future... is to create it!

-----Original Message-----
From: Keith Soltys

PS - anybody got a macro that will insert the cross reference to a heading
and page number in one step?


A landmark hotel, one of America's most beautiful cities, and
three and a half days of immersion in the state of the art:
IPCC 01, Oct. 24-27 in Santa Fe.

+++ Miramo -- Database/XML publishing automation. See us at +++
+++ Seybold SFO, Sept. 25-27, in the Adobe Partners Pavilion +++
+++ More info: +++

You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit for more resources and info.

Cross-references with numbered headings: From: Keith Soltys

Previous by Author: RE: corrupt word doc fix?
Next by Author: RE: Documentation Types (repost)
Previous by Thread: RE: Cross-references with numbered headings
Next by Thread: RE: Numbered headings?

What this post helpful? Share it with friends and colleagues:

Sponsored Ads