jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
99 stars 85 forks source link

Problem rendering latex equations in the description tab #80

Closed fbolgar closed 4 years ago

fbolgar commented 5 years ago

Hello,

I have an issue which is similar to this one: https://github.com/jcrodriguez-dis/moodle-mod_vpl/issues/63 Indeed, I use mathjax for equation rendering in the description of the activity, and when I open the editing tool, the description tab is shown properly, with equations rendered nicely. However, as soon as I click on "run", "evaluate" or other, the mathjax filter goes off in the description tab, and only the tex notation filter remains.

It would not be a big problem, if the tex notation filter was actually working properly in the description tab. However, this is not the case, there is a kind of linestroke through all equations, which appears only in the description tab: if I disable mathjax at all, the equations show properly in the description page, but not in the description tab.

The problem is more clear with images: First picture: just when opening the "edit" tab, everything works fine with_mathjax

Second picture: after clicking on the "run" button, the mathjax filter goes off, and the tex notation filter does not work well. without_mathjax

Third picture: I tried disabling the mathjax filter, then the equations in the description page show properly without linestroke (but still not in the description page !) description_page_without_mathjax

Fourth picture: In case, here is a picture of the filters I use. filters

Last thing to say: the images themselves are properly shown by the filter (as I can see by clicking on "show image"), so the linestroke must somehow be added afterwards.

jcrodriguez-dis commented 5 years ago

Hi, This issue will be solved in the next bugfix release of VPL.

Best regards, Juan Carlos.

fbolgar commented 5 years ago

Hi,

Thank you very much for your reply, and for the work you are doing with VPL: its an amazing tool !

Best regards,

jcrodriguez-dis commented 4 years ago

Resolved in VPL 3.3.5 just released