mkdir pages
for s in `cat ../s/a/pages.tex`
do
dvips -pp $s -o pages/page$s.ps ect.dvi
done
