Just an untested thought … as long the variable text doesn't involve any fancy formatting, I could imagine using styles for variantA, variantB and so on and setting the unwanted styles to "hidden text" before printing. (pretty well what I do with conditional text in my usual environment)
|