Results 1 to 4 of 4
  • Thread Tools
  1. 2 Star Lounger
    Join Date
    Mar 2007
    Location
    Montreal, Quebec
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts

    No page # for Level 1 of ToC (Word/Office XP)

    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

  2. Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,163
    Thanks
    3
    Thanked 72 Times in 68 Posts

    Re: No page # for Level 1 of ToC (Word/Office XP)

    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

  3. Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 10 Times in 10 Posts

    Re: No page # for Level 1 of ToC (Word/Office XP)

    That's much better!

  4. Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 10 Times in 10 Posts

    Re: No page # for Level 1 of ToC (Word/Office XP)

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •