Thanks Brenden! The {%ClassName%}.PrintFriendly is great for handling multiple doctypes with one template, but I'm after something else.
The template is for a single doctype, and the current repeater and transformation work OK for those documents. What I was attempting to do was toggle visibility of a zone based on a field in the document. The field indicates if the article is public or for subscribers only.
Instead of a macro, it looks like the easier way will be a separate repeater with an if-compare that calls one transformation for public documents and another for subscriber-only documents.