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: texlive-doc 2026.0-r0 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- arch rolling: texlive-doc 2026.1-1 Β· GPL
- centos-stream 10: texlive-texlive-scripts-extra 13:20240311-6.el10 Β· GPL-1.0-or-later AND LPPL-1.3c AND LicenseRef-Fedora-Public-Domain
- centos-stream 9: texlive-texlive-scripts-extra 9:20200406-26.el9 Β· GPL+ and LPPL and Public Domain
- debian bookworm: texlive-extra-utils 2022.20230122-4
- debian trixie: texlive-extra-utils 2024.20250309-2
- fedora 43: texlive-texlive-scripts-extra 11:svn62517-93.fc43 Β· GPL-1.0-or-later AND LPPL-1.3c AND LicenseRef-Fedora-Public-Domain
- fedora 43: texlive-texlive-scripts-extra 11:svn62517-95.fc43.1 Β· GPL-1.0-or-later AND LPPL-1.3c AND LicenseRef-Fedora-Public-Domain
- fedora 44: texlive-texlive-scripts-extra 12:svn78162-105.fc44 Β· GPL-1.0-or-later AND LPPL-1.3c AND LicenseRef-Fedora-Public-Domain
- fedora 44: texlive-texlive-scripts-extra 12:svn78162-111.fc44 Β· GPL-1.0-or-later AND LPPL-1.3c AND LicenseRef-Fedora-Public-Domain
- opensuse-leap 16.0: texlive-scripts-extra-doc 2025.221.svn71746-160000.3.1 Β· LPPL-1.0
- ubuntu jammy: texlive-extra-utils 2021.20220204-1
- ubuntu noble: texlive-extra-utils 2023.20240207-1
- ubuntu questing: texlive-extra-utils 2024.20250309-2
- ubuntu resolute: texlive-extra-utils 2025.20260124-1
- ubuntu stonking: texlive-extra-utils 2026.20260711-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms