I have a
beamer presentation containing slides for multiple lectures in a single file. Exercises in the slides should be number continuously from the first lecture to the last. So lecture 1 ends with exercise 10, lecture 2 starts with exercise 11 and so on.
When I use
\includeonlyframes to make a presentation for a particular lecture it always starts numbering from one again. So, lecture 2 starts again from 1, rather then 11 I would like to see.
It appears that
\includeonlyframes doesn't read frames that are not included at all.
Is there a way to make it read all frames and output the right ones, but preserve the numbering in the process?