Jump to content

Texvc for Latex in MediaWiki


Mark Wilding

Recommended Posts

Hi,

I'm trying to set up the Latex functionality for my MediaWiki, so that I can use Latex math markup on my pages.

This is built into MediaWiki and the MediaWiki installation comes with a directory called "math" containing the source files for a tool called "texvc". texvc is run to produce an image for the page from the Latex input.

 

I need to build these files, so that I have the texvc tool, but can't do this without shell access. If Ocaml is installed (which it may not be), this should just be a question of going to the math directory and running make (I've tried this on my local box and it works fine).

Is there any way I can do this or get it done for me?

 

Cheers,

Mark

 

UPDATE:

I've tried using the binary version of texvc, which seems to run. However, it now complains that the png conversion failed. Do we have latex, dvips, gs, and convert installed?

This is what happens when I try parsing Tex: http://markwilding.heliohost.org/mwiki/ind...?title=Tex_Test .

Link to comment
Share on other sites

Well then if the system doesn't work we probably don't have them, sorry :(

If you can give me the command-line command to check for the existence of each of the tools you listed, then I'll check for you.

Link to comment
Share on other sites

If you can give me the command-line command to check for the existence of each of the tools you listed, then I'll check for you.

They should just be those 4 commands: "latex", "gs", "dvips" and "convert". If they're installed they should be on the path, I believe. You could also try "locate latex", etc.

Cheers.

Link to comment
Share on other sites

  • 1 year later...
Hello, is it possible to install latex and dvips on this server ? :unsure:

Indeed I need it to make my website works fine...

 

If not, is mimetex installed ?

 

Thanks for all answers...

 

Start a New Topic with these same questions and I'll escalate it for you.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...