restructured gentable/tok.h etc. to generate doc.