• 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: excerpt text

Community Beginner ,
Jan 30, 2024 Jan 30, 2024

Copy link to clipboard

Copied

Hello everyone,

I'm handling a document where I need to manage a Table of figures. Since it's quite a technical document, the captions are sometimes a bit long. I'd like to include in the ToF only a part of them. For example: "Figure 1: General envelope. The blablablalbla": I'd like to have only "Figure 1: General envelope" in the ToF. 

 

My first idea was to use two paragraph styles (let's say Figures and FiguresNOTOF) and use the former in the ToF, but I can't help having a line break in the caption, which should be avoided. 

 

I browsed some discussions here but I couldn't find the best way to achieve this.

What's the best strategy here?

 

Thank you!

 

 

TOPICS
How to

Views

423

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 1 Correct answer

Community Expert , Jan 30, 2024 Jan 30, 2024

Your idea of using two paragraph styles is correct. But instead of adding the abbreviated caption to the 'real' caption, add it in a sperate text frame and anchor it in the caption. You can move the anchored frame largely away from the page, only a fraction of the frame needs to be on the page. Then in the ToF use the paragraph style applied to the abbreviated caption.

Votes

Translate

Translate
Community Expert ,
Jan 30, 2024 Jan 30, 2024

Copy link to clipboard

Copied

Your idea of using two paragraph styles is correct. But instead of adding the abbreviated caption to the 'real' caption, add it in a sperate text frame and anchor it in the caption. You can move the anchored frame largely away from the page, only a fraction of the frame needs to be on the page. Then in the ToF use the paragraph style applied to the abbreviated caption.

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 Beginner ,
Jan 30, 2024 Jan 30, 2024

Copy link to clipboard

Copied

Brilliant! Thank you so much!

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
Guide ,
Jan 30, 2024 Jan 30, 2024

Copy link to clipboard

Copied

Hi Peter,

 

Why not just insert a Grep style in the "Caption" TOC para style that makes invisible all the text after the first dot [automatic] or after a non-joiner [manually placed by the op]?

 

Char Style: Invisible

Grep Expression: [.~j].+$

 

(^/)  The Jedi

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 ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

I have the same issue example:

Doctrinal Fidelity (79th A., 2024) .............12

I don't want the text in parenthesis to show in the TOC and there is no way I can go back into my document and created new text boxes for all of them. It is a HUGE document.

 

I tried your grep expression but I am not doing it right. What are the parameters for the Char Style?

Also, the parenthesis has a small type char style applied to it. Unlike the bold regular text of the title.

 

HELP!

 

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 ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

@Stefsue 

 

If you can send me your document - ZIP and upload your file somewhere, click my nickname and send me link on priv to uploaded file - I can do it for you using my ID-Tasker tool.

 

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
Guide ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

GREP Style:

Apply Style: _invisible (see Settings below)

To Text: \h\(.+?\)

 

Capture d’écran 2024-10-25 à 20.06.02.pngCapture d’écran 2024-10-25 à 20.06.37.png

 

(^/)

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 ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

Thank you for taking the time to help me. This works! Except how do you avoid the leader being hidden as well?

Screenshot 2024-10-25 at 3.18.02 PM.png

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 ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

quote

Thank you for taking the time to help me. This works! Except how do you avoid the leader being hidden as well?

Screenshot 2024-10-25 at 3.18.02 PM.png

 

By @Stefsue

 

Make the style 0.1pt, horizontal scale 1%.

 

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 ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

LATEST

Thank you!  I also had to adust the way I had my tabs set. This really saved me a ton of time! Thank you so much!

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 ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

@Peter Kahrel 's method is the one I've used. I've done something simular but used a non-printing text frame and placed it at the top of the page in the margin. I had to make two TOCs--one English and one Spanish. I color-coded the text cyan and magenta so it stood out from the black text.

image.png

 

I wish InDesign would update some of its longdocument features. QuarkXPress could make TOCs/Lists from character styles for decades. 

 

 

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 ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

@Dave Creamer of IDEAS

 

But you've not Anchored it in the main story? 

 

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 ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

In my case, it wasn't necessary as it was always at the start of a section. In the OP's case, I would set it as anchored. 

 

Another option is to put the abbreviated text in small type just above or below the real caption. Any paragraph space can be adjusted to make the spacing appear normal. Set the type color to magenta to see it easier to see during editing, but change it to none or white before printing. 

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 ,
Jan 30, 2024 Jan 30, 2024

Copy link to clipboard

Copied

I assumed that abbreviating a caption wouldn't always be as simple as chopping it off somewhere.

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