CTAN Comprehensive TeX Archive Network

Direc­tory graphics/psfig

psfig/tex -- TeX macros for the inclusion of postscript figures



All software, documentation, and related files in this distribution of
psfig/tex are Copyright 1993 Trevor J. Darrell

Permission is granted for use and non-profit distribution of psfig/tex 
providing that this notice be clearly maintained, but the right to
distribute any portion of psfig/tex for profit or as part of any commercial
product is specifically reserved for the author.

Thanks to Ned Batchelder, Greg Hager, J. Daniel Smith, Tom Rokicki,
Robert Russell, George V. Reilly, Ken McGlothlen, Dr. Baron Grey,
Gerhard Tobermann and all others who have contributed code and
comments to this project!



- Support for OzTeX (derived from Baron Grey's OzTeX version of psfig)

- New searching path algorithm (from Gerhard Tobermann); looks in
  multiple directories; looks for file.ps before file.ps.bb...

- Many small bug fixes (underscore in draft mode, angle/clip interaction)

- Improved documentation and man page



Psfig/tex uses \special calls to manipulate the PostScript environment
within a document, and include figure files. To use psfig, you must
therefore be using a postscript device for your output. This version
of psfig/tex works with the unix "dvips" PostScript driver, which is
available from labrea.stanford.edu, and with OzTeX.  

It may also work with the ArborText "dvips" driver, and with the
"dvi2ps" written by Tony Li <tli@sargar.usc.edy>; see the
"unsupported" directory.



To install psfig, simply copy psfig.sty into a directory on your TeX
include path (e.g. /usr/lib/tex/macros).

If you are using OzTeX, change the driver line at the top of
the psfig.sty file to read
instead of 

A users guide and manual page can be found in the "doc" directory.

For tips on dealing with Macintosh postscript, see the directory



If you use the letter style, make sure you include the psfig style

If you have an old version of dvips, you may need to make a patch to
use the compressed figure option, and to handle magnification
correctly.  The files "unsupported/dospecial.[patch,frag]" contain a
patch and a corresponding code fragment for dvips' dospecial.c file.
To apply the patch copy dospecial.patch into your dvips directory and
run "patch < dospecial.patch", and then recompile. "dospcial.frag"
contains the modified portion of the code as it should appear in the
patched file.  To use magnification with psfig and dvips, you need to
change the line
	/magscale false def
in special.pro to 
	/magscale true def
in order to have the figures scaled correctly.

Down­load the con­tents of this pack­age in one zip archive (124.8k).

ps­fig – A graph­ics in­clu­sion pack­age

The ps­fig pack­age en­ables users to in­clude graph­ics in doc­u­ments, with a choice of dvips and oz­tex drivers: other out­put mech­a­nisms are not sup­ported.

The ps­fig pack­age is largely su­per­seded, for var­i­ous rea­sons, in­clud­ing its non-free li­cence. For new work, users are strongly en­cour­aged to use the graph­ics bun­dle, specif­i­cally, ei­ther the graph­icx or even eps­fig pack­age. In par­tic­u­lar, eps­fig, which is al­ways to be found in mod­ern dis­tri­bu­tions, im­ple­ments a close ana­logue of the syn­tax of ps­fig.

Li­censesDo Not Sell Ex­cept by Ar­range­ment
Main­tainerTrevor Dar­rell
TopicsGraph­ics in­clude
See alsoepsf
Guest Book Sitemap Contact Contact Author