Latex Problems With Generated Image

Latex Problems With Generated Image

by David Binney -
Number of replies: 4
Hey Guys,

It seems i am having some trouble with the generated output from the latex editor. Basically, i have latex setup with the filter and the binaries but what seems to be happening is that when you add a latex block it will display the generated image however this image is not the equation, just the configuraiton information with a partial equation at the end. I have no idea what is causing this so would love some help?



Cheers Dave
Attachment 02c84304fc915c8941e3a5e070dd6fa1.gif
Average of ratings: -
In reply to David Binney

Re: Latex Problems With Generated Image

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
The preamble option in the filter settings has probably got messed up. Try resetting the settings and start again.
In reply to Howard Miller

Re: Latex Problems With Generated Image

by David Binney -
Hey Howard,

Thanks for the reply but what am i setting the preamble to there is no reset setting?

the current config is this :

usepackage[latin1]{inputenc}
usepackage{amsmath}
usepackage{amsfonts}
RequirePackage{amsmath,amssymb,latexsym}

In reply to David Binney

Re: Latex Problems With Generated Image

by Mauno Korpelainen -

There was a "Reset to defaults" button long time ago - maybe in moodle 1.6...

Try to change those rows to

 \usepackage[latin1]{inputenc}
 \usepackage{amsmath}
 \usepackage{amsfonts}
 \RequirePackage{amsmath,amssymb,latexsym}

In reply to Mauno Korpelainen

Re: Latex Problems With Generated Image

by David Binney -
i just tried that in the preamble but still no good. I also have to be very persistent with even getting the \ into tinymce as well as it seems to deleted it? This is the sample code i am trying:

\sqrt[4]{4}