Why not to go the other way round in this case? Typeset your thesis in semantically correct, searchable, beautiful HTML5, and then just add some specific CSS to get the hard print copy?
[0] http://www.w3schools.com/cssref/pr_print_pagebi.asp [1] http://www.princexml.com/