From HandWiki
Jump to: navigation, search
Table of contents

Conversion to LaTeX

Similar to OverLeaf, HandWiki can be used for real-time collaborative editing of articles. The main difference with OverLeaf is that HandWiki uses Wiki markup or Help:Wikitext like what can be found in Wikipedia. Therefore, additional steps need to be taken for conversion of HandWiki articles to LaTeX.

HandWiki articles can be converted to LaTeX using the menu LaTeX Export located at the top of the screen (its exact location depends on the skin). To see this option, one should login to HandWiki as a user. This creates a LaTeX file for download (with the extension .tex). Here is an example of a "well-behaved" wiki article that can be converted to LaTeX without any problems.

Tips for LaTeX conversion

Here are a few tips that can help the conversion of HandWiki articles to the LaTeX style:

  • For equations, use double dollar signs (as for LaTeX);
  • Currently one level of bullet and numerated lists can be converted;
  • Always use BibTeX files for citations. See Citation manager;
  • If possible, save images as PDF, EPS or SVG;
  • Minimize any wiki boxes and decorations during article creation
  • Complex tables with many styles are not supported.

The conversion to LaTeX requires the following replacements:

  • The mathematical equations enclosed between the "math" tags will be converted to LaTeX equation statements;
  • The section tags (equal signs) will be replaced with the LaTeX "section" or "subsection" etc.;
  • The tag "refbib" that creates wiki citations using "key" should be replaced by the LaTeX "cite{key}" tag;
  • The File statement enclosed inside the squire brackets tags should be replaced with the standard LaTeX includegraphics command.

If Actions - LaTeX Export in the top-right menu does not work, all such replacements can typically be done automatically by using the "search and replace" function which is available in any text editor. If you need to make many replacements, use the MediaWiki2Latex online tool or Pandoc tool. Note that automatic replacement tools tend to be not very accurate.

Grammarly Check DataMelt statistical framewwork for data scientists HandWiki ads