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:

  1. 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. πŸ™ˆ
  2. 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