Group:  Microsoft Word » microsoft.public.word.docmanagement
Thread: Caption Numbering Troubles

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Caption Numbering Troubles
Hans 25.09.2006 18:26:02
I am working on a document with tables captioned with both the table number
and the document section in which the table appears, e.g., "Table 2-3," where
"2" is the section and "3" is the third table in the section.

The table numbering appears correctly until the fourth section of the doc,
at which point the section number appears as "0" and does not update. When
creating the caption, Word uses the correct number 4 in the dialog box;
however, as soon as I click OK to insert the caption, the zero appears.

What to do, what to do...

Thanks,

-Hans in Seattle

Re: Caption Numbering Troubles
"Robert M. Franz (RMF)" <robert.franz[ at ]mvps.org> 26.09.2006 07:26:21
Hi Hans

Hans wrote:
[Quoted Text]
> I am working on a document with tables captioned with both the table number
> and the document section in which the table appears, e.g., "Table 2-3," where
> "2" is the section and "3" is the third table in the section.
>
> The table numbering appears correctly until the fourth section of the doc,
> at which point the section number appears as "0" and does not update. When
> creating the caption, Word uses the correct number 4 in the dialog box;
> however, as soon as I click OK to insert the caption, the zero appears.

When you select the newly inserted caption and hit F9 (UpdateFields),
any change?

Do you have TrackChanges (notoriously mean in disrupting numbering
sequences) active and some unresolved changes?

When selecting the caption, hit SHIFT-F9 (toggles field code for the
selection) or ALT-F9 (for the whole document): what's the exact field
code of this caption?

How are the chapters numbered?

How many sections does your document have? Anything special you need to
tell us (beside the version of Word you're using ... :-))?

Greetinx
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
Re: Caption Numbering Troubles
Hans 26.09.2006 17:00:01
Hi Robert,

Thank you for lending a hand. :-)

[Quoted Text]
> When you select the newly inserted caption and hit F9 (UpdateFields),
> any change?

---> No, updating with F9 has no effect on the numbering.

> Do you have TrackChanges (notoriously mean in disrupting numbering
> sequences) active and some unresolved changes?

---> Reviewing is off; however, there were a couple changes. I have since
accepted all changes but it did not solve the numbering problem.

> When selecting the caption, hit SHIFT-F9 (toggles field code for the
> selection) or ALT-F9 (for the whole document): what's the exact field
> code of this caption?

{STYLEREF1 \s }-{SEQ Table \* ARABIC \s 1 }

> How are the chapters numbered?

Chapter numbering is automated with native Word Headings (Heading 1, 2...)
using outline numbering.

> How many sections does your document have?

---> Ten sections.

> Anything special you need to tell us (beside the version of Word you're using ... :-))?

---> 2003 SP2. :-)

-Hans


Re: Caption Numbering Troubles
"Robert M. Franz (RMF)" <robert.franz[ at ]mvps.org> 27.09.2006 06:51:39
Hi Hans

Hans wrote:
[Quoted Text]
>>When selecting the caption, hit SHIFT-F9 (toggles field code for the
>>selection) or ALT-F9 (for the whole document): what's the exact field
>>code of this caption?
>
> {STYLEREF1 \s }-{SEQ Table \* ARABIC \s 1 }

Hmm, probably a typo/pasting glitch: the "1" must be separated from
"STYLEREF" with a space, otherwise you get an error for the first field.


>>How are the chapters numbered?
>
> Chapter numbering is automated with native Word Headings (Heading 1, 2...)
> using outline numbering.

Maybe the numbering scheeme is off somehow.

>>How many sections does your document have?
>
> ---> Ten sections.

OK, hmm. Might be a mild form of document corruption.

How many section breaks are between the "last known good" caption and
the bad one? With a copy of your document,

- compare the field code of both STYLEREF fields,

- try to reset formatting of the referenced heading (CTRL-SHIFT-N to
turn it to "Normal" style, then reapply H1),

- try to delete the section breaks between the good and bad caption (you
can recreate it later again),

If all else fails, try to strip down the document to no more than two
pages, 2 sections, and send it to my email address, so I can take a look
myself (no guarantees for success or speed!).

HTH
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
Re: Caption Numbering Troubles
Hans 27.09.2006 15:55:03
Robert,

I'll try your suggestions and see what they yield...

Thanks again,

-Hans

"Robert M. Franz (RMF)" wrote:

