A colleague is writing a proposal collaboratively, in which the same proposal will be jointly submitted to two different funding agencies in different countries. There is a 70% overlap in content, but precise formatting in even the common portions is different (fonts, columns, etc) and there is a conditional inclusion of certain sections.
So, this cannot be done simply by using conditional \input and \include commands, as the markup inside the files needs to be treated differently. Also, just writing two independent documents is not the right solution, since the overlap is significant and you will always run into consistency issues. beamer has a package called beameraudience that allows you to fine tune the output based on change of a single switch. Can this package (or something more appropriate for article class documents) be used for the above application?
They are not looking to create two different PDF documents in a single compilation (though that would be ideal, though inadvisable, as \write18 is potentially dangerous) but can things be conditionally included/formatted based on the value of a switch?
