Skip to main content
Inspiring
August 2, 2019
Frage

InDesign catalog and titles of sections for TOC

  • August 2, 2019
  • 4 Antworten
  • 1257 Ansichten

Hello, I am setting up a catalog in InDesign CC 2019 on a MacBook Pro.

I have about 10 sections (or titles) to appear at the top of the pages next to a page number. For example, "Accessories" will appear on pages 4-10.

My question is how do you get the table of contents to display "Accessories...............4-10". Currently I have it as follows:

Accessories.....4

Accessories.....5

Accessories.....6

Accessories.....7

Accessories.....8

Accessories.....9

Accessories.....10

Thank you for your time.

    Dieses Thema wurde für Antworten geschlossen.

    4 Antworten

    Inspiring
    August 2, 2019

    Thank you all so much for your help and advice. I am learning something new every week in this program. This has been a big help.

    My apologies to my first post. I did not mean to specify a range of pages in the TOC. I would not want that.

    I should have had:
    Accessories... 4Kits... 11

    maxwithdax
    Community Expert
    Community Expert
    August 2, 2019

    So are you changing your question. What is it specifically that you want and what are you getting now.

    -Dax

    Inspiring
    August 2, 2019

    I am not changing my question and have found all replies very, very helpful. Thank you.

    Peter Villevoye
    Community Expert
    Community Expert
    August 2, 2019

    Hmm... I can't give a fully satisfying answer to your question, but I do have some worries, and some tips.

    First off, it's not possible to have this "from – to" format as a page number reference.

    And now my first worry: the TOC mechanism works with Paragraph Styles. The reason why you're getting so many entries (for each page) while there should only be one starting number, is that you've probably used the running title in a certain Paragraph Style, and are using that style's occurrence as the trigger for a new entry.

    Try using a uniquely used heading's Paragraph Style for the TOC, not the label at the top of the page.

    Adobe Help: Create a table of contents in InDesign

    And the tip: as a matter of fact, you might consider using Text Variables (running titles in this setup) to automatically populate those labels on the top of the page, depending on the most recent title/heading with a certain Paragraph Style of the section.

    Adobe Help: Create and edit text variables in InDesign.

    maxwithdax
    Community Expert
    Community Expert
    August 2, 2019

    What would be a really cool option would be to be able to apply TOC page ranges based on Master Pages. I.E. anything with master page "Chapter 1" is tallied to produce "<Master Page Name>.......<page range>.

    That would be cool!


    -Dax

    Derek Cross
    Community Expert
    Community Expert
    August 2, 2019

    As a matter of interest, this month's issue of InDesign Magazine (No 124) is devoted to building Catalogs. I'm not saying it will answer this question but no doubt it will be of interest anyway to those creating catalogs with InDesign:

    https://indesignsecrets.com/indesign-magazine-issue-124-building-catalogs.php

    Randy Hagan
    Community Expert
    Community Expert
    August 2, 2019

    I know of no automated solution for you, but I do know a couple of manual ones which may work for you.

    1) To get the Accessories header, and a single entry for the Accessories section, create a duplicate style for your current header style.

         a) Click into your Accessories header on page 5, and if it's not open, display your Paragraph Styles panel.

         b) Go to the flyaway menu (the one opened with the three-line "hamburger" icon at the upper-right of the panel and

              select the Duplicate Style... menu command. Name the new style Header - No ToC.

         c) Apply that style to the headers on pages 5-10. When you rer-generate the ToC, it'll only include Accessories...4 and not

              the other entries.

    2) After you generate the ToC, manually enter the listing to read Accessories...4-10.

    You can also, of course, just delete the entries for pages 5-10, and perform the same edit for the first Accessories entry. Either option will work, but the short story is that without some kind of third-party extension or custom script, I know of no way to do this automatically. Wish I had a better answer for you, but this is all I've got for now.

    That doesn't necessarily mean that there can't be one in the future. If you submit a feature request using the link below, the product team will see it and perhaps an automated solution could be added to future versions of InDesign:

    Feature Request/Bug Report Form

    Wish I had a better answer for you ...

    Hope this helps.

    Randy

    Dave Creamer of IDEAS
    Community Expert
    Community Expert
    August 2, 2019

    I like Randy's solution/work-around, but I would add a few things to semi-automate it more...

    1. Create styles called: Section_Start. Section_NoToC, Section_End
    2. Apply Section_NoToC to the master page(s)
    3. Override the first page (Cmd/Cntl-Shift click) and apply Section_Start
    4. Override the last page and apply Section_End (This should be done when page count is locked in)
    5. In the TOC style, enter a unique character in the Between Entry and Number area to flag Section_End (for example: #)
    6. Whenever TOC is updated, Find/Change "^p#" and replace with an en dash. (Save Query for future updates)

    (I would have to rethink this workflow IF the sections were in a book. That might be easier using the Last Page Number variable.)

    David Creamer: Community Expert (ACI and ACE 1995-2023)