DragMath is not working in Moodle.org forum

DragMath is not working in Moodle.org forum

by Shin Okada -
Number of replies: 5

I assume moodle.org is running Moodle2.0.

Where I am writing this forum, I found DragMath which is square root alpha.

Now when I click it, it asks to download the latest Java plugin.

I am using Ubuntu 10.10 with Firefox. I have Java plugin installed, but it does not display Dragmaths.

Am I missing anything here or it just does not work??

Average of ratings: -
In reply to Shin Okada

Одговор: DragMath is not working in Moodle.org forum

by Dragan Ristic -

I have the same problem. For example, x/y Drag Math represent like frac{x}{y}

In reply to Dragan Ristic

Re: Одговор: DragMath is not working in Moodle.org forum

by Mauno Korpelainen -

Dragan,

it sounds like a different issue.

Do you mean that your dragmath HERE (moodle.org forums) renders x/y as frac{x}{y} instead of $$ \frac{x}{y} $$ ? (Did you change Export format of dragmath from Options menu in that plugin?)

Or do you mean that you see in editor tex syntax \frac{x}{y} between double dollars? (It's normal...)

Or do you mean that your site does not render maths with Tex filter syntax? ( Not a dragmath issue...)

Or is your Dragmath plugin somehow "partly functional"? (Before browser can run Java applets you must have the Java Runtime Environment (JRE) properly installed and enabled. Starting in Firefox 3.6, you also need the new Java plugin included in Java 6 Update 15 and above)

In reply to Mauno Korpelainen

Одговор: Re: Одговор: DragMath is not working in Moodle.org forum

by Dragan Ristic -

Hi Mauno,

I see frac{x}{y} in my editor (TinyMCE) and on the page of my site (when I save it). TeX notation is enable. I have Java 6, update 23.

In reply to Dragan Ristic

Re: Одговор: Re: Одговор: DragMath is not working in Moodle.org forum

by Mauno Korpelainen -

You need to have a functional renderer for TeX (LaTeX) notations - usually people need to check permissions of executable mimetex.xxx file (depending on environment - usually mimetex.xxx needs to have 755 permission) in folder filter/tex to see at least mimetex syntax. To see some more advanced LaTeX you can for example install a full distribution of Latex - for example TexLive - together with ImageMagick or GhostScript and set correct paths for these executable binaries in administration screen of Tex filter. Or you can install for example MathJax and let it render mathematical notations with theme files... see some other posts from these forums.

Filters are not used inside editor content area so seeing only LaTeX syntax between tokens in editor is normal behaviour. It would be possible to create a simple plugin to tinymce to render Tex filter syntax as images (using tex filter files or some other renderer) in editor content area and again change those image tags to tex filter syntax while saving content but that option is not available in core moodle.