Admin/psbooklet
author wenzelm
Fri, 06 Jan 2012 15:19:17 +0100
changeset 46135 6bff2ebaf7bb
parent 36859 51af1657263b
permissions -rwxr-xr-x
more careful treatment of outermost constraints, e.g. constructors without arguments (despite loss of positions for catch-all variables);

#!/usr/bin/env bash
#
# psbooklet - rearrange pages of ps file to be printed as booklet (duplex)

psbook "$@" | \
  pstops '4:0L@.7(21cm,0cm)+1L@.7(21cm,14.85cm),3R@.7(0cm,14.85cm)+2R@.7(0cm,29.7cm)'