I have a PDF document with many pages, all A5. I want to rearrange it so that each pair of A5 pages in the input form one A4 page in the output.
- Page 1 in the output will contain page 1 and page 2 from the input.
- Page 2 in the output will contain page 3 and page 4 from the input.
The input pages are portrait, the output will be landscape.
Can I do this with Linux command-line tools?