Extension:Wiki2LaTeX/Documentation

Wiki2LaTeX is a wiki-to-LaTeX converter. There are two major aspects to conversion: the wiki-to-LaTeX conversion itself, and the use of templates, which specify the formatting of the LaTeX document.

A large number of wiki markups convert easily to LaTeX, for example if the wiki document contains bold, then this converts to \textbf{bold}, correctly producing bold in the final LaTeX document. However, more complicated elements like tables, images and mathematics require more care in how the wiki markup is entered so that it will be converted to LaTeX in a way that produces nice-looking results. A Wiki to LaTeX Conversion Summary is below.

LaTeX templates are the way to specify the preamble of the LaTeX document. Wiki2LaTeX has a default "Magic" template, and additional custom templates may be created on the wiki.

Documentation
The formal documentation for Wiki2LaTeX is quite minimal. Some of the existing documentation pages are:


 * Preamble
 * Tables.
 * Extensions to Mediawiki
 * Extending Wiki2LaTeX
 * Contributions
 * Hooks

Wiki to LaTeX Conversion Summary
Conversions are performed by w2lParser.php. Please refer to the source code for further details.

Refer to Mediawiki help for a good list of wiki markups.

LaTeX-Specific Tags
Wiki2LaTeX adds wiki tags which are intended for LaTeX-export specifically.

An example of using labels, in wiki is:

== Introduction intro == Section intro is the introduction, found on page intro.

Wiki Markup Which Does Not Convert
Wiki2LaTeX does not convert some wiki markup, or does not convert the same way that MediaWiki does.