Hi list,
I made a python script to convert wikipedia articles to LaTeX or PDF.
http://swalter.homelinux.org/wiki2pdf/
It runs on my own box, so you may not be able to use it 24/7. But you can get the source from:
http://cowww.epfl.ch/~swalter/wiki2pdf/source.php
(Requires: Apache with PHP, Python, LaTeX with ucs [Unicode] package)
Images and tables are not yet supported, but I plan to implement them soon. Theoretically all languages with latin alphabet should work, but I have only tested de,en,fr,it.
Please test the script and post your comments/errors/criticism.
Regards, Stephan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Le Sunday 07 March 2004 18:28, Stephan Walter a écrit :
Hi list,
I made a python script to convert wikipedia articles to LaTeX or PDF.
I doesn't work for the French article "Cinéma" : http://fr.wikipedia.org/wiki/Cin%C3%A9ma
Yann - -- http://www.non-violence.org/ | Site collaboratif sur la non-violence http://www.forget-me.net/ | Alternatives sur le Net http://fr.wikipedia.org/ | Encyclopédie libre http://www.forget-me.net/pro/ | Formations et services Linux
Hi Yann,
Yann Forget wrote:
I doesn't work for the French article "Cinéma" : http://fr.wikipedia.org/wiki/Cin%C3%A9ma
The problem are accent characters within a link, in this case [[La guerre des étoiles]]. I'll try to fix it.
Thanks for your comment Stephan
The script is now permanently available at:
http://lart.info/~stw/wiki2pdf/
Recent improvements: * uses Unicode (UTF-8) - fixes bug reported by Yann Forget * supports HTML-entities a la &xxx;
Regards, Stephan
wikitech-l@lists.wikimedia.org