[texhax] beamer and attachfile
Alexander Grahn
A.Grahn at fz-rossendorf.de
Fri Jan 27 11:45:02 CET 2006
Dear Victor,
On Thu, Jan 26, 2006 at 01:51:04PM -0500, Victor Ivrii wrote:
>If I use attachfile in the beamer document, it is attached to all the
>slides of the corresponding frame, even if it should appear after few
>\pause.
>
>Even specific \only<6>{}, \visible<6>{} etc do not help.
>Any ideas?
Here is a hack which seems to work. It defines a macro \MyOnSlide to be
used with an explicit slide number (no range, no `+-' etc.):
\makeatletter%
\let\myslideinframe\beamer at slideinframe%
\makeatother%
\newcommand{\MyOnSlide}[2]{%
\ifnum\myslideinframe=#1%
#2%
\else%
\phantom{#2}%
\fi%
}
...
\MyOnSlide{2}{\attachfile ...} %attach file on 2nd slide
Alexander
More information about the texhax
mailing list