Generate HTML, Hermes style, and others document format from a text and his annotations.