Editing Postscript Files with 'pstoedit' and 'XFig'


You can use the tool 'pstoedit' to edit a postscript file (e.g. add labels, lines, erase parts of the file, etc.). An alias for pstoedit is defined in the recommended .cshrc. 'pstoedit' serves as a input filter for XFig. You can find the 'pstoedit' manual here.

Here is an example:
First convert your ps file into a native XFig file:

Next you can load the file into XFig: Then edit the file, save it (in XFig as native xfig file by just clicking on 'save'), quit XFig and convert the file back into a postscript file: or just klick on 'File -> Export' and export it into a ps file.


Stefan
last update 11/30/2001