fig2ps2tex(1)

fig2ps2tex1

Generate a tex file for including a postscript file

Usage

fig2ps2tex file

Overview

Fig2ps2tex generates a TeX file for including a PostScript file in a TeX document. This involves calculating the bounding box from the Postscript document. The TeX inclusion file is written to stdout.

There is also Fig2ps2tex.csh for those systems with csh and dc.

Note that the psfig macro package provides a more sophisticated approach to including Postscript files in LaTeX documents. Fig2ps2tex works with plain TeX however.

Usage

Assume the Postscript file is called foo.ps . The command

% fig2ps2tex foo.ps >foo.tex

will create the inclusion file with bounding information. Then include this file in your TeX document with the command

\input{foo}

Releases

13 releases since Debian 3.0 (Woody); the text changed 4 times.

  1. 3.0
  2. 3.1–7
  3. 8
  4. 9
  5. 10–Arch

Author

Micah Beck
Cornell University

Man page by George Ferguson, [email protected].

From fig2dev 3.2.9-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.