[comp.windows.ms] WinWord - TOC with section numbering?

eggen@lise.unit.no (yvind Leirv}g Eggen) (04/26/91)

I want to create a table of contents with section number for each
entry, just the way my headings look in the document, using Legal
numbering.  I'm creating the TOC with 'Insert - Table of Contents -
Use heading paragraphs'.

This might sound like a trivial task, but so far I have found no 
way of doing it.  The manual doesn't mention anything about this, 
or maybe I just didn't look the right places?  (TOC with chapter 
page numbers is not what I want.) 

I guess one could always write a macro to do what I want, but... it 
*would* seem a little strange if there were no easier way of doing it?


0yvind
leirvaag@idt.unit.no

tim@int13.hf.intel.com (Timothy E. Forsyth) (04/26/91)

eggen@lise.unit.no (yvind Leirv}g Eggen) writes:
>I want to create a table of contents with section number for each
>entry, just the way my headings look in the document, using Legal
>numbering.  I'm creating the TOC with 'Insert - Table of Contents -
>Use heading paragraphs'.

Yes, this is the correct way to build the TOC.  Make sure you are using the
correct paragraph styles (heading 1, heading 2, heading 3, ...) as these
are the heading paragraphs the Insert TOC command uses.  Also I use the
Auto No. legal field code {autonumlgl } so when I insert a new section it
will renumber all the section headings for me.

>This might sound like a trivial task, but so far I have found no 
>way of doing it.  The manual doesn't mention anything about this, 
>or maybe I just didn't look the right places?  (TOC with chapter 
>page numbers is not what I want.) 

It sounds like you are just reformating the font type but still using the
paragraph style "normal" instead of "heading X".  If you use the Outline
mode you will be able to tell, headings will have a hollow plus symbol to
the left and all other paragraphs (non "heading X") will have a hollow
square symbol.

>I guess one could always write a macro to do what I want, but... it 
>*would* seem a little strange if there were no easier way of doing it?

No need WfW does this automatically, if you need any more help, send me
some email.

Tim Forsyth
-- 
Tim Forsyth, Intel Corp., Desktop Computer Division, Hillsboro, Oregon, USA
Internet: tim@int13.intel.com or Tim_Forsyth@ccm.hf.intel.com
CompuServe: 74040,2712 (checked once a week)

geoff@nluug.nl (G. Coupe EPD/74 O75/1435) (04/27/91)

In article <1991Apr25.200258.18894@ugle.unit.no> eggen@lise.unit.no (yvind Leirv}g Eggen) writes:
>I want to create a table of contents with section number for each
>entry, just the way my headings look in the document, using Legal
>numbering.  I'm creating the TOC with 'Insert - Table of Contents -
>Use heading paragraphs'.
>

I take it you are using {Autonum} fields? - for some reason best known
to Microsoft, they get stripped out of the TOC. The workaround we use is
to use the Utilities - Renumber... command to number the heading styles.
This numbering *is* then included in the TOC. On the downside is the need to
renumber the document manually (by running the utility again) whenever the order
of the sections has been change by editing.

- Geoff Coupe