I'd like to produce two slightly different versions of a document. One will include confidential information, the other will be slightly redacted.
Is it possible to use an environment variable and the
\if command to achieve this? I will compile the document twice, but with the environment variable set and not-set depending on which version I am trying to produce?