Results 1 to 7 of 7

Thread: TOC (Word 2003)

  1. #1
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts

    TOC (Word 2003)

    Hello,

    I am creating a master table of contents in a document. Within that master table contents, there is a link for a chapter that has its own mini-table of contents. That mini-table of contents is based not on table-entry fields, but rather, on styles (heading 1 = TOC level 1, etc.).

    The problem is that when I press F9 to update this latter TOC, I am getting all of the headings from other parts of the document in there as well. I want to keep those out.

    I know how to solve this problem using table entry fields. You just designate each entry with a letter and when you insert the TOC, you can indicate that you want the TOC to correspond with the appropriate letter.

    But how do I get around this problem using styles? Can I get around it?

    Sincerely,

    JMT

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: TOC (Word 2003)

    If you want to use styles, you'll have to design a set of styles that is used exclusively for the paragraphs that should end up in the mini-TOC, and nowhere else in the document.

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: TOC (Word 2003)

    You can do this with styles by using a bookmark to define the area where your TOC draws its entries. Basically you select the chapter for the mini-toc and assign it a bookmark name eg Chap1. Then the TOC field needs to look something like this { toc b Chap1 o "1-3" }

    <post:=602,833>post 602,833</post:> by Hans should give you the clues on how to do this.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  4. #4
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: TOC (Word 2003)

    Hi all,

    I am not sure how to bookmark a section of the document. Hans wrote, "- Create a bookmark for each chapter (i.e. a bookmark Chapter1 containing the entire text of chapter 1, a bookmark Chapter 2 containing the entire text of chapter 2, etc.)," but I still don't know how to go about doing so.

    In the attached document, you can see that entries from the second mini-talb eof contents are finding their ways into the first mini-table of contents and vice versa. They need to be kept separate. How can that be done?

    Sincerely,

    JMT
    Attached Files Attached Files

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: TOC (Word 2003)

    Do it as follows:
    - Click at the chart of a "chapter" (at its title).
    - Scroll down to the end of the "chapter".
    - Shift+click at the end of the "chapter" (just above the title of the next "chapter").
    - The entire text of the "chapter" should now be selected.
    - Select Insert | Bookmark...
    - Enter a meaningfule name for the bookmark, e.g. Article1 or Constitution. The name may not contain spaces.
    - Click OK.
    - Use this bookmark name in the b switch of the TOC field of each "chapter".
    - Repeat for each "chapter".

  6. #6
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: TOC (Word 2003)

    Dear Hans,

    So would my TOC code (where the name of my "Chapter" is "Constitution") be TOC o "1-2" b Constitution h z u instead of TOC O "1-2" H Z U ?

    Sincerely,

    JMT

  7. #7
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: TOC (Word 2003)

    Yes.

Posting Permissions

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