Formatting cross-references

G

Gary

Hi.

I'm creating a long user guide in Word 2007. I'd like to insert
cross-references that automatically format to look like hyperlinks (blue and
underlined) so that end-users know they can click on the link. I tried
inserting Hyperlinks (which are already formatted that way), but they don't
update like normal fields (pressing F9). If there is a way to automatically
update Hyperlinks, let me know and I'd be happy to use those instead.

I created a character style for cross-references so that I can format them
manually (for some reason the Hyperlink character format didn't work on
cross-references so I created a new character format called cross-reference,
which worked just fine). But I'd much rather have cross-references format
automatically.

Here's an example: After you enter the widget into the doodad, make sure you
complete all doodad fields; see Completing all doodad fields. [Without
formatting, no one will know they can click on "Completing all doodad
fields."]

FYI. When you convert the Word doc to PDF, the cross-reference links are
clickable (as expected) but they're still not formatted to look like a
hyperlink (unless I manually format them in Word first).

Thanks!
 
S

Suzanne S. Barnhill

By design, hyperlinked TOCs and cross-references, although they display the
Hyperlink style, somehow suppress it. I don't know any way around this
except by applying a different character style as you're doing. Moreover, I
believe they shed the style whenever the link is updated.
 
G

Gary

Thanks for the reply. I was afraid of that.

Thankfully, you can set the REF field to preserve its format when you update
so (so far) the format has "stuck" after updating (F9).

The other annoying thing is that if the cross-reference is the entire
paragraph (such as when I'm mapping a chapter and have all of the Heading 1
titles in a bullet list) if I apply the character format to just the text
(and don't include the paragraph mark) it still formats the paragraph and my
bullets turn blue. So I have to add a dummy character at the end of each
bullet item, format the cross-reference text, and then delete the dummy
character.
 
S

Suzanne S. Barnhill

You can remove the formatting from just the paragraph mark, but I find
Word's "helpful" behavior in this case very annoying. No matter how
carefully you select everything *but* the paragraph mark, and regardless of
your Tools | Options | Edit settings wrt selection, Word still includes the
paragraph mark if you select text at the end of a paragraph.
 
G

Gary

Thans for your help, Suzanne.

I -think- I've decided to live with blue bullets to save time as every
section and sub-section will be mapped with cross-references. So I now have
a paragraph style for the bullet list and a character style for inside other
paragraphs. I'm sure tomorrow I'll change my mind ... again.

I'll be curious to see if anyone even notices that the bullets are blue (or
thinks it odd that they're blue).
 
H

Henk57

'Gary[_13_ said:
;2879018']Thans for your help, Suzanne.

I -think- I've decided to live with blue bullets to save time as every

section and sub-section will be mapped with cross-references. So I now
have
a paragraph style for the bullet list and a character style for inside
other
paragraphs. I'm sure tomorrow I'll change my mind ... again.

I'll be curious to see if anyone even notices that the bullets are blue
(or
thinks it odd that they're blue).

"Suzanne S. Barnhill" (e-mail address removed) wrote in message
You can remove the formatting from just the paragraph mark, but I find

Word's "helpful" behavior in this case very annoying. No matter how
carefully you select everything *but* the paragraph mark, and
regardless
of your Tools | Options | Edit settings wrt selection, Word still
includes
the paragraph mark if you select text at the end of a paragraph.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Gary" (e-mail address removed) wrote in message
Thanks for the reply. I was afraid of that.

Thankfully, you can set the REF field to preserve its format when you

update so (so far) the format has "stuck" after updating (F9).

The other annoying thing is that if the cross-reference is the entire

paragraph (such as when I'm mapping a chapter and have all of the
Heading
1 titles in a bullet list) if I apply the character format to just the

text (and don't include the paragraph mark) it still formats the
paragraph and my bullets turn blue. So I have to add a dummy character
at
the end of each bullet item, format the cross-reference text, and then

delete the dummy character.

-

-

Gary, the bullet formatting is linked to the formatting of the pilcrow
(the paragraph marker) as you know. Word indeed is annoyingly "clever"
here. A quicker way than adding/deleting dummy characters (I think), is
using Ctrl-H (Find/Replace) to change all pilcrows back to black (Find:
^p, Replace by ^p (formatted as black)).
 

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