[tex4ht] [bug #586] Incompatibility with package animate

Hefferon, Jim S. jhefferon at smcvt.edu
Sun Dec 11 19:22:08 CET 2022


MIchal,

Thank you so much for your help.

I use the animate package as here.

   \animategraphics{3}{prologue/asy/life/glideranim}{00}{16}

In book.pdf this will use use a little Javascript to successively show the files glideranim00.pdf through glideranim16.pdf (perhaps at 3 frames per second?).  If you are interested then you can see the output at https://joshua.smcvt.edu/computation/book.pdf on page 49.  (I think you may have to use Acrobat to see the animation.)

I could absolutely supply example files if you want.  But I wonder if maybe the right answer is that you shouldn't support this, that a person who has this should separately bundle the graphic files into a .gif or some other format suitable for the web?  Then in the .tex file calls for this could be surrounded with the \ifx\HCode\undefined ... construct.  If that is right, perhaps this could be noted somewhere?

Regards,
Jim

________________________________________
From: Michal Hoftich <puszcza-hackers at gnu.org.ua>
Sent: Saturday, December 10, 2022 16:13
To: Michal Hoftich; Hefferon, Jim S.; tex4ht at tug.org
Subject: [bug #586] Incompatibility with package animate

⚠ External Sender ⚠


Follow-up Comment #1, bug #586 (project tex4ht):

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.

    _______________________________________________________

Reply to this item at:

  <https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpuszcza.gnu.org.ua%2Fbugs%2F%3F586&data=05%7C01%7Cjhefferon%40smcvt.edu%7Cd7f1a600b6124a4b40ec08dadaf359cc%7Ccba7935edf564a6e9e66e8b9adbfaba4%7C0%7C0%7C638063037007500143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=CHZjPl0QFmNBfsfoySHRl68ADlGAoBajof8c9oDGw7Q%3D&reserved=0>

_______________________________________________
  Message sent via/by Puszcza
  https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpuszcza.gnu.org.ua%2F&data=05%7C01%7Cjhefferon%40smcvt.edu%7Cd7f1a600b6124a4b40ec08dadaf359cc%7Ccba7935edf564a6e9e66e8b9adbfaba4%7C0%7C0%7C638063037007500143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=A%2FCo8tKeKJAotpoReXApytlgNcpOsjOmD84B2CEe5OM%3D&reserved=0




More information about the tex4ht mailing list.