add html and pdf version