long lines in ToC

Advisor ,
Nov 26, 2019

Copy link to clipboard

Copied

Of course, given a free hand I'd rewrite the titles … but in a regulatory context, that's just what I haven't got and can't do. Here's what I can manage by naughtily editing the generated ToC and adding a soft line-feed after "skimming": but I was wondering whether someone might have tips for a more elegant solution.

wrapTOC.png
Thanks in advance for any hints and tips!

TOPICS
Formatting and numbering

Views

364

Likes

Translate

Translate

Report

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

2 Correct Answers

Adobe Community Professional , Nov 26, 2019
frameexpert Adobe Community Professional , Nov 26, 2019
You can also experiment with strategically replacing some of the spaces with non-breaking spaces in your titles to force wrapping in the TOC. I have also built a few scripting solutions for these problems over the years.

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional , Nov 26, 2019
Winfried Reng Adobe Community Professional , Nov 26, 2019
Hi FieryPantone,   There are a few options. In the paragraph designer in the Advanced tab enter these values: Minimum 200 % Maximum 125 % Then the line will break some cm before the line end. (You can play with the values to make the distance bigger.)   Or there is a free plugin from CudSpan: http://www.cudspan.net/plugins/  Go to 11.0 plugins. There is a plugin TOCBreaker.   Best regards   Winfried

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
Nov 26, 2019

Copy link to clipboard

Copied

Hi FieryPantone,

 

There are a few options.

In the paragraph designer in the Advanced tab enter these values:

Minimum 200 %

Maximum 125 %

Then the line will break some cm before the line end. (You can play with the values to make the distance bigger.)

 

Or there is a free plugin from CudSpan:

http://www.cudspan.net/plugins/ 

Go to 11.0 plugins. There is a plugin TOCBreaker.

 

Best regards

 

Winfried

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 26, 2019

Copy link to clipboard

Copied

I don't think it works with 64-bit versions of FM. I have a vague recollection of trying to use it and getting an error.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 26, 2019

Copy link to clipboard

Copied

You can also experiment with strategically replacing some of the spaces with non-breaking spaces in your titles to force wrapping in the TOC. I have also built a few scripting solutions for these problems over the years.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 26, 2019

Copy link to clipboard

Copied

I'm fairly sure I'm using the 64-bit version and Winfried's technique is working for me. I ended up having to add an extra tab before the <$pagenum> on the TOC reference page though, as described on this post:  https://community.adobe.com/t5/framemaker/last-line-right-indent-desperatly-missed/td-p/10663228.

 

Everyone please remember to vote for a last-line right indent which would give us a more elegant solution to this issue. 

https://tracker.adobe.com/#/view/FRMAKER-7310

 

~Barb

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 26, 2019

Copy link to clipboard

Copied

My apologies for not making myself clear. Winfried's technique works perfectly and I use it myself.

 

I meant that I don't think the Cudspan plugin works with 64-bit FrameMaker.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Advisor ,
Nov 28, 2019

Copy link to clipboard

Copied

Thanks for the "non-breaking space" and "Advanced settings" tips – I shall experiment with both of these.

Alas, anything that relies on a plug-in is a non-starter in my work environment :-{

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Advisor ,
Aug 14, 2020

Copy link to clipboard

Copied

What a resource this forum is … I've finally caught up with myself, and implemented Winfried's elegant solution: results absolutely as required. Now, Winfried – tell me why/how it works!

 

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Aug 14, 2020

Copy link to clipboard

Copied

Hi,

 

I do not remember from whom I got this info. It was many years ago.

And I cannot tell you, why this works. But I like this solution.

Other options are plugins or script solutions, e.g. from Cudspan (TocBreaker) or from others.

 

Best regards

 

Winfried

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
LinSims LATEST
Adobe Community Professional ,
Aug 14, 2020

Copy link to clipboard

Copied

Sadly, TOCBreaker does not work with 64-bit FrameMaker. I actually put in a feature request two (2!) years ago asking for Adobe to duplicate the capability, but so far it seems to just be sitting there. 

Likes

Translate

Translate

Report

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