FIG2PS2TEX(1)
π FIG2PS2TEX π
okay bestie, this is the fig2ps2tex manual page, straight from the General Commands Manual section of your local man setup, and it's literally about making TeX and PostScript hold hands. let's get into it π«Ά
β¨ NAME β¨
fig2ps2tex β generate a TeX file for including a PostScript file π
π¦ SYNOPSIS π¦
fig2ps2tex file
like yes, that's the whole thing. one argument, main character energy. periodt π
πΈ DESCRIPTION πΈ
so fig2ps2tex generates a TeX file for including a PostScript file in a TeX document. that's the whole vibe. π«Ά
and the way it does that? it's calculating the bounding box from the Postscript document. yes bestie, the bounding box. it needs the numbers so your TeX knows where the art lives.
the TeX inclusion file gets written to stdout. so redirect it, don't just stare at it. π
there is also Fig2ps2tex.csh for those systems with csh and dc. like, for the older setups. it's giving legacy support and honestly we respect it. π
ngl, quick reality check: thepsfigmacro package provides a more sophisticated approach to including Postscript files in LaTeX documents. butFig2ps2texworks with plain TeX however. so like, different lane, different vibe. no cap. β¨
π USAGE π
okay imagine your Postscript file is called foo.ps (cute name, love that for us). then the command:
% fig2ps2tex foo.ps >foo.tex
will create the inclusion file with bounding information. β¨ the > is doing the heavy lifting bestie, don't forget it.
then you include this file in your TeX document with the command:
\input{foo}
and that's it. that's the whole ritual. ate. π₯
π SEE ALSO π
psfig(1)latex(1)fig2dev(1)transfig(1)
iykyk π
π AUTHOR π
Micah Beck Cornell University
Man page by George Ferguson, ferguson@cs.rochester.edu. π«Ά
π COPYRIGHT π
Copyright 1994 Micah Beck
okay so here comes the legal bit, and we're reading it in full because that's the rule, no skipping the boring parts bestie. π€
The X Consortium, and any party obtaining a copy of these files from the X Consortium, directly or indirectly, is granted, free of charge, a full and unrestricted irrevocable, world-wide, paid up, royalty-free, nonexclusive right and license to deal in this software and documentation files (the "Software"), including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons who receive copies from any such party to do so, with the only requirement being that this copyright notice remain intact. This license includes without limitation a license to do the foregoing actions under any patents of the party supplying this software to the X Consortium.
fr fr: the only requirement is that this copyright notice stays intact. keep the receipt, bestie. π§
and that's the whole page!! this one's from 2016, dated in the footer like a little timestamp on the whole thing. go make some TeX, include some Postscript, and slay the bounding box. mwah πβ¨ππ¦πΈπ
π¦ where this page comes from
- alpine 3.24: fig2dev-doc 3.2.9a-r3 Β· Xfig
- arch rolling: fig2dev 3.2.9-2 Β· Xfig
- centos-stream 9: transfig 1:3.2.7b-11.el9 Β· MIT
- debian bookworm: fig2dev 1:3.2.8b-3+deb12u2 Β· xfig
- debian trixie: fig2dev 1:3.2.9a-4 Β· MIT~Xfig
- epel 10: transfig 1:3.2.9a^20250619.ee3f4d8-3.el10_2 Β· Xfig
- fedora 43: transfig 1:3.2.9a^20250619.ee3f4d8-3.fc43 Β· Xfig
- fedora 44: transfig 1:3.2.9a^20250619.ee3f4d8-8.fc44 Β· Xfig
- nixos 26.05: fig2dev 3.2.9a
- nixpkgs unstable: fig2dev 3.2.9a
- opensuse-leap 16.0: transfig 3.2.9a-160000.2.2 Β· MIT
- opensuse-leap 16.0: transfig 3.2.9a-160000.2.2 Β· MIT
- opensuse-leap 16.0: transfig 3.2.9a-160000.2.2 Β· MIT
- opensuse-leap 16.0: transfig 3.2.9a-160000.2.2 Β· MIT
- ubuntu jammy: fig2dev 1:3.2.8b-1 Β· xfig
- ubuntu noble: fig2dev 1:3.2.9-3build2 Β· xfig
- ubuntu questing: fig2dev 1:3.2.9a-4
- ubuntu resolute: fig2dev 1:3.2.9a-5 Β· MIT~Xfig
- ubuntu stonking: fig2dev 1:3.2.9a-5 Β· MIT~Xfig
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms