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

Grep Help with no break

Explorer ,
Dec 02, 2020 Dec 02, 2020

Trying to create a line of text that doesn't break on a name followed by a space, a bullet character, and a space. I want the entire name on the same line followed by the space and bullet character with no break, but when I try to create the grep expression for it all the text goes out of the text frame. I have managed to apply a different character style to every other name, and I can apply no break to either style successfully, but if I apply it to both styles it treats the paragraph like one big no breaking line of text. Anyone have a suggestion how to create the appropriate grep expression?Capture.PNG

TOPICS
How to , Type
822
Translate
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

Community Expert , Dec 02, 2020 Dec 02, 2020

You can use Nested styles: apply the noBreak style up to the bullet, apply the nothing style (which does nothing) on/up to the blank space following the bullet (so it should break the line here), and repeat last 2 styles.

 

Capture_017.png

Translate
Community Expert ,
Dec 02, 2020 Dec 02, 2020

You can use Nested styles: apply the noBreak style up to the bullet, apply the nothing style (which does nothing) on/up to the blank space following the bullet (so it should break the line here), and repeat last 2 styles.

 

Capture_017.png


Acrobate du PDF, InDesigner et Photoshopographe
Translate
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 Expert ,
Dec 02, 2020 Dec 02, 2020

@JR Boulay That is a great solution and I'm marking it as correct. It does exactly what @mompcomike is looking for.

 

@mompcomike I'm including an English language screen shot in case JR's French language screen shot is confusing. Remember to add the space in the row below the bullet.

nested.png

 

~Barb 

Translate
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 Expert ,
Dec 03, 2020 Dec 03, 2020
LATEST

Sorry for the "blanck" typo and sorry for InDesign's silly translation of "last", which is horrible in French.

 


Acrobate du PDF, InDesigner et Photoshopographe
Translate
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