It's good enough if you don't have strict requirements to your documents. Unfortunately I do have them: all the margins, paddings, indents, fonts, styles, thicknesses of the borders, references etc. have to be exactly as written in the standards. Because of that I'm thinking about converting the data to XML and then processing, but it's possible that this task have other solutions.

Yury Katkov, WikiVote

On Tue, Apr 23, 2013 at 12:56 PM, Argbert <argbert@gmx.de> wrote:

Hey Yury,

maybe not exactly what you wanted, but at least a dirty workaround:

If you copy and paste page content of SMW (out of the browser, e.g. Firefox) into word, it adapts the format (without images) quite well headlines, bullet points etc. Using a Word template can finally enable you to quickly generate a facy document.

Still no solution for your users to download a document. :/



Von: Yury Katkov [mailto:katkov.juriy@gmail.com]
Gesendet: Mittwoch, 17. April 2013 16:48
An: SMW dev
eloper list
Betreff: [SMW-devel] SMW to LaTeX, MSWord, PDF?

Hi guys!

We're making a collective document with MediaWiki and want to allow the user to export the whole document in MsWord and PDF formats. The idea is to create XML-representation of the result and then turn it to doc and pdf.

1) I have no idea how to implement the conversion to MSWord. Maybe with XSL and FOP?

2) It would be great to first generate the LaTeX representation and then compile it to the document. Which tools can you recommend to convert XML\JSON to Latex?

Yury Katkov, WikiVote