regenerate HTML and TXT versions