Toggle Text Highlighting?
So I have a peculiar technical need, and I can't figure out an elegant solution. I feel as if I'm overlooking some simple, integral ID function.
I use a layout method in which Body, BodyA, BodyB and BodyC are identical clones in the InDesign layout, and for print (PDF) export. However, these styles are processed differently for EPUB export, mostly with spacing variations. It's essential that I use each variant in the right place/s, and be able to know at a glance what styles are applied.
The only method for managing this I've come up with is to define three color swatches (HiliteA, HiliteB, HiliteC) and assign them as an outline stroke to the three variant styles. When each is defined (with a faint tint of red, blue, green etc.), the related paragraphs have that halo color. Easy-peasy to visually track and validate my layout. At print time, I set each swatch to None or Paper/White, so the halo/outline disappears for print/PDF export.
It is fairly tedious to do both swaps, the more so to set a precise tint on each that's distinctive but doesn't overwhelm the layout.
What I am seeking is some way to toggle this highlighting, with some single and preferably integral ID feature — something vaguely like having the type on one layer and the highlight (which could be anything, including shading) on another, so switching that layer on and off would show/hide the highlighting. (No, that doesn't work, as far as I know.)
Yes, yes, a script could toggle the values of those three color swatches, but that (starting with all the linked swatches) seems clumsy, I'm not really a script guy and, as I said, I feel like I'm missing some obvious technical solution here.
Thoughts?
