View Single Post
  #4   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Yes, but I think I have bad news. If your paragraph number includes previous
levels, you will get them regardless. The "Field codes: StyleRef field" Help
topic explains the relevant switches this way:

\n Causes the field to display the entire paragraph number for a referenced
paragraph without trailing periods. No information about prior levels is
displayed unless it is included as part of the current level.

\r Inserts the entire paragraph number of the bookmarked paragraph in
relative context€” or relative to the paragraph numbering scheme€” without
trailing periods.

\w Inserts the paragraph number of the bookmarked paragraph in full context,
from anywhere in the document.
For example, when referencing paragraph "ii.," a STYLEREF field with the \w
switch would return "1.a.ii" as a result.


--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Frederick Simard" Frederick wrote in
message ...
Thanks! I played with pretty much all of the switches and could not get

only
the sub-part. Is the 'context' setting part of the StyleRef field?

"Suzanne S. Barnhill" wrote:

I'd suggest experimenting with the "context" setting to see what the

various
switches do.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site:
http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Frederick Simard" Frederick wrote in
message ...
Hi,

Do you know if it is possible, when retrieving the header number using

the
StyleRef field, to extract only a specific sub-level. Like if you

have
'7.1', is there a way to extract only the '1'?

Thanks!

"Suzanne S. Barnhill" wrote:

For starters, you might want to look at Word's Help topic "Field

codes:
StyleRef field." Then use Insert | Field to insert a StyleRef field
referring to your heading style, checking the box for "Insert

paragraph
number" or "Insert paragraph number in full context."

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site:
http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"JustSu" wrote in message
...
Could you please tell me how to do this? Thanks so much for your

reply!

"Suzanne S. Barnhill" wrote:

I don't believe there is any way to do what you want through the

Caption
dialog, but you can insert StyleRef fields in your captions to

pick
up
the
numbering of the specific desired heading.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so
all may benefit.

"JustSu" wrote in message
...
How do I use different chapter headings for caption numbers?

For
instance,
figures in section 1.2 should be numbered Figure 1.2-1, Figure

1.2-2,
etc.,
while figures in section 1.2.1 should be numbered Figure

1.2.1-1,
Figure
1.2.1-2, etc. If I set a chapter heading style for one

figure,
all
figures
in the document are changed to that chapter heading style.

What
should I
be
doing differently?