Hi Marko, > > > If you're using -Tpdf then qpdf(1) can also re-arrange page order > > > and has r3 for the third-from-end page, and z for the last page. > > qpdf test.pdf --pages test.pdf z,1-3 -- outfile.pdf
That `3' can be `r2' so it doesn't need altering as the number of pages in test.pdf change. It only needs adjusting if the table of contents exceeds one page. -- Cheers, Ralph.
