I wrote some directives to customize documents outputs, but I want to render
them in different ways in dependance of some internal variables (but using the
same formater [html]), can I reach that?
I do not want use external variables, I think it can break with threading (I can
use threading.local probably but it is not nice and it is finality).