From: Harald H. <h.h...@tu...> - 2004-07-16 19:16:08
|
On Fri, 16 Jul 2004, Ethan Merritt wrote: > > From version 4.1 on, no file can be loaded by Illustrator > > 7.0. The load process is terminated immediately. This means > > the incompatibility between the gnuplot output and > > Illustrator 7.0 seems to be at the top of the files. And it > > seems to be because of a change between 4.0 and 4.1. > > The only change of significance is the inclusion of > a set of PostScript Level 2 macros for pattern definitions. > You seem to have more versions of Illustrator to test on than > I do. Could you try that experiment? I.e. generate a *.eps > plot in 4.1 that uses no pattern fill, confirm that Illustrator > doesn't like it, then edit out those 60 lines of preamble and > see if this makes Illustrator happy again? > > If omitting these 60 lines of preamble code is sufficient, > then it should be easy enough to add a terminal option > =09-noLevel2 I have used following code: set terminal postscript eps 'Times-Roman' 24 set output 'illu7test-with-pattern.eps' plot sin(x) set output With the pattern code, Illustrator 7 cannot load the file. When surrouding the code by false { ... } if or using it for definition of a new function /NewPatternFill { ... } def the file can be loaded. May be the pattern fill code can test if NewPatternFill has already been used (by setting a boolean) and then call it once if needed. Then, eps files that do not use patterns can be loaded while the ones the use them fail to be loaded by Illustrator 7. The Computer that runs Illustrator 11 is off, already. But Illustrator 11 has been able to load all eps files until now. Yours Harald --=20 Harald Harders Langer Kamp 8 Technische Universit=E4t Braunschweig D-38106 Braunschweig Institut f=FCr Werkstoffe Germany E-Mail: h.h...@tu... Tel: +49 (5 31) 3 91-3062 WWW : http://www.ifw.tu-bs.de Fax: +49 (5 31) 3 91-3058 |