I have modified the style sheets to convert document.tex to document.wikiText. I have also edited style sheets for splitting files at math tags and including the constraint comments in the generated files.