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

GREP for changing bullet points in all document

Community Beginner ,
Apr 25, 2017 Apr 25, 2017

Hello!
I'm working on a book, but I encountered a problem. It appears that every line of dialogue is a bullet list.
I manage to create a GREP that finds all bullet lists and changes them to regular text but here it gets tricky.

I'd like to insert em dash and a thin space before the text found by GREP without changing the text.


Any help please?

1.9K
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 , Apr 25, 2017 Apr 25, 2017

I don't think you need GREP at all. GREP for identifying patterns, it sounds like you have defined characters, (a bullet and whatever space follows the bullet), so it's just a Text find and change. Of course, the advantage of Bullets and Numbering is that you can redefine the list via the paragraph style when you feel the need (like, um, now ) and all the lists will update.

Translate
Community Expert ,
Apr 25, 2017 Apr 25, 2017

If it's a bulleted list then you could be better off by changing its definition instead. Would that work?

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 Beginner ,
Apr 25, 2017 Apr 25, 2017

I'd prefer to avoid bulleted lists (just realised I was making a typo all along, ha!), but I'd have to do it that way if there's no other solution.
Good idea, nevertheless!
Still hoping to find the right GREP

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 ,
Apr 25, 2017 Apr 25, 2017

I don't think you need GREP at all. GREP for identifying patterns, it sounds like you have defined characters, (a bullet and whatever space follows the bullet), so it's just a Text find and change. Of course, the advantage of Bullets and Numbering is that you can redefine the list via the paragraph style when you feel the need (like, um, now ) and all the lists will update.

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 Beginner ,
Apr 25, 2017 Apr 25, 2017

Well, I think it's the best option after all. There's no need to make it as complicated as I'm apparently trying to haha Thank you!

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 ,
Apr 25, 2017 Apr 25, 2017
LATEST

Ok, good!

And never one to leave well enough alone  , you could still use Bullets and Numbering to get the look you want, by removing the indents:

InDesign CCss_010.png

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 ,
Apr 25, 2017 Apr 25, 2017

Let me clarify the question—you have lists of dialogue that are set as bullets? For example,

  • dialogue line 1
  • dialogue line 2
  • dialogue line 3

and you want them to look like this?

— dialogue line 1

— dialogue line 1

— dialogue line 1

If they are set up as bullets in Bullets and Numbering, just change the definition from:

InDesign CCss_003.png

to

InDesign CCss_005.png

If they were typed by hand, set up a ¶ style to assign the bullets as per the screen shot directly above, and then use Find/Change:

Find • space (or what the delimiter is) and Change to the Bullets ¶ style.

InDesign CCss_006.png

Then run the same Find • space (or what the delimiter is), and change to nothing.

InDesign CCss_007.png

InDesign CCss_009.png

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 Beginner ,
Apr 25, 2017 Apr 25, 2017

Thank you, but it's a bit different problem. I have got bulleted lists that I'd like to change to regular text and at the same time add an em dash before the text

I have something like this

Would like to change it to this (regular text with em dash in the beginning)

And I have to achieve the effect on 200 pages.

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