Latex not work in H5P

Latex not work in H5P

Chính Trần Anh發表於
Number of replies: 7

Hi!

I have installed the H5P plugin. When I created a quiz test, the Latex code is not work. Here is an example:


How can I fix it? Thanks you all!

評比平均分數: -
In reply to Chính Trần Anh

Re: Latex not work in H5P

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片
In reply to Joseph Rézeau

Trả lời: Re: Latex not work in H5P

Chính Trần Anh發表於
I found this page: https://h5p.org/mathematical-expressions
Could you please tell me: where should I upload this file: h5p-math-display-1.0.7.h5p
I found the library in H5P in my Host. But i didn't see any file .h5p is this library.
What should I do now?
In reply to Chính Trần Anh

Re: Trả lời: Re: Latex not work in H5P

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片

It's all explained on that page https://h5p.org/mathematical-expressions

You need to have an admin role on your Moodle site to install the h5p-math-display-1.0.7.h5p library.

I've done it and it works fine, see attached.

評比平均分數:Useful (1)
In reply to Joseph Rézeau

Re: Trả lời: Re: Latex not work in H5P

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片

Sorry, I didn't insert the correct formula in my previous example. Here it is:

$$x^2+2x+3$$

評比平均分數:Useful (1)
In reply to Joseph Rézeau

Trả lời: Re: Trả lời: Re: Latex not work in H5P

Chính Trần Anh發表於
Could you please tell me step by step: how to install the h5p-math-display-1.0.7.h5p library?
My Moodle version is 3.8. And something seem not true: I can not Upload H5P content types. This feature is not work!

In reply to Chính Trần Anh

Re: Trả lời: Re: Trả lời: Re: Latex not work in H5P

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片
Hi,
To start with, Moodle 3.8 is a fairly old version now. Current version is 3.11.
Starting with Moodle 3.9, Moodle features a core H5P activity (blue icon) and a content bank. I'm only using that core activity, so cannot help you with your older version. Sorry, maybe others will be able to help.