Pages for logged out editors learn more
input_pdf=$1 output_pdf="mini_zine-$input_pdf"
pdfjam --angle '180' --outfile /dev/stdout -- $input_pdf 1,8,7,6 | pdfjam --nup '4x2' --landscape --frame 'false' --outfile $output_pdf -- /dev/stdin - $input_pdf 2-5