Benutzer:Dirk Huenniger/wb2pdf

Aus Wikibooks
Wechseln zu: Navigation, Suche

Summary[Bearbeiten]

mediawiki2latex converts MediaWiki markup to LaTeX and, via LaTeX, to PDF. It can be used to export pages from any project running MediaWiki, such as Wikipedia. Its is also possible to generate epub and odt output files.

Installation on Ubuntu[Bearbeiten]

sudo apt-get install mediawiki2latex
mediawiki2latex

Installation on Debian[Bearbeiten]

mediawiki2latex is included in the Debian Stretch distribution and works out of the box. The version of mediawiki2latex included in the Jessie Distribution is outdated an can not be used in any way. Any attempts to update mediawiki2latex in Jessie have failed due to dependency problems and resulted in unproductive work and broken Debian installations. So please run an up to date version of Ubuntu in a virtual machine on Jessie.


Installation on other OS[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 not add much overhead. The large size of the program is due to the many dependencies for 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. The .tar.gz archive of the source code is also available on sourceforge.

User Manual[Bearbeiten]

see the User Manual

Command Line Version[Bearbeiten]

A command line version is currently available as part of the Stretch debian distribution, as well as the current ubuntu distribution.

LaTeX intermediate Code[Bearbeiten]

On Linux you can use the -c command line option with an absolute pathname.

Media[Bearbeiten]

Talk[Bearbeiten]

File:Wb2pdfTalk.ogv

Slides[Bearbeiten]

Wb2pdfTalk.pdf

Poster[Bearbeiten]

File:Wb2pdfPoster.png

In Action[Bearbeiten]

To see it in action look here: Datei:Wb2latexCompilingWikibook2PDF.ogg

Developers[Bearbeiten]

The follwing Link Benutzer:Dirk Huenniger/wb2pdf/details explains some of the inner workings of the software.

Quality and Statistics[Bearbeiten]

A test run in October 2014 processing 4369 featured articles of the English Wikipedia did produce a PDF file in each case. In particular these were all featured articles we were able to find at the beginning of the test.