eps - Postscript: paths and nested call to run -
i making .ps file (using dvips) contains many .eps graphics located in multiple other directories, in turn contain code imported text files using postscript "run" command.
my problem paths.
to view .eps in gsview (as write , debug it) relative path text file must relative location of .eps file.
the problem in order view final .ps relative paths various text files must relative location of .ps file.
the way can .eps files display both directly , when embedded in .ps specifying absolute path included text file.
is there way make work using relative paths, or other trick make project location independent? have dozens of .eps files don't want drop them in same directory.
probably sensible way override 'run' operator in final postscript program amends path in string supplied with.
the eps files work (if do) because run not @ time redefined. enclosing postscript file redefine 'run' prefixes strings correct path, eps files work when encapsulated in enclosing program.
i admit i'm surprised (and more little horrified) find 'run' operator isn't forbidden in eps.....
Comments
Post a Comment