pretext icon indicating copy to clipboard operation
pretext copied to clipboard

Display math in a slideshow with a "pause" on the containing p does not respect the pause

Open sean-fitzpatrick opened this issue 1 year ago • 2 comments

If you have an <me> inside a <p pause="yes">, with or without intervening text, the equation loads as soon as the slide loads, rather than waiting until you've stepped through the pause.

The issue seems to be that an <me> is rendered as a <div>, while <m> (which works correctly) is rendered as a <span>.

Changing div to span in the HTML source fixes the problem.

sean-fitzpatrick avatar Jul 19 '24 18:07 sean-fitzpatrick

If you have an inside a

, with or without intervening text, the equation loads as soon as the slide loads, rather than waiting until you've stepped through the pause.

Since most of it comes from html conversion, might have to be careful about that. Probably Rob will have to weigh in here.

kcrisman avatar Jul 19 '24 18:07 kcrisman

Not to worry -- Rob was in the room when we figured this out, and asked me to open this issue.

sean-fitzpatrick avatar Jul 19 '24 18:07 sean-fitzpatrick