Andrew Stacey - 2019-03-08

I have an extension of pgfpages (imaginatively called pgfmorepages) which solves this issue, as well as extending the capabilities somewhat.

The code is available at https://github.com/loopspace/pgfmorepages I'd be happy to contribute all or part of it to the PGF code base.