In my document I have defined a few booleans (like
etu in order to hide some parts of the document for the students, or
mono which activates the monochrome option of xcolor).
My aim is now to provide different versions of the pdf, with just one typesetting, depending on the booleans
mono. Unfortunately I don't know how I can do this.