On Wed, Feb 20, 2013 at 10:16:30AM +0100, Marco Patzer wrote:
I am making a presentation that involves some simple animations. The way I make those animations is by:
1. Stopping page numbering. 2. Flipping through the same slide repeated, but with img0, img1, img2 etc. 3. Start page numbering.
The problem with my naïve approach of repeating slides is that fixing a spelling error or making changes implies that I have to do it several times for an “animated” slide, and is error-prone.
You could use buffers:
\newdimen\cnt \starttext
\startbuffer [greenbar] \blackrule[width=4cm, height=5mm, color=green] \stopbuffer
\dorecurse{10}{%% \blackrule[width=\textwidth] \advance\cnt1cm \hskip\cnt \getbuffer[greenbar]\page}
\stoptext
This is a lovely solution, and I'll put off learning LuaTeX for now. Thanks! :-) Kumar -- Kumar Appaiah