Hi. I'm wondering if it's possible to have GREP Style target Text Variables in a couple of ways in order to meet some conditions. 1. In the GREP Style's To Text field, I can enter ~v for Any Variable, ~Y for Running Header (Paragraph Style), ~u for Custom Text, etc. Can these metacharacters be included in an expression to target Text Variables by name as a string? For example, a Running Header called "Name" using something like ~Y=Name or a Custom Text Variable called "Country" as ~u=Country. Obviously, those won't work but I don't know if it's because I haven't formatted the expression properly or if it's simply impossible. Anything I've tried so far has failed. 2. Similarly, can a GREP Style target a sequence of Text Variables? Either a simple sequence like Custom+Running Paragraph+Custom (~u~Y~u) or specifically by name like (~u=Prefix~Y=Name~u=Country)? The goal is to set up pages with conditions that these GREP styles target conditionally. Any help is appreciated!
... View more