Note to self: xml to latexΒΆ

Tags: phd

Found on xmlhack. TeXML, an xml vocabulary + conversion program that creates TeX (or LaTeX). This intermediary xml format is handier than creating the LaTeX directly by hand, as the convertor handles special characters correctly.

The chapters of my PhD thesis are all in word (as that's the only thing my professor can handle). I'm doing the editing in openoffice on my (linux) end. Somewhere in the next weeks I'll try to automate things a bit:

  • Automatically convert word to openoffice using openoffice's api.
  • Extract the pictures and the xml-formatted text form openoffice's file format (which is a zip file).
  • Convert the xml text to latex using above set of tools.

That should give me a nicely formatted LaTeX dissertation without the word-induced formatting headaches. Perferrably I'd be able to go from latex back to word, allowing myself to edit plain latex while generating word documents for my professor :-)

We'll see! logo

About me

My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.

Weblog feeds

Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):