In <[log in to unmask]> Reinhard Kotucha <[log in to unmask]> writes: >If there would be something like \AtEndPage, the \afterpage package >would be much smaller, its code easier to understand and much easier >to maintain. \begin{plug}[shameless] look at macros/latex/contrib/supported/ms/everyshi.* for a hook just before \shipout. Should be easy to extend. \end{plug} Best regards Martin -- Martin Schr"oder, [log in to unmask] The mass of men lead lives of quiet desperation and go to the grave with the song still in them. (Henry David Thoreau)