A very useful feature of AbiWord is its export to LATEX. It does quite a good job in generating a representation in LATEX.