Wb2pdf converts MediaWiki markup to LaTeX and PDF. So it provides and export from MediaWiki to LaTeX. It works with any project running MediaWiki, especially you can use it to convert Wikipedia to LaTeX format.
We set up a small where you can try out the software without needing to install it.
Installation on Windows[Bearbeiten]
- Get wb2pdf https://sourceforge.net/projects/wb2pdf/files/ Download "MediaWikitoLaTeX.zip" in the latest folder
- start "MediaWiki to LaTeX.exe"
Installation on Ubuntu[Bearbeiten]
Installation on Linux other than Ubuntu[Bearbeiten]
I recommend to use virtualbox or an other kind of virtual machine and run Ubuntu in there. The program itself is already larger than Ubuntu, so installing Ubuntu does actually not cause much overhead. The large size of the program results from many dependencies to latex packages and fonts, and the way they are packaged. In total a bit more than 1 GByte of packages has to be downloaded during the installation on Ubuntu. There is also an (possibly outdated) installation instruction for Fedora see . The .tar.gz archive of the source code is also available on sourceforge.
see Users Manual
LaTeX intermediate Code[Bearbeiten]
On Linux you can use the -c command line option with an absolute pathname. On Windows currently the only way is to pause the LaTeX compiler with CTRL-C and look for the source in the temporary directory.
Support for private Wikis (that is Wikis that don't belong to the Wikimedia foundation) is currently available in version 6.4 for Windows. A user reported issues with images on a private wiki. Those could be resolved by suppling urls of the form
Command Line Version in Debian[Bearbeiten]
A command line version is currently available as part of the jessi debian distribution.
To see it in action look here: Datei:Wb2latexCompilingWikibook2PDF.ogg
The follwing Link Benutzer:Dirk Huenniger/wb2pdf/details explains some of the inner workings of the software.
Independent Installation on MikTeX[Bearbeiten]
In order to compile the code on you own installation of Miktex. You have to install the font megafont.ttf manually, which is included in the release. Furthermore you have to install the cjk-fonts and cjkpunct packages with the mpm.exe package manager. For Installing this font it is helpful to read this tutorial . If you don't understand the tutorial you can look at other tutorials describing the installation of cyberbit.ttf and replace cyberbit.ttf with megafont.ttf at the appropriate places. Particularly you will not need to install cyberbit.ttf in any way.
Quality and Statistics[Bearbeiten]
We did a test run on 91 randomly chosen featured articles of the english wikipedia.
|no result at all||8|
A more recent test on 500 pages resulted in only 5 pages with no result at all.
The project was largely written by Dirk Hünniger. He is currently unavailable. The project is currently maintained by Pierre Neidhardt (ambrevar). We prefer not to give his Email here and ask you to refer to the search engine of your choice in order to find his contact details.