Porting sigod PR for Issue #27.
Better intro to templates.
Generating HTML, PDF and EPUB files anew.