how to unlink the character formatting ofcross reference text from the formatting of thetarget

R

rbarline

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel

This is a weird one. I am trying to use cross reference fields to keep track and auto update my references to figures in the body of my document. For example, in a sentence, instead of typing "see Figure 1" I instead insert a cross reference of the type "Figure" and choose "Only label and number" as the reference to ... then I select the figure from the drop-down list. The "Figure 1" is inserted into my text as a field rather than as text. I do not check the "Insert as hyperlink" box, as that makes it difficult to select the text in the document (it hyper-transports me to the figure ... :~) Oh, and by the way, in case it matters, the figure numbers are fields themselves, auto-generated as captions inside text boxes that are set to "in front of text" wrapping. and lay on top of a chart picture object that I pasted in using Paste Special/Picture.

This is really cool because if I add another figure above Figure 1, not only does the caption figure number auto update, but if I update all fields in the document, the text "Figure 1" changes to "Figure 2" and saves me from having to go back and manually increment all the figure number references in the document. OK, so far, so good, but here's the problem: For some reason the character style of the cross reference text changes to that of caption after each update field operation. I want the character style to be Arial 12 black, even though the caption style is set to Arial 10 blue. But after each update field, the cross reference text changes to Arial 10 blue. It is apparently not only linked to the figure label and number, but also the character style. This isn't going to work, since I need the cross reference text to remain a different format from the caption style.

There should be a way to unlink the character formatting of the cross reference text from the formatting of the target text. The field code for the cross reference is { REF _Ref82233482 }. I know that fields have "switches" that control how the resulting text looks, but I would not have a clue as to how to manually adjust the field code to achieve my goal. Even if there is a switch, it would be a pain to have to manually edit each field code. Any thoughts?
 
C

Clive Huggan

Add a Charformat switch to the field, as described in Word's Help.

You might also find something useful in the article 'Cross-references' on
page 132 of some notes on the way I use Word for the Mac, titled "Bend Word
to Your Will", which are available as a free download from the Word MVPs'
website (http://word.mvps.org/Mac/Bend/BendWordToYourWill.html).

[Note: "Bend Word to your will" is designed to be used electronically and
most subjects are self-contained dictionary-style entries. If you decide to
read more widely than the item I've referred to, it's important to read the
front end of the document -- especially pages 3 and 5 -- so you can select
some Word settings that will allow you to use the document effectively.]

Cheers,

Clive Huggan
Canberra, Australia
(My time zone is 5-11 hours different from the Americas and Europe, so my
follow-on responses to those regions can be delayed)
====================================================
 
R

rbarline

This solved my problem, but I'll be darned if I can find any reference to this switch in either offline or online versions of Word help in 2008. So I did an Internet search on "Charformat switch" and found various articles (and even a link back to an earlier discussion in this forum), but info was sparse. What I learned is that the Charformat switch causes the formatting of the first letter of the field code to be applied to the entire field. So it is critical to set that letter to the desired format. And I also discovered that I was able to add this switch globally to all fields in the document by using find and replace. Thanks Clive!

BTW, is it possible that Microsoft removed help topics on field switches in 2008? Also, do you know where to go for a list of switches that can be used with Word?
 
C

CyberTaz

Modify the Caption Style to suit your preference? :)

HTH |:>)
Bob Jones
[MVP] Office:Mac
 
R

rbarline

That wouldn't work, since the Caption style needs to be different than the cross reference text character style. The Charformat switch is definitely the way to go.
 
C

Clive Huggan

This solved my problem, but I'll be darned if I can find any reference to this
switch in either offline or online versions of Word help in 2008. So I did an
Internet search on "Charformat switch" and found various articles (and even a
link back to an earlier discussion in this forum), but info was sparse. What I
learned is that the Charformat switch causes the formatting of the first
letter of the field code to be applied to the entire field. So it is critical
to set that letter to the desired format. And I also discovered that I was
able to add this switch globally to all fields in the document by using find
and replace. Thanks Clive!

BTW, is it possible that Microsoft removed help topics on field switches in
2008? Also, do you know where to go for a list of switches that can be used
with Word?

Glad it worked.
BTW, is it possible that Microsoft removed help topics on field switches in
2008?

Microsoft has removed many topics from Help since some groupthinking
decided, a few years back, that it was too complex. That comes from
Marketing listening too much to customers who want a Rolls Royce
word-processor to yield its inner workings like those of a motor scooter.
The majority, "gimme instant satisfaction", ruled.

I haven't downgraded to Word 2008, and as a result I only rarely comment on
Word 2008 problems. I thought this one was safe! But I understand the Help
in Word 2008 is a, well, moving feast. No, a moving snack. I hear from
others here that MacBU is working on improving it and that such improvements
will become evident via the online Help. Meanwhile, I occasionally use Word
2004's Help, as a last resort -- it isn't all that hot either.
Also, do you know where to go for a list of switches that can be used with
Word?

For a comprehensive list I would get to a PC and print out the list that
appears when you search for "switches" in Help.

Cheers,

Clive Huggan
============
 

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