html4, epub/3 and latex working

* changed token names to remove digits so tex works
docx working