I am experiencing some difficulties getting the tex filter to run. I have tried reading through some of the similar posts here but cannot see anything abvious to me. I have Moodle 1.9 running, hosted on a shared linux server. I ran the debug program with the following results.
1. See the cache_filters database entry for this expression (if any).
DB cache_filters entry for f(x)=\\Bigint_{-\\infty}^x~e^{-t^2}dt not found
3. Show a graphic image of the algebraic expression rendered with mimetex.
sh: /var/www/html/filter/tex/mimetex.linux: Permission denied
The shell command
"/var/www/html/filter/tex/mimetex.linux" -e "/var/www/moodledata/filter/tex/d1e56126337cd6e29b16fe759232ce90.gif" -- '\Large f(x)=\\Bigint_{-\\infty}^x~e^{-t^2}dt'
returned status = 126
File size of mimetex executable /var/www/html/filter/tex/mimetex.linux is 491043
The file permissions are: 100644
The md5 checksum of the file is c294ab11905323bb5cb0f451241bedc1
Image not found!
No text output available
The shell command
"/var/www/html/filter/tex/mimetex.linux" -e "/var/www/moodledata/filter/tex/d1e56126337cd6e29b16fe759232ce90.gif" -- '\Large f(x)=\\Bigint_{-\\infty}^x~e^{-t^2}dt'
returned status = 126
File size of mimetex executable /var/www/html/filter/tex/mimetex.linux is 491043
The file permissions are: 100644
The md5 checksum of the file is c294ab11905323bb5cb0f451241bedc1
Image not found!
No text output available
4. Show a graphic image of the algebraic expression rendered with Tex/Ghostscript
A 'broken link' image is displayed - rectangle(s) with red cross in the middle
5. Show command execution output from the algebraic expression rendered with Tex/Ghostscript.
Checking executables
Error: latex executable (/usr/local/bin) is not readableError: dvips executable (/usr/local/bin) is not readable
convert executable (/usr/bin/convert) is readable
base filename for expression is 'd1e56126337cd6e29b16fe759232ce90'
Processing TeX expression:
f(x)=\Bigint_{-\infty}^x~e^{-t^2}dt
$ /usr/local/bin --interaction=nonstopmode /var/www/moodledata/temp/latex/d1e56126337cd6e29b16fe759232ce90.tex OUTPUT: RETURN CODE: 126
$ /usr/local/bin -E /var/www/moodledata/temp/latex/d1e56126337cd6e29b16fe759232ce90.dvi -o /var/www/moodledata/temp/latex/d1e56126337cd6e29b16fe759232ce90.ps OUTPUT: RETURN CODE: 126
$ /usr/bin/convert -density 240 -trim /var/www/moodledata/temp/latex/d1e56126337cd6e29b16fe759232ce90.ps /var/www/moodledata/temp/latex/d1e56126337cd6e29b16fe759232ce90.gif OUTPUT: RETURN CODE: 1
If the following image displays correctly, set your Administration->Server->HTTP setting for slasharguments to file.php/1/pic.jpg:
Otherwise set it to file.php?file=/1/pic.jpg It should display correctly as
If neither equation image displays correctly, please seek further help at moodle.org at the Mathematics Tools Forum
No text output available