I am using moodle 2.0.3

Mathtype 5.2 (Translator TeX-Latex...)

Maximum Maths expressions not rendering properly in HTML Editor

But Fine at 'OPTIONS' place.

I have attached Screenshot

Pl. assist

TIA

Ravi

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.

Hi Everybody,

I am using moodle 2.0.3

Mathtype 5.2 (Translator TeX-Latex...)

Maximum Maths expressions not rendering properly in HTML Editor

But Fine at 'OPTIONS' place.

I have attached Screenshot

Pl. assist

TIA

Ravi

I am using moodle 2.0.3

Mathtype 5.2 (Translator TeX-Latex...)

Maximum Maths expressions not rendering properly in HTML Editor

But Fine at 'OPTIONS' place.

I have attached Screenshot

Pl. assist

TIA

Ravi

Ravi, can you show us the complete HTML of that question?

Yes Bob,

thanks for response.

Ravi

thanks for response.

Ravi

Hmm. Looks pretty straightforward, but something's causing some unrecognizable characters in there. As you know (from previous Forum discussions), a dedicated "Moodle: TeX filter" translator was introduced in MathType 6.7, so results may (and in many cases will) be different from what you'll get when using the LaTeX translator in MathType 5.2.

Here's what I get with MathType 6.7:

Very little difference from yours, and certainly none in the section of the expression that's causing the problems.

Hello Bob,

Thanks for reply.

Code rendering properly in 'OPTION' area

But not in Moodle HTML editor

That mean

It may be problem of EDITOR

What do you think?

Ravi

Thanks for reply.

Code rendering properly in 'OPTION' area

But not in Moodle HTML editor

That mean

It may be problem of EDITOR

What do you think?

Ravi

I believe the main problem there are (double) spaces in latex expressions.

Most latex renderers do ignore extra spaces but in some distributions of latex extra spaces are rendered as unknown characters with [ ? ]

Editor mode on the other hand replaces double spaces with single spaces - if you use copy and paste in text mode double spaces are not replaced with single spaces...

You could as well write that expession as

\frac{{-b\pm\sqrt{{b^2}-4ac}}}{{2a}}

without any spaces to get

$$\frac{{-b\pm\sqrt{{b^2}-4ac}}}{{2a}}$$

What a judgement !!!

Nice ! Thanks

"Option area" is pure HTML which is ignore spaces

That is why It is rendering properly.

Am i right ?

Best Regards

Ravi

Nice ! Thanks

"Option area" is pure HTML which is ignore spaces

That is why It is rendering properly.

Am i right ?

Best Regards

Ravi