Skip to main content
Legend
Nov 26, 2019 12:59 PM UTC
Answered

long lines in ToC

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.


Thanks in advance for any hints and tips!

This topic is closed to new replies. Start a new post to keep the conversation going.
frameexpert
frameexpertCorrect answer
Community Expert
Nov 26, 2019 1:47 PM UTC

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.

www.frameexpert.com

9 replies

Legend
Aug 14, 2020 10:00 AM UTC

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!

 

Translate
Community Expert
Aug 14, 2020 10:40 AM UTC

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

Translate
LinSims
Community Expert
Community Expert
Aug 14, 2020 12:40 PM UTC

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. 

Translate
Legend
Nov 28, 2019 9:35 AM UTC

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 :-{

Translate
LinSims
Community Expert
Community Expert
Nov 27, 2019 2:53 AM UTC

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.

Translate
Barb Binder
Community Expert
Community Expert
Nov 27, 2019 1:49 AM UTC

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

Translate
~Barb at Rocky Mountain Training
frameexpert
Community Expert
frameexpertCommunity ExpertCorrect answer
Community Expert
Nov 26, 2019 1:47 PM UTC

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.

Translate
www.frameexpert.com
LinSims
Community Expert
Community Expert
Nov 26, 2019 1:45 PM UTC

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.

Translate
Community Expert
Nov 26, 2019 1:12 PM UTC

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

Translate