Skip navigation
Currently Being Moderated

Table of Contents in color

Jun 14, 2012 8:22 AM

I am working on a parts catalog with 32 sections. There will be 16 colors for tabs and section text which I will repeat for the next 16 sections.

 

What I need to happen, is for each section int the table of contents to be the color used for that section.

 

Section

           Sub-section………………………………………………………………………………………….pg num.

           Sub-section………………………………………………………………………………………….pg num.

           Ect……      ………………………………………………………………………………………….pg num

Section

           Sub-section………………………………………………………………………………………….pg num.

           Sub-section………………………………………………………………………………………….pg num.

           Ect…..       ………………………………………………………………………………………….pg num.

 

Do I have to set up a separate section/sectiontoc and subsection/subsectiontoc para format for every color? I was hoping maybe there was an "AS is" so that it would just automatically print in the color that it is set up in.

 

Thanks!

 

ls

 
Replies
  • Currently Being Moderated
    Jun 14, 2012 8:26 AM   in reply to lsk2002

    You'd also need to have your different sections as different paragraph styles.

     

    Then you'd map the Paragraph Style of the Section to the TOC Section Colour style.

     

    Does that make sense?

     

    So you'd have to go through each section and create a New heading style for each section and apply it.

     

    Then you'd need several TOC section styles.

     

    You then map the New heading to the TOC section in the TOC dialog box.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 14, 2012 9:16 AM   in reply to lsk2002

    You'll need a "generic" base style for each paragraph style that will be included in the TOC, then 16 (is that the number of different colors?) paragraph styles based on each of those that does nothing but change the character color. These are the styles you'll actually use inthe document, and that you'll include in the the TOC.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 14, 2012 1:52 PM   in reply to lsk2002

    Im saying you don't need separate TOCs for each section unless you want them, and that if the only differnce betweenthe paragraph styles from section to section is the color of the text you should base all the ones you use on a "master" style that you can edit (but don't need to apply to any text) so there's only one palce you need to make a change to font or size or the like if you change your mind later about what the style should be. If each section uses styles based on the master style, then the TOC needs to include each of the "section" styles, and (and I probably forgot to mention this) you'll need to do a similar based on system for applying styles to the listings again basing themn al ona master style and changing only the color. I think that's what Eugene was saying, but he didn't go into a lot of detail.

     

    So, you would want "master heading style" and based on that section 1 heading, section 2 heading, and so forth. In the TOC itself you'll include each of those styles. To format the listings in the TOC you create "master listing style" then section one listing, section 2 listing, and so on. Apply section 1 listing style to Section 1 heading text, Section 2 listing style to Section 2 heading text, and so on.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 14, 2012 1:55 PM   in reply to lsk2002

    lsk2002 wrote:

     

    Why is it not taking my subsection generic using black for the toc?

    This is probably a case of you haven't defined special styles for the TOC listings. You can use the same style as in the body of the book, but then you are stuck with whatever that style is. If you define new styles your lisitngs can have any appearance you want. If all subsections should be black, you only need one style for them.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points