Skip to main content
Participant
Mar 4, 2025 11:43 AM UTC
Answered

HELP / invisible non-break?

Hi!

 

I have this line:

"sleeves—another flat surface, invoking Johns once again—, allowing" and indesign is breaking the "—," which i'd like to keep together. Can't put a n-break space since I don't want any space, and there doesn't seem to be an opposite to the invisible non-joiner (which would be ideal...). It seems I might be able to do this with GREP, but i've never used it before so I don't really know where to start. I'd love some help!

Also if any of you guys have any easy grep tutorials / introduction to grep, i'd be very grateful. I'd like to learn how to use it. 

 

Thanks 🙂 

 

Flo_8580Correct answer
Inspiring
Mar 4, 2025 12:28 PM UTC

This is a bit dodgy, but you could create a new character style and just check the No Break option under Basic Character Formats. I use this for web adresses for example.

 

You could then do a simple text search for your dash (^_) and use the replace format funtion of the search field to apply the non break character style. No GREP required.

2 replies

Flo_8580Correct answer
Inspiring
Mar 4, 2025 12:28 PM UTC

This is a bit dodgy, but you could create a new character style and just check the No Break option under Basic Character Formats. I use this for web adresses for example.

 

You could then do a simple text search for your dash (^_) and use the replace format funtion of the search field to apply the non break character style. No GREP required.

Translate
updogAuthor
Participant
Mar 4, 2025 12:35 PM UTC

Hi Flo! Don't know how I didn't think of this, it's pretty obvious :'). Got derailed searching for a unnecessarily complicated answer I guess. It of course worked. Thanks!

 

Translate