This is the source and documentation to the psfig preprocessor for ditroff.

All source code, documentation and related files are Copyright (C) 1987
by Trevor Darrell. All rights reserved. This software may not be distributed
on a for-profit basis in any way without express written permission of the
author.

What you need to use psfig:
--------------------------

1) ditroff.
One from DWB 2.0 or later that understands what \X is for.

2) psdit (and source) from adobe systems transcript V2.
Version 3 is probably fine. may even alreay have the patch.

3) of course, a postscript printer for the final result.
Draft copies do not need a postscript device.


Installation:
------------

1. Compile the preprocessor:
	cd src; make psfig

2. Next, install the patches in patches/ to psdit.c and psdit.pro:
	Leave a copy of the patched psdit.pro into patches/.
	Edit the doc/Makefile to make sure it uses the patched psdit.

3. Try the test program:
	cd tst; make test.ps
	lpr -Plw test.ps

4. Print a copy of the documentation. (ignore any warnings from the
first pass through dopaper about missing psfig.ps.?; they are due
to recursive figure processing):
	cd doc; dopaper
	lpr -Plw paper.ps

5. Copy the patched psdit and psdit.pro into their system directories;
also copy psfig into a common directory and make lib/psfig.tmac publically
available (perhaps as /usr/lib/tmac/tmac.psfig).



