Group:  Microsoft Word ยป microsoft.public.word.numbering
Thread: TOC: not picking up chapter numbers

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

TOC: not picking up chapter numbers
Gary Fritz <fritzxxx[ at ]xxxfrii.com> 14.07.2006 22:21:58
I want a TOC that numbers document pages like 2-14, 8-35, etc.

This is the TOC field I'm using:
{ TOC \o "1-2" \s chapter }

I included "\s chapter" to pick up SEQ fields in each chapter.

Each chapter is in a separate file. At the start of each file, in the same
line as the chapter title, I have a SEQ field like this:
{ SEQ chapter \h }

That should insert an invisible counter that works with the TOC \s, right?

But it doesn't. Everything works fine except the chapter numbers in the
TOC don't increment. Each chapter starts with 1-1 in the TOC.

What am I missing?

Thanks,
Gary
Re: not picking up chapter numbers
"Shauna Kelly" <ShaunaKelly[ at ]SendNoSpamToShaunaKelly.com> 16.07.2006 00:55:22
Hi Gary


For what it's worth, your present system will work for a TOC in one
document, but not a TOC created for several documents. Not least, that is
because there's nothing in each document that says "this is chapter 5" or
"this is chapter 6". You could try setting the starting number of the { SEQ
chapter } field with something like { SEQ chapter \r 5 }. I haven't tested
that.

As far as I know, the only way to achieve what you want is:

1. Set up the page numbering as described at
I want to include the chapter number with the page number in the Header -
how can I do this?
http://www.word.mvps.org/FAQs/Numbering/ChapterNumber.htm

2. Set up the Table of Contents as described at
http://www.ShaunaKelly.com/word/toc/CreateATOC.html

There's more detailed information about a multi-document TOC at
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=148

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"Gary Fritz" <fritzxxx[ at ]xxxfrii.com> wrote in message
news:Xns9800A666796CAfritzfriicom[ at ]216.168.3.50...
[Quoted Text]
>I want a TOC that numbers document pages like 2-14, 8-35, etc.
>
> This is the TOC field I'm using:
> { TOC \o "1-2" \s chapter }
>
> I included "\s chapter" to pick up SEQ fields in each chapter.
>
> Each chapter is in a separate file. At the start of each file, in the
> same
> line as the chapter title, I have a SEQ field like this:
> { SEQ chapter \h }
>
> That should insert an invisible counter that works with the TOC \s, right?
>
> But it doesn't. Everything works fine except the chapter numbers in the
> TOC don't increment. Each chapter starts with 1-1 in the TOC.
>
> What am I missing?
>
> Thanks,
> Gary


Re: not picking up chapter numbers
Gary Fritz <fritzxxx[ at ]xxxfrii.com> 17.07.2006 16:46:38
Thanks for your reply, Shauna. I'll be out of town the rest of this week
but I'll dig into your suggestions when I get back.

Gary
Re: not picking up chapter numbers
Gary Fritz <fritzxxx[ at ]xxxfrii.com> 17.07.2006 16:57:52
"Shauna Kelly" <ShaunaKelly[ at ]SendNoSpamToShaunaKelly.com> wrote:
[Quoted Text]
> You could try setting the starting number
> of the { SEQ chapter } field with something like { SEQ chapter \r 5 }.
> I haven't tested that.

Actually that does seem to work fine. It would be nicer if the SEQ field
tracked the chapter numbers automatically, but this is quite workable.

So I take it SEQ numbering is local within a file, and resets at the start
of each new file?

Thanks!
Gary
Re: not picking up chapter numbers
"Shauna Kelly" <ShaunaKelly[ at ]SendNoSpamToShaunaKelly.com> 20.07.2006 12:22:33
Gary

I'm glad that works.

Yes, SEQ numbering is local within a file.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"Gary Fritz" <fritzxxx[ at ]xxxfrii.com> wrote in message
news:Xns98036F7243F63fritzfriicom[ at ]216.168.3.50...
[Quoted Text]
> "Shauna Kelly" <ShaunaKelly[ at ]SendNoSpamToShaunaKelly.com> wrote:
>> You could try setting the starting number
>> of the { SEQ chapter } field with something like { SEQ chapter \r 5 }.
>> I haven't tested that.
>
> Actually that does seem to work fine. It would be nicer if the SEQ field
> tracked the chapter numbers automatically, but this is quite workable.
>
> So I take it SEQ numbering is local within a file, and resets at the start
> of each new file?
>
> Thanks!
> Gary


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