LATEX RENDER ERROR

Submitted by njpengyong on Sun, 04/05/2020 - 06:56

Can't get Latex or mathjax work in moodle !

1. Because latex not working in moodle , after some google search , I add

scripts.push('https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML');

in createScriptTags in ./mod/hvp/library/js/h5p.js , It seems everything is ok now .

2. But when I create several slides in Course Presentation , I found the first two slides render latex ok , but from the third slide on ,

everything goes wrong .

3. Platform : ubuntu18.04.1 LTS moodle3.8.2+(Build:20200402)

4 Desktop

5 Browser: Chrome

6 H5P plugin version : 1.20.2 (2020020500)

7 H5P content type: Course Presentation version : latest

It seems h5p just render the first two slides in moodle , I'm a math teacher , anyone can help me please !

H5P file:
Binary Data math-test-2-3.h5p
Attachments:
Image icon wrong.png
Image icon correct.png
Content types: