Navigation
Records in this category
- How to convert LaTeX files into HTML files?
- How to change the bibliography/reference names?
- How to make a list of abbreviations or a glossary in the appendices?
- How to include source code (programs) in LaTeX?
- How to create multiple indexes?
- I prefer to have my own bibliography appearance, e.g., customize my bibliography for a particular publication, how to do that?
- I need to generate both DVI and PDF, what should I write in the source code?
- How to use hyperref and pdflatex?
- Error: Package hyperref Warning:Token not allowed in a PDFDocEncoded string?
- Error message: ! pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored ...
- How can I draw a tree quickly and easily?
- I have to deal with TeX macros... Any online Tex macro programming tutorial?
- Can I install LaTeX/TeX systems on a shared host like BlueHost?
- Why latexrender based on LaTeX does not work in my WordPress/blog?
- Can I install latex2html on a shared host?
- Why LaTeX cannot find my own style/class file, e.g., llncs.cls?
- How to use latex2html to convert my paper to webpages?
- How to enable math on MediaWiki?
- How to resolve this problem: Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert) in MediaWiki when I try to enable math?
Tags
Sticky FAQs
Education » Computer Science » LaTeX
How to enable math on MediaWiki?
To enable math, e.g., LaTeX on wikipages, first make sure that you have texvc.
There are two ways to get texvc. The first one is to compile the source using Ocaml. [recommended. If you find any problem later, you can always re-compile to resolve problems.]
While another possibility is to use a precompiled binary file texvc directly, which can be downloaded from here. To test if texvc worksvia command lines, try: texvc /tmp /tmp '\LaTeX' 'utf-8', and you should see a png file in /tmp. (texvc is not site-available, add it to the /math directly, and set its permissin 755)
Now change the LocalSetting.php to enable math (false by default):$wgUseTeX = true;
Under the wiki directory, create the directories for tex and image files: /images/tmp if not yet created. Also note that /images/math is needed. Note to set the permission of the two folders to 755!
It should work by now. However, I have been seeking a solution for this error:
Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert)
Tags: installation
Related entries:
- How to convert LaTeX files into HTML files?
- How to change the bibliography/reference names?
- How to include source code (programs) in LaTeX?
- I prefer to have my own bibliography appearance, e.g., customize my bibliography for a particular publication, how to do that?
- I need to generate both DVI and PDF, what should I write in the source code?
Last update: 2009-09-29 16:05
Author: Admin
Revision: 1.3
You can comment this FAQ