• 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 Contents - Two paragraph styles

New Here ,
Sep 07, 2018 Sep 07, 2018

Copy link to clipboard

Copied

hi Everyone

see attached image. How can I generate table of content as attached image?

: notice Style No. and Style Name are paired. But they are two different paragraph style. I can only associate one paragraph style to the page No. inside the TOC dialogue box.

Any ideas ?

thank you

스크린샷 2018-09-07 오후 7.25.06.png=

Views

891

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 ,
Sep 08, 2018 Sep 08, 2018

Copy link to clipboard

Copied

Can you ad a screenshot of a product page to see what you are working from?

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 ,
Sep 08, 2018 Sep 08, 2018

Copy link to clipboard

Copied

One way would be to define both styles to be gathered, which would end up with double lines of text for the page entries. Let them generate two differently-named paragraph styles in the completed ToC. Then, as a second phase, you could do a Find/Change to find the digits followed by a hard return and change them to none (or a tab character). Limit the search to one of the two paragraph styles. This would cause the first and second lines of each page entry to merge into one paragraph style that could be styled like your example screenshot.

Mike Witherell

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 ,
Sep 08, 2018 Sep 08, 2018

Copy link to clipboard

Copied

If the content pattern in the file is Style No and then Style Name (repeated) you could be tricky and set the Style Name TOC style to have 0 leading (so it pulls up to the same line as the Style No) and use a left indent to push it over to the right.

You'll also have to set Style No ​to not have a page number added.


— Adobe Certified Expert & Instructor at Noble Desktop | Web Developer, Designer, InDesign Scriptor

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 ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

LATEST

hi Everyone not exactly like what Dan suggested but inspired by it: I resolved this issue by nesting a character style (Style No.) into the Paragraph Style that contains Style Name. Later it took some planning and thinking to finally get it organized to the way I wanted.

thank you -

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 ,
Sep 09, 2018 Sep 09, 2018

Copy link to clipboard

Copied

It is hard to see what you have done as long as we don't see any difference in appearance of the levels of the ToC.
You will do best to have a Paragraph Style for each level of hierarchy. Don't forget to view more options to see all the options.
Dan Gives you some good advise. Take it in stages though.

First get the Style No and the Style Name to line up in the proper rows, then you can set the Style Name to learning zero.

You will have problem if there are multiple rows of Style Name.

It is hard to foresee any other problems that may pop up.

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