H5P, WordPress and LaTeX

Submitted by adren13 on Sun, 08/29/2021 - 22:20

Hi there,

Just installed the H5P plugin on my WordPress site and could create a first Multiple Answer Quiz ...

But LaTeX doesn't work so far.

I found in the on line documentation a file named h5p-math-display-1.0.7.h5p and tried to install it through the WP Admin, but it failed with the following error message.

Maybe you can help me to understand what went wrong ? I suspect this fil to be an old version ... but don't know where to find the actual one (if any).

Thank you for your help,
Adren13

WordPress version 5.8
OceanWP version 3.0.3
H5P plugin version 1.15.3

Content types:

otacke

Mon, 08/30/2021 - 16:01

Permalink

Hi!This is a library, not

Hi!

This is a library, not some H5P content. That's why you have to upload it on the H5P library settings page, not via the H5P Hub.

Best,
Oliver

adren13

Mon, 08/30/2021 - 16:17

Permalink

H5P, WordPress and LaTeX

Thank you for your message.

Meantime, I had realized this point. And eventually found the right page somewhere on the web.

https://my-wordpress-site/wp-admin/admin.php?page=h5p_libraries

Question : this page does _not_ appear in the menus ! Why ?

Anyway, I loaded the library and ... nothing happened. LaTeX still remains NOT interpreted :

https://prnt.sc/1qt49z2

Does anyone know what is the exact procdure to let H5P recognize LaTeX code in WordPress ? Thank you.

otacke

Mon, 08/30/2021 - 18:10

Permalink

Hi again!If you don't see

Hi again!

If you don't see that menu, then you're most likely not having an admin role - and then I am not sure what you mean with you found that page somewhere on the web and how you say think to have "loaded" the library.

The exact procedure is described at https://h5p.org/mathematical-expressions and is identical for all H5P plugins.

Best,

Oliver

adren13

Thu, 09/02/2021 - 08:24

Permalink

Oliver, thank you very much

Oliver, thank you very much for your patience.

I indeed have admin role, but I was confused by the translation of some items into french. Namely, the word "library" has been translated into "activités" and I was looking for something like "modules" or "bibliothèques" ...

Anyway, I am now in and everything looks good (including LaTeX code interpretation).

I have a few more questions, but I will ask in a separate post, for clarity sake.

H5P looks just amazing !!

Adren.

otacke

Thu, 09/02/2021 - 12:58

Permalink

Translations can indeed be

Translations can indeed be tricky at times. Glad you figured it out!

liuhengxu

Tue, 12/24/2024 - 03:35

Permalink

The MathType buttons are not found in the WYSIWYG text editor

Hi!

I have set up h5p-math-display-1.0.32.h5p. It can display /(/frac{1}{2}/) correctly, but the MathType buttons are not found in the WYSIWYG text editor. Could you please help me?

otacke

Thu, 12/26/2024 - 14:43

Permalink

The free version of H5P does

The free version of H5P does not ship with MathType buttons.