Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
TOC entries for front matter are missing a dot leader
Dear experts
I am using Word 2002 SP3. I have a document with numbered chapter, section and subsection headings, all of which are referenced in a table of contents. So far so good. I now want to add the various front matter headings to the TOC. Since I dont want these to be numbered, I have created a new level 1 style for the front matter headings. This is based on the Heading 1 style except that it is centred and has numbering disabled. Sure enough, when I update the TOC, there they are €“ except that unlike the headings based on Heading 1-3 there is no dot leader! The field code is { TOC \o €œ1-3€ \z \t €œMD Front Matter Hdg, 1€ } (though the field code { TOC \o €œ1-3€ \z \t } produces an identical result). What have I missed? TIA Hopeful Kiwi |
#2
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
TOC entries for front matter are missing a dot leader
What happens if you select the entries and press Ctrl+Q? FWIW, I would not
advise basing your front matter heading style on Heading 1. By all means make it look just like Heading 1 but base it on Normal or No Style. Basing an unnumbered style on a numbered style can cause problems, I think. Note also that if you don't need to specify the front matter style in the TOC field (because the style has an outline level of 1), then you don't need the \t switch, either. It won't hurt, of course, but it's not needed. Word's Help would lead you to expect that you need a \u switch (to pick up paragraphs with outline levels in the included range), and in fact, if you generate a TOC with the default settings (with "Outline levels" checked in the Table of Contents Options dialog), you do get the \u switch. -- 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. "Kiwi_731" wrote in message news Dear experts I am using Word 2002 SP3. I have a document with numbered chapter, section and subsection headings, all of which are referenced in a table of contents. So far so good. I now want to add the various front matter headings to the TOC. Since I dont want these to be numbered, I have created a new level 1 style for the front matter headings. This is based on the Heading 1 style except that it is centred and has numbering disabled. Sure enough, when I update the TOC, there they are €“ except that unlike the headings based on Heading 1-3 there is no dot leader! The field code is { TOC \o €œ1-3€ \z \t €œMD Front Matter Hdg, 1€ } (though the field code { TOC \o €œ1-3€ \z \t } produces an identical result). What have I missed? TIA Hopeful Kiwi |
#3
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
TOC entries for front matter are missing a dot leader
I have tried your suggestions.
Ctrl Q and Ctrl Space make no difference. I have carefully avoided direct formatting. Also, redefining the front matter heading style independently of Heading 1 made no difference. Note €“ I have a tab stop defined in the TOC 1/2/3 styles at 3cm in from the LH margin in order to format the chapter and section headings with the chapter or section number and name neatly separated. The problem seems to arise from the fact that the front matter headings dont have the number, so the page number appears at the 3 cm stop instead of the one at the RH side of the page (which has a dot leader defined). Adding a trailing tab to the front matter heading makes no difference to its TOC entry, even when I add the \w switch, which is supposed to preserve tabs. I can add an extra tab in the heading entry itself, but this vanishes the next time I update the TOC. Hopeful Kiwi "Suzanne S. Barnhill" wrote: What happens if you select the entries and press Ctrl+Q? FWIW, I would not advise basing your front matter heading style on Heading 1. By all means make it look just like Heading 1 but base it on Normal or No Style. Basing an unnumbered style on a numbered style can cause problems, I think. Note also that if you don't need to specify the front matter style in the TOC field (because the style has an outline level of 1), then you don't need the \t switch, either. It won't hurt, of course, but it's not needed. Word's Help would lead you to expect that you need a \u switch (to pick up paragraphs with outline levels in the included range), and in fact, if you generate a TOC with the default settings (with "Outline levels" checked in the Table of Contents Options dialog), you do get the \u switch. -- 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. "Kiwi_731" wrote in message news Dear experts I am using Word 2002 SP3. I have a document with numbered chapter, section and subsection headings, all of which are referenced in a table of contents. So far so good. I now want to add the various front matter headings to the TOC. Since I dont want these to be numbered, I have created a new level 1 style for the front matter headings. This is based on the Heading 1 style except that it is centred and has numbering disabled. Sure enough, when I update the TOC, there they are €“ except that unlike the headings based on Heading 1-3 there is no dot leader! The field code is { TOC \o €œ1-3€ \z \t €œMD Front Matter Hdg, 1€ } (though the field code { TOC \o €œ1-3€ \z \t } produces an identical result). What have I missed? TIA Hopeful Kiwi |
#4
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
TOC entries for front matter are missing a dot leader
The tab stop was what I was afraid was the problem, and it leads to this
solution: Instead of giving your front matter headings an outline level of 1, make them Level 4. Then modify the TOC 4 style to look just like TOC 1 except without the hanging indent/tab stop. You'll need to include four levels in your TOC, of course, and if you have used Heading 4, you'll need to remove the 4 from beside it in the TOC Options dialog and hope for the best (my experience with this runs counter to what Word's Help suggests will happen). -- 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. "Kiwi_731" wrote in message ... I have tried your suggestions. Ctrl Q and Ctrl Space make no difference. I have carefully avoided direct formatting. Also, redefining the front matter heading style independently of Heading 1 made no difference. Note €“ I have a tab stop defined in the TOC 1/2/3 styles at 3cm in from the LH margin in order to format the chapter and section headings with the chapter or section number and name neatly separated. The problem seems to arise from the fact that the front matter headings dont have the number, so the page number appears at the 3 cm stop instead of the one at the RH side of the page (which has a dot leader defined). Adding a trailing tab to the front matter heading makes no difference to its TOC entry, even when I add the \w switch, which is supposed to preserve tabs. I can add an extra tab in the heading entry itself, but this vanishes the next time I update the TOC. Hopeful Kiwi "Suzanne S. Barnhill" wrote: What happens if you select the entries and press Ctrl+Q? FWIW, I would not advise basing your front matter heading style on Heading 1. By all means make it look just like Heading 1 but base it on Normal or No Style. Basing an unnumbered style on a numbered style can cause problems, I think. Note also that if you don't need to specify the front matter style in the TOC field (because the style has an outline level of 1), then you don't need the \t switch, either. It won't hurt, of course, but it's not needed. Word's Help would lead you to expect that you need a \u switch (to pick up paragraphs with outline levels in the included range), and in fact, if you generate a TOC with the default settings (with "Outline levels" checked in the Table of Contents Options dialog), you do get the \u switch. -- 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. "Kiwi_731" wrote in message news Dear experts I am using Word 2002 SP3. I have a document with numbered chapter, section and subsection headings, all of which are referenced in a table of contents. So far so good. I now want to add the various front matter headings to the TOC. Since I dont want these to be numbered, I have created a new level 1 style for the front matter headings. This is based on the Heading 1 style except that it is centred and has numbering disabled. Sure enough, when I update the TOC, there they are €“ except that unlike the headings based on Heading 1-3 there is no dot leader! The field code is { TOC \o €œ1-3€ \z \t €œMD Front Matter Hdg, 1€ } (though the field code { TOC \o €œ1-3€ \z \t } produces an identical result). What have I missed? TIA Hopeful Kiwi |
#5
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
TOC entries for front matter are missing a dot leader
Thanks Suzanne, will do.
I have re-read your "TOC Tips & Tricks" document and now see what you were driving at re front matter entries. You're brilliant. Regards Hopeful Kiwi "Suzanne S. Barnhill" wrote: The tab stop was what I was afraid was the problem, and it leads to this solution: Instead of giving your front matter headings an outline level of 1, make them Level 4. Then modify the TOC 4 style to look just like TOC 1 except without the hanging indent/tab stop. You'll need to include four levels in your TOC, of course, and if you have used Heading 4, you'll need to remove the 4 from beside it in the TOC Options dialog and hope for the best (my experience with this runs counter to what Word's Help suggests will happen). -- 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. |
#6
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
TOC entries for front matter are missing a dot leader
Sounds like you've got it on the run, then. Glad I could help!
-- 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. "Kiwi_731" wrote in message ... Thanks Suzanne, will do. I have re-read your "TOC Tips & Tricks" document and now see what you were driving at re front matter entries. You're brilliant. Regards Hopeful Kiwi "Suzanne S. Barnhill" wrote: The tab stop was what I was afraid was the problem, and it leads to this solution: Instead of giving your front matter headings an outline level of 1, make them Level 4. Then modify the TOC 4 style to look just like TOC 1 except without the hanging indent/tab stop. You'll need to include four levels in your TOC, of course, and if you have used Heading 4, you'll need to remove the 4 from beside it in the TOC Options dialog and hope for the best (my experience with this runs counter to what Word's Help suggests will happen). -- 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. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need Total Page Count to Ignore Front Matter Pages | Microsoft Word Help | |||
Header-Footer issues in front matter - please help | Page Layout | |||
How do I start numbering of front matter at page xvii? | Page Layout | |||
blank page number in first seven pages of front matter | Page Layout | |||
Want TOC display headers of front matter section unumbered | Microsoft Word Help |