bugtex4ht - Bugs: bug #586, Incompatibility with package...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #586: Incompatibility with package animate

Submitted by:  Jim Hefferon <jimhefferon>
Submitted on:  Sat Dec 10 20:14:28 2022  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sat Dec 10 21:14:20 2022, comment #2:

Ah, I forgot to attach the file. Here it is.

(file #521)

Michal Hoftich <michal_h21>
Project Member
Sat Dec 10 21:13:11 2022, comment #1:

The fatal error seems to be caused by the Pdfbase package. It redefines the output routine in a way that crashes TeX4ht. It can be fixed using the attached pdfbase-hooks.4ht file. I've already pushed it to TeX4ht sources, so it should be available in TL soon.

Regarding the Animate package suport, I see that there is a rudimentary animate.4ht file, which probably fixes some bug that was reported to me in 2017. I don't know much about this package, so I am not sure if the fix works anymore. I can try to provide a proper configuration file with support for inclusion of supported animations, if you provide me with a MWE. Note that we can support only features that are available in web brosers, but I think that inclusion of SVG or Gif images should work without problems.

Michal Hoftich <michal_h21>
Project Member
Sat Dec 10 20:14:28 2022, original submission:

I have a minimal file at the end of this message. If I run

make4ht -a debug -m draft test.tex

then I get this message.

(/usr/local/texlive/2022/texmf-dist/tex/generic/tex4ht/html5.4ht)) (./test.aux)
! TeX capacity exceeded, sorry [input stack size=10000].
\old:outputpage ->\old:outputpage
l.9 \end{document}

No pages of output.
Transcript written on test.log.
[FATAL] make4ht-lib: Fatal error. Command htlatex returned exit code 1

If I comment out the \usepackage{animate} line then it works great, and I can view the .html file perfectly.

Jim Hefferon





Jim Hefferon <jimhefferon>


Attached Files
file #521:  pdfbase-hooks.4ht added by michal_h21 (870B - application/octet-stream)
file #520:  test.tex added by jimhefferon (130B - text/x-tex)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by jimhefferon (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Dec 10 21:14:20 2022michal_h21Attached File-=>Added pdfbase-hooks.4ht, #521
    Sat Dec 10 20:14:28 2022jimhefferonAttached File-=>Added test.tex, #520
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray