Dear readers,
i’m looking for a solution for this problem:
– i have a simple paragraph style “text”, that has two GREP formatting rules.
– i have a second paragraph style “heading”, that initially completely inherits the GREP formatting rules from “text”
– now i have to make a small change in the GREP rules in “heading” (only change the style assigned to one of the searches, but the search strings itself stays the same). That moment, it stops inheriting *all* the GREP rules from “text” at once (even those that were not touched, that’s known indesign behaviour, teach me wrong if i’m not up to date).
– next, i have to adjust the search string in the “text” paragraph style, as some more terms to be formatted are added by marketing. The dilemma is, that this change is not inherited anymore by “heading” as i made that minor change there before (not affecting search strings, but only format assigned).
So i’m looking for a way to update the search strings i did in “text” in that “heading” format too, but leave the changed style assignment intact.
I guess this is something Indesign can’t do on it’s own, but maybe scripts could? I’m thinking of a “take all search strings from A, and apply them to X Y and Z / apply them to all formats that have GREP rules non-inherited anymore”.
(question is what would happen on grep rules that are only present in “text” but not in “heading”, but this case will not happen in my usecase)
Thanks for any idea.