changes for Linux:
changes to Layout for bash shell, renamed typeset layoutset (typeset is
internal shell command) & changed Makefile  - tdunbar@vtaix.cc.vt.edu
-------
Layout by Joel F. Klein, May 21, 1993

Creates the pages a half-page booklet from a Postscript 2.0 file.

This is an experimental, completely unstable piece of software that
has only been tested on only two files (40 and 68 pages).  The purpose
for its distribution is to find out how useful or buggy it may be.

--------------------------------------------------------------------

Requires: tex, dvips

Contents of this distribution:
	README		This file
	Makefile	Used to compile the necessary programs
	Layout		The main program (a CSH script)
	trimtopbot.c	Extracts header and trailer from the input
	fix.c		Extracts individual pages from the input
	layout.c	Figures out which pages should appear together
	layoutset.c	Generates a TeX file using the layout order

--------------------------------------------------------------------

To get up and running, type:

> make

To layout a file, copy the input file (named "filename" in the
examples) to the current directory.

The input file is assumed to be the Postscript version where the
source had the following form: landscape (11x8.5), l/r margins are
0.75" and 4.75" (roughly).  It looks nicer if the headers/footers
alternate (different for odd and even pages).

> cp somepath/filename.ps .
> Layout filename

Do not append the .ps for the input filename!  The program will run
for a little bit (takes a little under two minutes for a 40-page
file).  The output file (filenameLayout.ps) will appear in the current
directory.  A temporary directory, layoutfilename will appear and not
be deleted.  You can delete if you wish, though some of its contents
may be useful.

--------------------------------------------------------------------

This software may be edited and redistributed to your heart's content.
Just don't charge anybody for it.

Feedback and questions should be sent to

Joel.Klein@Rose-Hulman.EDU except during the summer (June 1-Sept 1),
in which case send correspondance via snail-mail to

Joel F. Klein
RHIT Box 758
5500 Wabash Avenue
Terre Haute IN 47803
