Can I customize cross-references?

G

Guest

When inserting cross-references, can I customize what text is displayed?
Specifically, I want to NOT display the entire heading (e.g. "Recommendation
1") and only display the actual number (e.g. "1"). So, I want my
cross-reference to look like this:

Recommendations 1, 2, 3, and 6 support our findings ...

where the numbers "1", "2", "3", and "6" are actually
cross-references/hyperlinks.

The problem occurs because the style automatically inserts the text
"Recommendation", so the cross-reference displays "Recommendation 1,
Recommendation 2, ... support our findings." I need to keep "Recommendation"
as automatic text in the heading, but just don't want it in the
cross-reference.

Any help is greatly appreciated.
 
J

Jezebel

On the Insert Cross-Reference dialog, select Numbered Item from the
'Reference type' list and 'Paragraph number' from the 'Insert reference to'
list.
 
S

Stefan Blom

As you have seen, if "Recommendation" is part of the numbering format,
then it will be inserted when you cross-reference the paragraph
number. There is no way to prevent this from happening, I'm afraid.

Also, manually deleting the word "Recommendation" from the
cross-references won't work. The reason is that cross-references are
fields. And fields can be updated (as opposed to typed data) to
display the correct (or "current") result. Many fields update when you
print or print preview. Note that, in addition, you can manually
update all fields of a document by selecting it and then pressing F9.

Whenever the cross-reference fields are updated, or when you insert a
new cross-reference, the word "Recommendation" will return. What you
can do is to keep everything the way it is for now. Later, when the
document is complete, you would then convert all cross-references to
text, so that they won't update anymore, and then delete the
"Recommendation" text from the references. In order to convert
cross-references to text, simply select the entire document and press
CTRL+SHIFT+F9. You can use Edit > Replace to locate the word
"Recommendation" and delete it. If you are certain that there is no
occurrence of the word "Recommendation" that you want to keep, you can
delete all occurrences at once: Simply choose to Select All, with
"Recommendation" in the Find what box and nothing in the "Replace
with" box in the Find and Replace dialog box.

Alternatively, a permanent solution would be the following. Remove the
automatic numbering from the Recommendation paragraph style and
instead use SEQ fields for numbering. That would involve manually
typing the word "Recommendation" and then inserting a SEQ field for
each of your existing Recommendation paragraphs. For future insertion,
you could create an AutoText entry which includes the desired format.
You would then cross-reference the Recommendation number by
bookmarking it and creating a reference to the text of the bookmark.

Obviously, both of these solutions require some extra work. Maybe
you'll decide that it isn't worth the effort.

Remark. If you want to learn about SEQ fields, you can read about them
in Word Help. If you do decide to use them, of course you can come
back to the newsgroup and ask questions about them (if necessary).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top