Hi gang,
In a ToC, I don't want to see the page no. for ToC Level 1. How can I achieve that since I want page numbers for all the other levels.
Tks
Hi gang,
In a ToC, I don't want to see the page no. for ToC Level 1. How can I achieve that since I want page numbers for all the other levels.
Tks
Johanne Champagne
Montreal (Quebec) CANADA

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
Use a toc field with the n switch in the same way that you use the o switch. For instance
{TOC o "1-4" n "1-1"} will give you four levels of TOC with the first level having no page numbers
Andrew Lockton, Chrysalis Design, Melbourne Australia
That's much better!
Edited by HansV to add: see Andrew Lockton's reply below
I think you'll have to insert a TC field for every TOC entry. Specify that you want to omit the page number in the Insert | Field dialog, or add the n switch manually to the level 1 entries.
A level 1 entry would look like this:
<code>
{ TC "Chapter 1" l 1 n }
</code>
(The field braces are created by the Insert | Field dialog or by pressing Ctrl+F9, you shouldn't type them yourself).
When creating the TOC, click Options, clear the check box for Styles and tick the check box for Fields.