1ps2frag(1) General Commands Manual ps2frag(1)
2
3
4
6 ps2frag - obsolete shell script for the PSfrag system.
7
9 The new PSfrag system no longer requires the ps2frag script; instead,
10 it handles the processing entirely within TeX/LaTeX and DVIPS. I'm sure
11 you will agree that never needing to run ps2frag again is a nice conve‐
12 nience!
13
14 However, there are two significant differences in the way this new ver‐
15 sion of PSfrag works. Please make yourself aware of them:
16
17 1) XDvi is no longer able to determine where your PSfrag replacements
18 should go, so instead it lines them up in a vertical list to the left
19 of the figure. This allows you to confirm that they have been typeset
20 properly, at least. However, to confirm that PSfrag positions your
21 replacements properly, you will have to view the PostScript version of
22 your file with a viewer like GhostView, or print it out. This seems to
23 be the only disadvantage to the elimination of the pre-processing step.
24
25 2) If you embed '\tex' commands inside your figures, you now need to
26 explicitly _tell_ PSfrag to process these commands. To do so, use
27 \usepackage[scanall]{psfrag} instead of \usepackage{psfrag} at the
28 beginning of your LaTeX file.
29
30 If you only use '\tex' commands in a small number of figures, then a
31 more efficient might be to turn on '\tex'-scanning only for those fig‐
32 ures. To do that, add the command '\psfragscanon' immediately before
33 each relevant \includegraphics or \epsfbox command.
34
36 See the PSfrag documentation for further information.
37
39 dvips(1), gs(1), ghostview(1), latex(1)
40
42 psfrag@rascals.stanford.edu
43 The PSfrag maintainer's mailing list.
44
45
46
47TeXware Feb 95 ps2frag(1)