Impose eight pages into two sheets
Example input
1 2 3 4 5 6 7 8Expected result
8 | 1
2 | 7
6 | 3
4 | 5The four landscape PDF pages are the front and back of two physical sheets. Folding and stacking the sheets puts the source pages in reading order.