I am making a .ps file (using dvips) which contains many .eps graphics located in multiple other directories, which in turn contain code imported from text files using the postscript "run" command.
My problem is with paths.
To view the .eps in GSview (as I write and debug it) clearly a relative path to the text file must be relative to the location of the .eps file.
The problem is that in order to successfully view the final .ps the relative paths to the various text files must be relative to the location of the .ps file.
The only way I can get the .eps files to display both directly and when embedded in my .ps is by specifying an absolute path for the included text file.
Is there any way to make this work using relative paths, or some other trick to make the project location independent? I have dozens of .eps files so I don't want to just drop them all in the same directory.