tex not working

tex not working

by Hiram Bollaert -
Number of replies: 1

seems I'm not the only one having latex problems in moodle 2.4

Latex text made in version 2.3 is still rendering correctly in Chrome, but not in Firefox.

Latex text written in 2.4 is not working (in any of these browsers).

we use Moodle 2.4+ (Build: 20121230)

and debugging the filter gives:
option 5: Show command execution output from the algebraic expression rendered with Tex/Ghostscript.

results in:

Checking executables

Error: latex executable (/usr/bin/latex) is not readable
Error: dvips executable (/usr/bin/dvips) is not readable
Error: convert executable (/usr/bin/convert) is not readable

 obviuous? just reinstall some files? Or...?

Thanks
Hiram

Average of ratings: -
In reply to Hiram Bollaert

Re: tex not working

by Mauno Korpelainen -

Not exactly connected to version of moodle but permissions, settings and use of tex filter.

That debugging message most likely means that your moodle 2.4 site does not have local distribution of latex installed and therefore these executable files are not "readable" - they do not exist at all. So if your moodle was using tex filter on the same site in version 2.3 it was probably using executable mimetex file in folder filter/tex and you should make this mimetex executable file executable (change the permissions).

If debugging is set to ALL you might get some other messages about failure of using tex filter.

There are other Latex renderer options available too like adding MathJax script tags to Site administration > Appearance > Additional HTML ...