Jump to content

Recommended Posts

Posted

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 .

Posted

Sorry, but I'm not sure about those technologies. Are they PHP libraries? See our PHP info page for the libraries we have installed. If they're not PHP libraries, are they Apache mods? Or are they command-line programs?

Posted

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.

Posted
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.

Posted
We have gs and convert, but not latex and dvips.

Aha, thanks. That's not surprising, I suppose, since I can't imagine many people need to run latex on the server!

  • 1 year later...
Posted

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...

Posted
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.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...