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

Some TOC lines not wrapping

Explorer ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

In my two page Author Index there are many lines which are long and wrap nicely but there are seven lines which simply refuse to fold up.  I have totally retyped (created a new text box) one entry in the document but no change.  Any suggestions welcome.

Not wrapping.JPG

Views

1.2K

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

Guide , Jun 04, 2018 Jun 04, 2018

Hmm OK, I think I understand what you mean.

So you want your text to jump to line 2 as soon as it reaches a certain position, am I right?

Right now, if there's enough room, text just keeps running.

On the example above, you want "islands" and "Island" to be sent to next line, do I understand correctly?

y3.jpg

If so, I think you can work around the issue without using a script.

Here's how:

The trick is to set 2 tabs as separators between entries and numbering in your TOC panel. Yes, you can!

y4.jpg

Now all you have

...

Votes

Translate

Translate
Guide ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

show please the non-wrapping lines, now they are hidden by dialogue window so the problem is not very clear.

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Sorry, I wanted to show you the indent settings which are 15 and -15 and the non-wraps sticking out. Try this image:

Not wrapping 2.JPG

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Hi ,

Totally normal behavior!

To fix it, you need a script!

Best,

Michel, from FRIdNGE

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

As far as I can see, all is correct. I see some one-line parafraph, and they don't have any indented prts because they don't have any second lines. Did you mean this problem, or I missed anything?

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Yes, that is the problem.  The last word should have wrapped to a new line.

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Hi

try using a right-aligned tab (^y) instead of normal tab:

y.jpg

Edit: just to make things clear: are you trying to fix this?:

y2.jpg

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Thanks Vinny. Tried that, no change.

Michel.  Looks like you know something but what script goes where please?

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Note this issue can touch all paras, not only single-line ones!

Personal script written for several clients in June 2017! 

Best,

Michel

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Thanks Michel but I don't see any script or instructions there.

I have fixed the errant lines by adding some dots after the words.  As this text is hidden on the document page the extra dots are also hidden there but match in with the dot leader of the TOC.

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Hmm OK, I think I understand what you mean.

So you want your text to jump to line 2 as soon as it reaches a certain position, am I right?

Right now, if there's enough room, text just keeps running.

On the example above, you want "islands" and "Island" to be sent to next line, do I understand correctly?

y3.jpg

If so, I think you can work around the issue without using a script.

Here's how:

The trick is to set 2 tabs as separators between entries and numbering in your TOC panel. Yes, you can!

y4.jpg

Now all you have to do is to set your 2 tabs along with your right indentation.

For example, your column width is 100 mm. You want text to "wrap" at 10 mm from the right.

First set your right indents like this:

Sans-titre-6.jpg

Then set your 2 tabulations like this:

  • first tabulation: column width - right indent = 90 mm (don't forget to add tab leaders)
  • second tabulation : column width. make sure this one is right aligned and also add tab leaders.

Result is (with justified text for better understanding):

jump.gif

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Thanks.  Works. Wonderful.

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Glad I could help ^^

One more thing: be careful your headers do not end with an extra and unwanted space.

This could mess the all thing:

jump.gif

Using FindChangebyList script could be very handy to get rid of those, along with so many other useful clean-ups.

Something like this maybe:

grep {findWhat:"\\p{Zs}+$"} {changeTo:""} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Hi Vince,

Well showed! …

Capture d’écran 2018-06-04 à 11.53.02.png

No tab! …

Capture d’écran 2018-06-04 à 11.50.07.png

1 tab!

Capture d’écran 2018-06-04 à 11.50.29.png

2 tab!

Capture d’écran 2018-06-04 à 11.50.41.png

I let you finish! …

My clients were not truly interested to play with multi-files books hundred-pages catalogs containing several thousands of product references using a few dozen para styles based on several patterns (1, 2 (screenshot below) or 3 common tab).

That's why I've written such a script?! … say, just for avoiding them headaches and fixing their issues in 1 click!

Capture d’écran 2018-06-04 à 13.04.56.png

Best,

Michel

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Salut Michel.

No doubt you can fix the "issue" with a nicely written script. I know you can do that ^^

But I'm not sure about what you are trying to show with the screenshots...

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

La démonstration n'est simplement pas complète ! Il te manque un style Grep! …

pour éviter le "bug" montré dans les 1re/4e captures.

M

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

OK mais pourrais-tu préciser quel est le bug que tu as repéré ?

Il ne me saute pas aux yeux sur tes captures...

Merci...

Vinny

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

Aha! Vinny, achète-toi des lunettes : "sin" doit passer à la deuxième ligne! 

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 ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

LATEST

Oui ça merci j'avais bien vu ^^

La question est de savoir dans quel cas ce "bug" apparaît et comment le régler.

OK, j'arrive à le reproduire quand mon corps de texte est entre 8.046 et 8.049 pts (avec mes réglages bien entendu)

Sous entendu, il doit y avoir une histoire d'arrondi de la valeur du taquet de tabulation qui peut mettre le bazar.

Mais si tu peux m'en dire plus, je suis sûr que j'apprendrais quelque chose aujourd'hui...

Come on, make my day man!

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