Skip to main content
Participant
March 4, 2025
解決済み

HELP / invisible non-break?

  • March 4, 2025
  • 返信数 1.
  • 243 ビュー

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_8580

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.

返信数 1

Flo_8580解決!
Inspiring
March 4, 2025

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.

updog作成者
Participant
March 4, 2025

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!