TeX reader: improved parsing inside \text{}.

Accents are now properly handled.
Added a test, src/text.tex.
Removed obsolete .xhtml writer tests.