#! /bin/sh # combine two eps or ps file on one page # syntax: bind # returns outfile.ps # written by Jan-Uwe Ness echo "\documentstyle[12pt]{article}" > "$3.tex" echo "\pagestyle{empty}" >> "$3.tex" echo "\textheight 23.5cm" >> "$3.tex" echo "\textwidth 16cm" >> "$3.tex" echo "\voffset -3cm" >> "$3.tex" echo "\hoffset -2cm" >> "$3.tex" echo "\input{psfig}" >> "$3.tex" echo "\begin{document}" >> "$3.tex" echo "\begin{figure}" >> "$3.tex" echo " \psfig{figure=$1,height=13cm,angle=270}" >> "$3.tex" echo "\vspace{1cm}" >> "$3.tex" echo " \psfig{figure=$2,height=13cm,angle=270}" >> "$3.tex" echo "\end{figure}" >> "$3.tex" echo "\end{document}" >> "$3.tex" latex $3 > "$3.output" dvips $3 > "$3.output" rm "$3.dvi" rm "$3.aux" rm "$3.log" rm "$3.tex" rm "$3.output"