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 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?
If you have this problem, some solutions might work for you, but none worked in my case.
1. it may be the case thatlatex.fmt is not identified. One solution proposed is to add latex.fmt to /images/math. To locate this file, try us ethe command locate. If sometimes it is missing, you have to generate your own. Solution: find latex.ltx and regenerate (Google to find the commands). Otherwise, you can also generate it by typing: texconfig init latex. BTW, texconfig can give you a GUI for refresh the configuration etc.
2. you have no permission to write to the image directory. Solution, change the permission of images to 777.
3. someone also resolved this by typing: fmtutil-sys --all (the configuration of tex is problematic)
4. texvc is not working properly? change $wgTexvc = '/usr/bin/texvc' in the LocalSetting.php. Or find its default location used in /includes/math.php, and then change it!
5. the solution in my case: for latex, dvipng, and dvips commands, use the absolute path in the file math/render.ml (convert is specified in the localsettings.php, and normally it is available in the host server under /usr/bin/, so no need to use its absolute path.) Recompile everthing under math/, then I saw the png files correctly rendered.
Tags: latex
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:10
Author: Admin
Revision: 1.2
You can comment this FAQ
Comment of coach bags outlet online:
Thanks for your sharing! great helpful!!!Thank you
why do not you have a look at our website
thank you !! I am pleased to share my joy with you?
love bags.
cheap coach bags
coach bags outlet
coach bags
coach outlet
coach bags outlet store
zocy005 on 2010-7-3
Added at: 2010-07-03 08:41
Comment of Coach bags:
Coach factory outlet Coach factory outlet
Coach bags Coach bags
Coach outlet store Coach outlet store
coach outlet Coach outlet
gucci handbags outlet Gucci handbags outlet
Gucci outlet Gucci outlet
Gucci handbags Gucci outlet
This article is written by zocy003 on 2010-7-03 http://www.coachoutletmalls.com
Added at: 2010-07-03 08:48