• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Table of content for placed .indd files

Explorer ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

Hello,

i have to set up a TOC for a PDF document containing roughly about 120 spreads. There is a cover, an editorial and 4-6 text pages. And up to 56 double-sided product sheets (each for a car model) which i generated via data merge. These product sheets contain the car name formatted with "Car name" paragraph style and i place them (they are 56 separate .indd files) in the brochure document.

 

Is there a way i can generate a TOC automatically and this includes all of the car names, even if the "car name" paragraph style (and the car name text field itself) are located in the sub-file? Do i have to copy the content of each product sheet into the brochure doc to have the TOC being generated? Or how would you approch this?

 

Thanks a lot!

TOPICS
EPUB , Publish online , Scripting

Views

446

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Aug 12, 2022 Aug 12, 2022

Why are you  placing the merged documents. You can generate a TOC of an entire Book if you just add all the files to a Book file. 

 

https://helpx.adobe.com/indesign/using/creating-table-contents.html

Votes

Translate

Translate
Community Expert , Aug 15, 2022 Aug 15, 2022

You would need to add the car info into a text frame on each page. Based on my understanding of your workflow, @brian_p_dts suggestion would be your best option.

 

Votes

Translate

Translate
Community Expert ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

Script would do the trick 😉 what platform - PC or Mac? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 15, 2022 Aug 15, 2022

Copy link to clipboard

Copied

Working on a PC.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 30, 2023 May 30, 2023

Copy link to clipboard

Copied

Will you help me create a script taht can do this?

 

I have multiple books (.indb) that need the same section. But each book has a unique sidebar. In order to have repeated content alongside unique content I made a Parent version of the .indd file that is placed onto Children .indd files. The Child versions appear in each differnt book. 

 

Everything was looking to work as intended until I went to build the TOCs. Because my paragraph styles are on the Parent page, the TOC results are balnk. 

 

Thank you in advance.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 07, 2023 Jun 07, 2023

Copy link to clipboard

Copied

LATEST

So I went away from this idea and used a script to tun on/off layers. The TOC works perfectly now. Thank you anyhow. Cheers.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

If you placed the PDFs via Data Merge, why not add the car name as part of the csv file? The name can be placed in a non-printing text frame for the TOC to pick up.

Another possible option is to use a metadata caption that will fill in automatically when the image (PDF) is placed.

 

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 15, 2022 Aug 15, 2022

Copy link to clipboard

Copied

Hey, thank you.

 

My data merge output have been 56 .indd files, each for another car and including that name, coming from the csv (or txt in my case).

 

I another document i placed these .indd files. That is the document i am working in and where i need the TOC to be generated.

 

Maybe i misuntersand some things in the workflow. Ill attach some Screens: an overwiew, an example of one of the placed files and the TOC, which is at the moment made manually and ignoring all the product pages, except for the example ARI 345 Food Truck.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 15, 2022 Aug 15, 2022

Copy link to clipboard

Copied

You would need to add the car info into a text frame on each page. Based on my understanding of your workflow, @brian_p_dts suggestion would be your best option.

 

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

Why are you  placing the merged documents. You can generate a TOC of an entire Book if you just add all the files to a Book file. 

 

https://helpx.adobe.com/indesign/using/creating-table-contents.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines