I need your help. In my document I'm using text like SomethigSpecial but the word Special is a superscript as below:
It is hard to remember always about the superscript while typing. So how I can add an autorect (or something else) to word "Somethingspecial" so I can be sure that every time it will change to something I showed you on the picture?
I don't want to use search/change option after I'm done with the file but as a autocorrect to have changes live. I wan't it to be changed while I'am typing.
Copy link to clipboard
tray in this way as in the screenshot.
Feel free to ask if you need further assistance
I tested and it works for me too. Can you show some screenshots on what is your document state
Don't apply the character style "Superscript" on your paragraph
Just write with the "Body text" applied SomethingSpecial.
(don't select the character style "Superscript")
select your text frame
open Panel "Style znakowe"
click on [Brak]
try adding (?i) at the front of your expression - this removes case-sensitivity
can you share with us one page of your indesign file with your settings?
Ahh, thats a bummer 🙂
I almost lost my mind because of this today 😛
I thought that there is something missing while I was working on a document today.
Is it posible adding to your GREP [to remind you: (?i)\bSomething\KSpecial\b] some line that will:
- make both words capitalics (always "SomethingSpecial", not e.g. "SomethingSPECIAL")
- delete space. (I found in document few "Something special" and I need i to be "SomethingSpecial"). I know it need to be a task like delete space always after "something" but if there is a "special" after.
one simply way could be (without using script) with find replace in two steps:
Thank you @vladan saveljic but I know this solution. I have a very complicated file with a 500 pages. So I need to have any changes "live", not after file is done because it could cause many problems. That's why I'm looking for solutions with GREP.
Ok, but grep can't do all these changes "live."
For example you could do these substitutions at the beginning, not after file is done
There is a difference between Grep Find & Replace (menu command) and Grep Styles.
Grep Find & Replace can delete characters - a Grep Style cannot.
Like @vladan saveljic wrote before: Use the menu command Grep Find & Replace at the beginning for substitutions and clean you texts. After that - use Grep Styles in Paragraph Styles for "Live formatting".
BTW: This Grep Find & Replace could do the first step.