View Single Post
  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Aya Aya is offline
external usenet poster
 
Posts: 1
Default Section number is alway 0 in figure or table caption

I have exactly the same problem. I want to use the 'NUMBERING of Headings'
method.
I am using Word 2007.

Can you help me please?

Thanks in advance.



"Cindy M -WordMVP-" wrote:

Hi ?B?Sm9obiBLZXJpY2g=?=,

thank you for the very detailed problem description :-) The misunderstanding is
clear, I hope the work-arounds I'm going to suggest is, as well.

1. Word provides no functionality for numbering captions according to section.
It can only number according to Heading.

2. You're using Heading styles - this is good. The problem is that you're not
NUMBERING the headings in the style. StyleRef picks up the literal text from the
style. Since you've not included a number, you're getting 0.

3. The "simplest" answer would be to add numbering to the Heading 1 styles. (We
can tell you how to do this in detail if you tell us the version of Word you're
using - that's the one thing missing in your problem description.) If you don't
want to see the numbering in the text, then you can modify the font *for the
numbering* to be "hidden".

4. If you don't want to use numbering at all in your style, even hidden, then
you can substitute a SECTION field for the StyleRef field. The SECTION field
will show the current section number. Note that, in this case, you can't use
AutoCaption. you'd want to save a "Caption" paragraph as an AutoText entry and
insert it as required.

I am trying to insert the section numbers into the Figure and Table caption
lines and all I€„¢m getting this Figure 0-1 or Table 0-1 vs. Figure 1-1 or
Table 2-1 etc. Each section starts with a Header 1 font and I am using
section breaks in the document. I read the help section on caption and but I
am still getting 0 for all sections.

When I tried to verify that the caption was setup correctly I did the
following:
Insert-reference-caption
I pressed the AutoCaption button
Checked all the word option on the list (there were 3)
Selected Figure for use label
Pressed the number button
Checked the use chapter number box
Style is Header 1

However I am still getting 0 for the section.

Section break(s)
Section 1 €€œ OPS style Header 1

Figure { STYLEREF 1 \S }-{ SEQ Figure \* ARABIC \S 1 }, Operational
Environment
Or
Figure 0-1, Operational Environment

Section break

is what I see when I do an Alt-F9.


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)