Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

GREPS white space search in bullets?

Return to Member Forum

  • Author
    Posts
    • #67895
      Anonymous
      Inactive

      I have tried all the GREP-white-space-finds: (\x{20}, \p{space_separator}, ) in bulleted text (would like to do a “find-replace” of one white space or tab, for another white space or tab without entering the specific or white space.
      None of them find the spaces or tabs in the bulleted list.
      I would like to find all different white spaces em, en, thin and tab etc, in different lists and replace with single tab or other white space.
      Does GREP not reach into the bulleted list?

    • #67911
      Masood Ahmad
      Participant

      Bob, could you give some text example in support to your query. I would like to know where exactly your different white spaces occur. Just to give a try…

    • #67920
      Anonymous
      Inactive

      Masood:
      If you type a list and apply bullet attributes to it, but instead of using a tab – in the bullet palette options- use a “thin space” from the palette’s drop down menu, you shouldn’t be able to find that white space using the codes listed in my original email.
      See below for example – only difference is that you would use the Bullet palette to apply bullets (I typed these bullets by hand)

      • Item 1
      • Item 2
      • Item 3

    • #67924
      Masood Ahmad
      Participant

      Bob, many thanks for the information. I just checked your query and found that there is no need to write any code in GREP to achieve this. It is very simple and can be achieved using the simple find and change command.

      Let me try to explain the things:

      1. Create a bullet list and instead of tab in the bullet palette options use a ‘thin space” from the palette’s drop down menu.
      2. In Find/Change dialog box under Text/GREP tab (works with both tabs, click the “Find Format” options, go to “Bullets and Numbering” section and select the “thin space” for the “Text After”.
      3. Now click the “Change Format” options and do the same process and select Tab or whatever for the “Text After” palette.
      4. click “Change All”

      Oops, what a magic… Wow… NO CODES… :)

    • #67926
      Anonymous
      Inactive

      Thanks Masood

      Never thought of that. Seems I was trying to complicate a very simple procedure.
      I suppose it would be even easier to make a paragraph style and apply it that way.
      Or… if I have other text that is not created with the bullet palette, and uses different white spaces, I could enter a white space character in the “find what” area, and your suggestion in the “find format” area to do it all at once.

      Thanks again

    • #67932
      Masood Ahmad
      Participant

      You are welcome Bob. Now you have the idea and can play accordingly. Creating a Style is the most appropriate and an efficient way of working.

      Keep asking…

Viewing 5 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads