I've a class file that my students have to use to write their final year report using LaTeX.
Students are told that their report must not exceed 50 pages and that any page beyond this limit will not be read.
However, it would be nice if I could include a mechanism to prevent their PDF to contain pages beyond page 50 (i.e. discarding excess pages). I wonder if there is a way to do that.
\RequirePackage[-50]{pagesel}, similar to the suggestion here. – Werner May 29 '14 at 21:35nonofile. This works but creates blank pages at the end of the PDF in place of the discarded ones (but I only had a quick look at the package). – Pierre May 29 '14 at 22:51pageseldiscard the excess pages, but with my class file it replaces them with blank pages. Have you seen that before? – Pierre May 30 '14 at 00:29