[Mediawiki-l] Re: Printing the contents of an entire mediawiki

Brion Vibber brion at pobox.com
Sat Jan 22 05:11:56 UTC 2005


Stephan Walter wrote:
> I have written a python script to convert Mediawiki articles to LaTeX,
> see http://wiki.auf-trag.de/
>
> It's not a good idea. This should be done with Wiki -> XML -> PDF, once
> we have a fully working wiki->XML parser. The problem is that have to
> make it work with hundreds of mediawiki's specialities like categories
> etc...

Well, the current parser does produce XML, in the form of XHTML. ;)

It's not guaranteed to be valid however (use tidy to increase the
confidence of this), and additional stuff like category links you'll
need to transform into the appropriate format just as the web-UI skin does.

If anyone knows of a _good_, preferably open-source (X)HTML+CSS-to-PDF
tool I'd love to hear about it, both relating to MediaWiki and other
projects. In my day job I'm doing some stuff with XSL Formatting Objects
and the Apache FOP renderer which is functional (within the limits of
what FOP has implemented -- it's missing float support!) but is kind of
ugly to work with.

-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20050121/e5415027/attachment.pgp 


More information about the MediaWiki-l mailing list