Turning Cross-References Blue in Word

Chesler, Lynn lchesler at auspicecorp.com
Thu Jan 3 14:25:38 MST 2008


Hi Fred:
 
Word adds the \*MERGEFORMAT switch to the field code when you apply a
character style to the cross-reference. My understanding is that the
switch is added so that the formatting is retained when the field is
updated, so I'm not sure why I'm losing the formatting *sometimes*.
 
Since I'm not adding the fields manually, I'm not sure how I would insert
the \*Charformat switch, although I do think it would work.
 
Thanks!
Lynn

  _____  

From: Fred Ridder [mailto:docudoc at hotmail.com] 
Sent: Thursday, January 03, 2008 3:52 PM
To: Chesler, Lynn; techwr-l at lists.techwr-l.com
Subject: RE: Turning Cross-References Blue in Word


Lynn Chesler wrote:

> Sorry all, I wasn't clear. I am manually applying a character style to
my
> cross-references and want to know if there is a way to associate the
style
> with the cross-reference so that the style is applied automatically when
I
> create or update the cross-reference. Perhaps I'm dreaming :) 
> 
> Also, I still find that I lose the formatting when I make a change to
the
> cross-referenced item, even though I am applying a character style to
the
> cross-reference.
 

Are you using the default \*MERGEFORMAT switch in the field code?
If so, you might try using the \*Charformat switch, instead, which I have
found to be much more reliable over the years. When you use the 
\*Charformat switch, the formatting applied to the first letter of the 
field code name is applied to the field code result, and this formatting
is retained through all updates. In your case, you'd format the first
letter
of "REF" with the hyperlink character style to make the resulting x-ref 
be displayed with that same formatting. 
 
-Fred Ridder


  _____  

Share life as it happens with the new Windows Live. Share now!
<http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_1220
07>  


More information about the TECHWR-L mailing list