[texhax] writing about 2 parallel developments of a product with the same base code

Susan Dittmar S.Dittmar at eureca.de
Tue Jan 30 13:08:55 CET 2007

Quoting Vaida Bogdan (vaida.bogdan at gmail.com):
> Hi, can someone tell me how can I write 2 documents that have 90% of
> the content the same, the rest 10% modified, some sections added, some
> modified and some deleted?

Alternatively you could use the package comment.sty, create two comments,
and enclose the version dependent stuff in the appropriate comment
environments. Then you can switch between the two versions just by
switching between include and exclude in the comment definition
(see documentation for comment.sty).

At least, this is what I do in such a case right now. I admit not having
played too much with this package yet, so I cannot tell how well it works.

More information about the texhax mailing list