ps2frag(1)
π ps2frag β a manual page, bestie edition β¨
okay so real talk, this is ps2frag(1) from the General Commands Manual, and it's here to tell you the tea. π«
πΈ NAME πΈ
ps2frag β bestie, it's an obsolete shell script for the PSfrag system. yes, obsolete. it's giving retirement party. π
π¨ IMPORTANT NOTICE π¨
okay so the plot twist: the new PSfrag system no longer requires the ps2frag script. nope, not even a little. instead, it handles the processing entirely within TeX/LaTeX and DVIPS. and honestly? never needing to run ps2frag again is a nice convenience, and I'm sure you will agree. periodt. π
but bestie, don't run off yet, because there are two significant differences in the way this new version of PSfrag works. please make yourself aware of them, fr fr:
- XDvi is no longer able to determine where your PSfrag replacements should go, so instead it lines them up in a vertical list to the left of the figure. lowkey annoying but it does allow you to confirm that they have been typeset properly, at least. however β to confirm that PSfrag positions your replacements properly, you will have to view the PostScript version of your file with a viewer like GhostView, or print it out. this seems to be the only disadvantage to the elimination of the pre-processing step. π
- If you embed
'\tex'commands inside your figures, you now need to explicitly _tell_ PSfrag to process these commands. like, be direct with it. to do so, use\usepackage[scanall]{psfrag}instead of\usepackage{psfrag}at the beginning of your LaTeX file. β¨
if you only use '\tex' commands in a small number of figures, then a more efficient might be to turn on '\tex'-scanning only for those figures. (yes, that sentence is doing its own thing, we're keeping it exactly as it is, no notes π
). to do that, add the command '\psfragscanon' immediately before each relevant \includegraphics or \epsfbox command. π
π NOTES π
See the PSfrag documentation for further information. that's it, that's the note. go read the docs, bestie. π¦
π SEE ALSO π
the whole friend group, all linked up. π
π AUTHORS π
psfrag@rascals.stanford.edu
- The PSfrag maintainer's mailing list. π«Ά
β οΈ reminder: this script is obsolete. don't be out here running it like it's 1995. the new system does it all inside TeX/LaTeX and DVIPS now. iykyk. π
and that's the whole vibe check, bestie β brought to you by TeXware, dated Feb 95, and yes, this is ps2frag(1). slay, stay processed, and go look at your PostScript in GhostView. π
β¨π
π¦ where this page comes from
- alpine 3.24: texmf-dist-binextra-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms