#fillins in EPUB

11 views
Skip to first unread message

David Austin

unread,
Apr 12, 2026, 6:52:22 PM (2 days ago) Apr 12
to prete...@googlegroups.com
After running the sample article through the EPUB conversion, I noticed that #fillin elements do not appear to render properly though I'm not sure what the intended behavior should be.

David

image.png

Rob Beezer

unread,
Apr 12, 2026, 10:29:28 PM (2 days ago) Apr 12
to prete...@googlegroups.com
Thanks, David. Can't recall if I've seen that one. I've only been making EPUB
of the sample article regularly for a little while now. And the EPUB validator
won't see this problem.

We define some XML elements allowed inside math. Generally, i've resisted that.
But I love that we can use #xref inside math, so I need to hold my tongue.

A #fillin inside #m is realized by the \fillinmath macro. And it is not being
defined for the "offline" process that has MathJax making SVG versions of the
math bits. So I know what to do, it appears.

Rob
> image.png
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-dev...@googlegroups.com <mailto:pretext-
> dev+uns...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/
> CANXmVMAQKfhQ%3D6aih_pn10hCL%3DgVx7jeqA5s%2BHW1tT6n8D1wEA%40mail.gmail.com
> <https://groups.google.com/d/msgid/pretext-dev/
> CANXmVMAQKfhQ%3D6aih_pn10hCL%3DgVx7jeqA5s%2BHW1tT6n8D1wEA%40mail.gmail.com?
> utm_medium=email&utm_source=footer>.

Rob Beezer

unread,
Apr 12, 2026, 10:31:29 PM (2 days ago) Apr 12
to prete...@googlegroups.com
Fixed now, and picked up an \sfrac macro that would have had similar problems.

See: https://github.com/PreTeXtBook/pretext/pull/2833

Thanks again!

On 4/12/26 19:29, Rob Beezer wrote:
> Thanks, David.  Can't recall if I've seen that one.  I've only been making EPUB
> of the sample article regularly for a little while now.  And the EPUB validator
> won't see this problem.
>
> We define some XML elements allowed inside math.  Generally, i've resisted that.
>  But I love that we can use #xref inside math, so I need to hold my tongue.
>
> A #fillin inside #m is realized by the  \fillinmath  macro.  And it is not being
> defined for the "offline" process that has MathJax making SVG versions of the
> math bits.  So I know what to do, it appears.
>
> Rob
>
> On 4/12/26 15:52, David Austin wrote:
Reply all
Reply to author
Forward
0 new messages