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

Forced line breaks in heads appear in cross-references

Engaged ,
May 04, 2020 May 04, 2020

Copy link to clipboard

Copied

Hi. Not an ID newbie, but this has me puzzled. In a Level 1 style head, I have inserted a forced line break:

 

Appendix A<shift-return>

Now is the time for all good men

 

This works great on the page when the head appears.

Elsewhere in the book, I insert a cross reference (paragraph and page number), and I get:

 

blah blah blah (see Appendix A<forced return>

Now is the time for all good men on page 47).

 

There does not seem to be an obvious way to remove the break as there is when creating a Table of Contents. It appears that I must go without a break in the L1 head (where I want it) or have one in the cross reference (where I don't want it).

 

I suppose I could create two look-alike styles: one for the appendix and its number, and another style for its text and insert two XRefs... but then the TOC will only carry the Appendix numbering and not its title. (At least in the TOC I can remove the forced return).

 

What to do?

 

Thanks.

 

-j

TOPICS
How to

Views

1.5K

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 2 Correct answers

Community Expert , May 04, 2020 May 04, 2020

You are correct in everything you stated and there is no way to disable the line break in an x-ref (great feature request).

 

So what does this actually look like on the body page? Would "Appendix A Now is the time for all good men" fit on a single line if you didn't use a line break or would some of the words wrap to the next line? I'm wondering if Balance Ragged Lines (perhaps combined with non-breaking spaces) would help.

 

One more thought: you could set this up as two back-to-back cross ref

...

Votes

Translate

Translate
Guide , May 04, 2020 May 04, 2020

It's not because you need:

 

Appendix A<shift-return>

Now is the time for all good men

 

… on 2 lines that you need a soft-return!

 

Instead of playing a "soft-return", play a "non-joiner" (+ 2 Grep styles + 2 char styles)!

 

Capture d’écran 2020-05-05 à 03.42.54.png

 

So, no "soft-return" used, no problem in your cross-ref.!  =D

 

About Headers:

https://community.adobe.com/t5/indesign/running-heads-and-forced-line-breaks-extra-space-character/m-p/11111107?page=1#M185314

 

I've already showed this trick here several times in the past!

 

(^/)  The Jedi

Votes

Translate

Translate
Community Expert ,
May 04, 2020 May 04, 2020

Copy link to clipboard

Copied

You are correct in everything you stated and there is no way to disable the line break in an x-ref (great feature request).

 

So what does this actually look like on the body page? Would "Appendix A Now is the time for all good men" fit on a single line if you didn't use a line break or would some of the words wrap to the next line? I'm wondering if Balance Ragged Lines (perhaps combined with non-breaking spaces) would help.

 

One more thought: you could set this up as two back-to-back cross references each to their own paragraph. And then you could just add the title to the TOC and then add appendix A in front of it as an auto number.

 

~Barb

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
Engaged ,
May 04, 2020 May 04, 2020

Copy link to clipboard

Copied

Thanks very much for your reply. The line would wrap anyway, but it breaks early at the forced break leaving an odd hole. The only time that would not matter is if the A of Appendix A was the natural last character on the line.

 

I was hoping that someone else had encountered and solved this problem, which I have seen from time to time and worked around. I've decided that I would insert a colon and make my heads read:

 

Appendix A: Now is the time for all good men

 

But I should be able to have a forced break in there and get rid of it in the Xref as I can in the TOC. Hmmmm. Just thought that maybe I could achieve this with a nested style... but will have to experiment.

 

Thanks. again.

 

-j

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 ,
May 04, 2020 May 04, 2020

Copy link to clipboard

Copied

It's not because you need:

 

Appendix A<shift-return>

Now is the time for all good men

 

… on 2 lines that you need a soft-return!

 

Instead of playing a "soft-return", play a "non-joiner" (+ 2 Grep styles + 2 char styles)!

 

Capture d’écran 2020-05-05 à 03.42.54.png

 

So, no "soft-return" used, no problem in your cross-ref.!  =D

 

About Headers:

https://community.adobe.com/t5/indesign/running-heads-and-forced-line-breaks-extra-space-character/m...

 

I've already showed this trick here several times in the past!

 

(^/)  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
Community Beginner ,
Aug 23, 2022 Aug 23, 2022

Copy link to clipboard

Copied

Hey there, 

 

Came across this post while looking at the same problem, 

 

With the below work arounds I could add one more:

 

Just adding a right indent to the Header/paragraph you'd like to cross reference to.

With the right indent you can also 'break' the text, in most cases just how you'd like (besides it being an override of your style..) and end up with a clean cross reference link/text. 

 

It's not 'the' solution, but like the ones below, one that might do the trick in some cases 🙂

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 ,
Aug 23, 2022 Aug 23, 2022

Copy link to clipboard

Copied

LATEST

ps, with the below work-arounds, I mean the above

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