Perhaps a less complicated recording solution using pdfjam related bits. If test.pdf is an A4 album, which should be divided into a portrait of A5:
1) remove the left half-countries
pdfcrop --bbox "0 0 421 595" --clip --papersize "a5" test.pdf test-left.pdf
Note: --bbox "<left> <bottom> <right> <top>" works in bp units
2) Remove the right polustranitsy:
pdfcrop --bbox "421 0 842 595" --clip --papersize "a5" test.pdf test-right.pdf
3) Sort optional page, e.g.
pdfjoin test-left.pdf test-right.pdf "1" --outfile test-collated.pdf
4) reglue:
pdfnup --nup 2x1 test-collated.pdf --a4paper --outfile test-done.pdf
febrile
source share