I've been setting up my Moodle installation the past few days and have just one more hurdle until everything is working smoothly. My LaTeX files aren't displaying right. My server has latex, dvips and convert installed and on the configuration section, all appear with a check mark beside them. So, that doesn't seem to be the problem. I ran the debug mode and it told me:
latex executable (/usr/bin/latex) is readable
dvips executable (/usr/bin/dvips) is readable
convert executable (/usr/bin/convert) is readable
base filename for expression is '9608176195573c30c6beb3cf078fdf66'
Processing TeX expression:
$ /usr/bin/latex --interaction=nonstopmode /home/londonma/moodledata/temp/latex/9608176195573c30c6beb3cf078fdf66.tex OUTPUT: This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) I can't find the format file `latex.fmt'! RETURN CODE: 1
$ /usr/bin/dvips -E /home/londonma/moodledata/temp/latex/9608176195573c30c6beb3cf078fdf66.dvi -o /home/londonma/moodledata/temp/latex/9608176195573c30c6beb3cf078fdf66.ps OUTPUT: RETURN CODE: 1
$ /usr/bin/convert -density 240 -trim /home/londonma/moodledata/temp/latex/9608176195573c30c6beb3cf078fdf66.ps /home/londonma/moodledata/temp/latex/9608176195573c30c6beb3cf078fdf66.gif OUTPUT: RETURN CODE: 1
I'm guessing that the "I can't find the format file 'latex.fmt'" is the problem. But is there any way I can fix this? For what it's worth, I've been searching Google and the Moodle forums for a while. And I can only find two other posts on Moodle about latex.fmt and none seems relevant. And nothing helpful turned up in Google.