A simple way to add page numbers to base/ggplot/lattice graphics.
This version of pagenum can be found in the following snapshots: