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

table of contents with numbering and dotted lines to the page number

New Here ,
Aug 06, 2023 Aug 06, 2023

Hello dear community, I would like to create a table of contents in InDesign, which on the one hand has a numbering and at the same time should be dotted lines between the text lines from the word to the page number. Can someone tell me how I can realize this? Thank you, Carolin

TOPICS
How to , Print
10.8K
Translate
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 1 Correct answer

LEGEND , Aug 07, 2023 Aug 07, 2023

?? Grep will slow down InDesign. 

 

There is much better way - setting "." as a Leader for a right-aligned TAB.

 

Translate
Community Expert ,
Aug 06, 2023 Aug 06, 2023
  1. Create a stroke style in the stroke panel with dots.
  2. Create a character style with this stroke underline.
  3. In the toc paragraph style use shift-tabulator to get numbers right aligned number (in code ^y)
  4. Define GREP style for right aligned taulator this character style
Translate
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
LEGEND ,
Aug 07, 2023 Aug 07, 2023

?? Grep will slow down InDesign. 

 

There is much better way - setting "." as a Leader for a right-aligned TAB.

 

Translate
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
People's Champ ,
Aug 07, 2023 Aug 07, 2023
LATEST

+1 for @Robert at ID-Tasker., which is my preferred method. You can control everything you want by setting paragraph styles for your TOC entries, no need for Grep Styles nor custom lines.

 

See Adobe's help on TOCs, especially the sections:

  • Create TOC entries with tab leaders
  • Create a paragraph style with a tab leader

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

 

|    Bevi Chagnon   |  Designer, Trainer, & Technologist for Accessible Documents |
|    PubCom |    Classes & Books for Accessible InDesign, PDFs & MS Office |
Translate
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 ,
Aug 07, 2023 Aug 07, 2023

Thank you for your assistance. That basically worked. The GREP didn't work, so I used "." as the fill character inserted at the tabs, that brought the desired result.

Translate
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 07, 2023 Aug 07, 2023

Hi @carome123 ,

the GREP pattern for the GREP Style that targets the right aligned tabulator is:

~y

 However, to set the right aligned tabulator in the TOC style use:

^y

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Translate
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