LaTeX double primes are not rendered in "Drag the Words"
Submitted by stefanriegel on Fri, 05/07/2021 - 14:38
Forums:
In content type Drag the Words, a LaTeX expression with double primes like \( f''(x) = 0 \) is not resolved when the Text field is dropped on the blank area. Also, single primes appear misplaced.
System configuration:
H5P (blue) in Moodle 3.9
h5p-math-display-1.0.6.h5p installed
Summary:
LaTeX expressions with double primes not resolved
Content types:
BV52
Fri, 05/07/2021 - 18:58
Permalink
Hi,I think this may be
Hi,
I think this may be related to this bug report.
-BV
stefanriegel
Sat, 05/08/2021 - 11:59
Permalink
Yes, exactly
Yes, exactly
otacke
Sun, 06/13/2021 - 19:16
Permalink
Hi all!I just spend my Sunday
Hi all!
I just spent my Sunday fixing this. Please find the pull-request/code at https://github.com/h5p/h5p-drag-text/pull/89. I already added a note to the ticket on JIRA.
Cheers,
Oliver
BV52
Mon, 06/14/2021 - 18:47
Permalink
Thanks Oliver!
Thanks Oliver!
adren13
Sat, 09/04/2021 - 23:21
Permalink
Hi Oliver,I found this thread
Hi Oliver,
I found this thread and understand that you fixed this problem.
Do you know if this will be included in the next version of Drag Text (current is 1.8.13 in my environment).
Also, I am new to all this (and in particular to github) : what do I have to do in order to include this patch (I guess it is possible, but not sure ...) ?
Thank you.
otacke
Mon, 09/06/2021 - 07:44
Permalink
Hi!Yes, I fixed it, but I
Hi!
Yes, I fixed it, but I have no clue if and when the H5P core will include my changes.
And yes, you could patch this yourself, of course. But please understand that I don't have the time to guide you through all the steps necessary here.
Best,
Oliver
adren13
Mon, 09/06/2021 - 11:21
Permalink
Hi Oliver,Of course, I do
Hi Oliver,
Of course, I do understand ! No problem.
I will try to learn the basics by myself. If you know of some useful links with learning material intended to beginers, it would be great.
Cheers,
René
otacke
Mon, 09/06/2021 - 14:16
Permalink
Hello again!Sure. There's not
Hello again!
Sure. There's not much "special" stuff needed. This video (https://youtu.be/xEgBJaRUBGg) might give you a good overview of the "things" that are required.
Best,
Oliver
adren13
Wed, 09/08/2021 - 21:38
Permalink
Thank you very much. I have a
Thank you very much. I have a wordpress site, with a fair amount of stuff in it and I can hardly imagine to restart everything from scratch and switch to Drupal, but ...
I may install Drupal locally for dev purpose and insert H5P content that would have been developped into my H5P plugin inside wordpress. Does it sound crazy ?
otacke
Wed, 09/08/2021 - 22:10
Permalink
No, this doesn't sound crazy
No, this doesn't sound crazy at all. Maybe you're not yet really familiar with H5P: It is NOT tied to a specific platform. You can use H5P content types on WordPress, Drupal, moodle, Stud.IP, ILIAS, Typo3, with a standalone server, using Lumi and probably some other integrations without changing anything unless you deliberately use some particular functions of any of these integrations.
Best,
Oliver