[Quoted Text]
> Hi Hans
>
> Hans wrote:
> >>When selecting the caption, hit SHIFT-F9 (toggles field code for the
> >>selection) or ALT-F9 (for the whole document): what's the exact field
> >>code of this caption?
> >
> > {STYLEREF1 \s }-{SEQ Table \* ARABIC \s 1 }
>
> Hmm, probably a typo/pasting glitch: the "1" must be separated from
> "STYLEREF" with a space, otherwise you get an error for the first field.
>
>
> >>How are the chapters numbered?
> >
> > Chapter numbering is automated with native Word Headings (Heading 1, 2...)
> > using outline numbering.
>
> Maybe the numbering scheeme is off somehow.
>
> >>How many sections does your document have?
> >
> > ---> Ten sections.
>
> OK, hmm. Might be a mild form of document corruption.
>
> How many section breaks are between the "last known good" caption and
> the bad one? With a copy of your document,
>
> - compare the field code of both STYLEREF fields,
>
> - try to reset formatting of the referenced heading (CTRL-SHIFT-N to
> turn it to "Normal" style, then reapply H1),
>
> - try to delete the section breaks between the good and bad caption (you
> can recreate it later again),
>
> If all else fails, try to strip down the document to no more than two
> pages, 2 sections, and send it to my email address, so I can take a look
> myself (no guarantees for success or speed!).
>
> HTH
> Robert
> --
> /"\ ASCII Ribbon Campaign | MS
> \ / | MVP
> X Against HTML | for
> / \ in e-mail & news | Word
>
RE: Caption Numbering Troubles
Stefan Blom 28.09.2006 13:26:02
Press the ¶ button on the Standard toolbar to display nonprinting characters.
(Paragraph marks will display as ¶.) See if the caption with the incorrect
numbering is preceded by one or more empty paragraphs (using Heading 1 style)
whose numbering has been suppressed. If you find any such paragraphs, apply a
non- numbered style, or, preferably, delete them and add the desired Spacing
Before or After to the appropriate style instead.

--
Stefan Blom
Microsoft Word MVP


"Hans" wrote:

[Quoted Text]
> I am working on a document with tables captioned with both the table number
> and the document section in which the table appears, e.g., "Table 2-3," where
> "2" is the section and "3" is the third table in the section.
>
> The table numbering appears correctly until the fourth section of the doc,
> at which point the section number appears as "0" and does not update. When
> creating the caption, Word uses the correct number 4 in the dialog box;
> however, as soon as I click OK to insert the caption, the zero appears.
>
> What to do, what to do...
>
> Thanks,
>
> -Hans in Seattle
>
YES!!!!!!
Hans 28.09.2006 16:05:02
Stefan -- That was it!!

The person who created the doc followed the actual chapter text with a blank
line with Heading 1 style with suppressed numbering!

THANK YOU!! :-)

-Hans

"Stefan Blom" wrote:

[Quoted Text]
> Press the ¶ button on the Standard toolbar to display nonprinting characters.
> (Paragraph marks will display as ¶.) See if the caption with the incorrect
> numbering is preceded by one or more empty paragraphs (using Heading 1 style)
> whose numbering has been suppressed. If you find any such paragraphs, apply a
> non- numbered style, or, preferably, delete them and add the desired Spacing
> Before or After to the appropriate style instead.
>
> --
> Stefan Blom
> Microsoft Word MVP
>
>
> "Hans" wrote:
>
> > I am working on a document with tables captioned with both the table number
> > and the document section in which the table appears, e.g., "Table 2-3," where
> > "2" is the section and "3" is the third table in the section.
> >
> > The table numbering appears correctly until the fourth section of the doc,
> > at which point the section number appears as "0" and does not update. When
> > creating the caption, Word uses the correct number 4 in the dialog box;
> > however, as soon as I click OK to insert the caption, the zero appears.
> >
> > What to do, what to do...
> >
> > Thanks,
> >
> > -Hans in Seattle
> >
Re: YES!!!!!!
"Stefan Blom" <no.spam[ at ]please.xyz> 29.09.2006 08:41:42
I'm glad I could help.

--
Stefan Blom
Microsoft Word MVP


"Hans" wrote in message
news:08072B3F-1C4A-46C3-A039-20C4A63D4EFF[ at ]microsoft.com...
[Quoted Text]
> Stefan -- That was it!!
>
> The person who created the doc followed the actual chapter text with
a blank
> line with Heading 1 style with suppressed numbering!
>
> THANK YOU!! :-)
>
> -Hans
>
> "Stefan Blom" wrote:
>
> > Press the ¶ button on the Standard toolbar to display nonprinting
characters.
> > (Paragraph marks will display as ¶.) See if the caption with the
incorrect
> > numbering is preceded by one or more empty paragraphs (using
Heading 1 style)
> > whose numbering has been suppressed. If you find any such
paragraphs, apply a
> > non- numbered style, or, preferably, delete them and add the
desired Spacing
> > Before or After to the appropriate style instead.
> >
> > --
> > Stefan Blom
> > Microsoft Word MVP
> >
> >
> > "Hans" wrote:
> >
> > > I am working on a document with tables captioned with both the
table number
> > > and the document section in which the table appears, e.g.,
"Table 2-3," where
> > > "2" is the section and "3" is the third table in the section.
> > >
> > > The table numbering appears correctly until the fourth section
of the doc,
> > > at which point the section number appears as "0" and does not
update. When
> > > creating the caption, Word uses the correct number 4 in the
dialog box;
> > > however, as soon as I click OK to insert the caption, the zero
appears.
> > >
> > > What to do, what to do...
> > >
> > > Thanks,
> > >
> > > -Hans in Seattle
> > >





Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net