Copy link to clipboard
Copied
Hi All,
I had a issue while using GREP, While replacing the manual bulleted paragraph to bullet styled paragraph,
I have used the below:
Find What:
^ ·\t(.+)$
Change to:
$1
Change Format:
Main_Txt_Bullets (paragraph style)
When I replace by option "change" one by one all the instances change clearly
While using "change All" option, the initial letter of roman word followed by italic word changes to italics.
Kindly help me to rectify & suggest me what went wrong?
Screenshots below steps:
Copy link to clipboard
Copied
Can you share a sample InDesign document to test with
-Manan
Copy link to clipboard
Copied
Hi Manan,
Extremely Sorry for the late response!
Find the idml file attached.
RajeshGeorge
Copy link to clipboard
Copied
There is no file attached
-Manan
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I am not sure what is wrong here, but I can't see your attachement. Are you checking your post after posting, do you see the attachement?
-Manan
Copy link to clipboard
Copied
Hi Manan,
While attaching the file it show, after posting it didn't.
If you dont mind can i get your mail id
Copy link to clipboard
Copied
Upload it on a cloud service like Dropbox and share the public link here.
-Manan
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I think there's a oddity with this that I've noticed before, it's somehow capturing the italic style
You don't need all this
^ ·\t(.+)$
You just need
^ ·\t
Copy link to clipboard
Copied
Hi Tyson,
I planned to do both style replace & remove the "manual bullet with tab" at once, that's the reason, to used the expression.
If, I proceed change one by one it replaces clearly, It happens when i used change all option only.
Rajesh George
Copy link to clipboard
Copied
I don't know
Would need to see the file.
To remove the bullets - remove the formatting info in the panel
Then run the find replace again
=====================
My guess is that perhaps the Bullet character in the bullet style perhaps has italic setting
And this is passing on the italic to the first character.
Which it shouldn't.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I see what you mean... how odd
The italic text is changing - that's got to be a bug
https://indesign.uservoice.com
In the meantime doing the 2 step works
as I described before.
I can't figure out why it's doing that.
Copy link to clipboard
Copied
Hi Tyson,
Thanks alot of your effort!
RajeshGeorge
Copy link to clipboard
Copied
Yes, it is definitely doing something odd. It's like by removing two characters (the manual bullet and the tab) the character style 'italic' has been shifted by two characters. You can also see the the word 'bison' at the start of the italic text has lost the italic format on the first two letters.
Copy link to clipboard
Copied
Yeh noticed that too - if you make the space before the italic, after the : . Then do the find replace all - it changes back to a regular font and only 1 letter of the italic.
So by removing 2 characters the italics is shifting per character.
Which has to be a bug.
I've never noticed this because I always do 2 step find and replace - find to add the paragraph style of just the bullet tab and apply the style.
Then find replace to remove the bullet and the tab.
It's strange behaviour.
Copy link to clipboard
Copied
Just Find: ^.\t(.)
(^/) The Jedi
Copy link to clipboard
Copied
@FRIdNGE That's just a perfect solution. :red_triangle_pointed_up: