I've got lots of Ghostscript commands compiled together in a script that allows me to do most things to manipulate multiple pdfs. However, I would like to be able to merge documents in more ways than simply concatenating them. 1.Is Ghostscript able to take a pdf (or part of it) and insert it into the centre of another pdf? At present this requires me to cut the pdf's into pieces and put the bits all back together in the new order. 2. Is Ghostscript able to take 2 consecutive pages (say A4) and put them together on a single page (say A3) ?
I appreciate any help / comments. I particularly want to use Ghostscript if possible as it is available on all platforms I use (linux / windows / mac) and is therefore a universal solution.