josephwright / beamer

A LaTeX class for producing presentations and slides
Other
1.41k stars 142 forks source link

animate.sty bug #851

Closed si-me closed 1 year ago

si-me commented 1 year ago

There is an error in the animate.sty

Here is a minimal example:

\documentclass{beamer}    
\usepackage[buttonsize=10pt,buttonbg=0.3,buttonfg=0.7]{animate}
\begin{document}
\begin{frame}\frametitle{Title}
Hello!
\end{frame}
\end{document}

and the relevant part of the log-file:

(/usr/local/texlive/2023/texmf-dist/tex/latex/ocgx2/ocgbase.sty)
Runaway argument?
.7:\@nil \global \let \@anim@@fgcolour \@anim@colour \ifnum \if@anim@dvips \ETC
.
/usr/local/texlive/2023/texmf-dist/tex/latex/animate/animate.sty:3626: Paragrap
h ended before \@anim@@colours was complete.
<to be read again> 
                   \par 
l.3626 

? 

Deactivating the line 3625 \ProcessKeyOptions[anim@pkg] eliminates the bug, i.e., the above example does not show the bug anymore.

samcarter commented 1 year ago

The same error occurs with article class, so it seems not directly connected to beamer:

\documentclass{article}
\usepackage[buttonsize=10pt,buttonbg=0.3,buttonfg=0.7]{animate}
\begin{document}
Hello!
\end{document}

You might want to report this to https://gitlab.com/agrahn/animate

samcarter commented 1 year ago

It seems this has already been reported: https://gitlab.com/agrahn/animate/-/issues/19