Hugo Vincent wrote:
Hi everyone,
I recently set up a MediaWiki (http://server.bluewatersys.com/w90n740/) and I need to extra the content from it and convert it into LaTeX syntax for printed documentation. I have googled for a suitable OSS solution but nothing was apparent.
I would prefer a script written in Python, but any recommendations would be very welcome.
Do you know of anything suitable?
I don't know an existing solution, *but* you could help with the wiki2xml parser (bison format) which was started by Timwi.
It should be (relatively) easy to convert from XML to LaTeX within the MediaWiki software. I have already started a demo XML-to-XHTML parser (in CVS HEAD). The output could be adjusted to generate LaTeX, PDF, RTF, or even wiki code (wikitext beautifier!).
That would be a long-term investment, so to speak, but I'm certain it will pay off.
Magnus