graphix inset

2002-01-30 Thread Herbert Voss
the next patch to get the file type from it's contents. Especially to Garst, please try. Herbert -- http://www.lyx.org/help/ Index: src/frontends/controllers/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends

Re: graphix inset

2002-01-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > Herbert Voss <[EMAIL PROTECTED]> writes: > > | the next patch to get the file type from it's contents. > | Especially to Garst, please try. > > You forget that some eps files has the BoundingBox at the end. never heard about this. Maybe that's not a real problem,

Re: graphix inset

2002-01-30 Thread Herbert Voss
Garst R. Reese wrote: > Herbert Voss wrote: > >>the next patch to get the file type from it's contents. >>Especially to Garst, please try. >> >>Herbert >> > Didn't work, but I don't see why :( > Attached is the header to one of my files. can you send me the whole ps-file? HErbert -- http:/

Re: graphix inset

2002-01-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > If I remember correctly it is then something like: > > BoundingBox: At End makes life easier > The old code handled this. > (Probably by just reading the whole file) will have a look Herbert -- http://www.lyx.org/help/

Re: graphix inset

2002-01-30 Thread Herbert Voss
Garst R. Reese wrote: > Didn't work, but I don't see why :( > Attached is the header to one of my files. > > %!PS-Adobe-1.0 forgot to say, this this is a ps-file and LyX doesn't has a converter for this. Look at preferences converters, if a ps->xpm is missing install one. it's just the same th

Re: graphix inset

2002-01-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > Herbert Voss <[EMAIL PROTECTED]> writes: > > | Lars Gullik Bjønnes wrote: > >>>If I remember correctly it is then something like: >>>BoundingBox: At End >>> >> > | makes life easier > > Or it is perhaps: > > Comments: At End I read in my old postscript book and

Re: graphix inset

2002-01-30 Thread Herbert Voss
Garst R. Reese wrote: > %%Pages: (atend) > blah blah > %%Trailer > %%Pages: 5 > I did not find anything with %%BoundingBox (atend) or the like. > Note: atend is one word. I suppose that this is only possible for standard ps-output with no bounding box, which has some other problems. but will a

Re: graphix inset

2002-01-30 Thread Mike Ressler
On Thu, 31 Jan 2002, Herbert Voss wrote: > Garst R. Reese wrote: > > %%Pages: (atend) > > blah blah > > %%Trailer > > %%Pages: 5 > > I did not find anything with %%BoundingBox (atend) or the like. > > Note: atend is one word. >From a figure I have: %!PS-Adobe-3.0 EPSF-3.0 %%For: brucew %%Title:

Re: graphix inset

2002-01-30 Thread Herbert Voss
Mike Ressler wrote: >>From a figure I have: > > %!PS-Adobe-3.0 EPSF-3.0 > %%For: brucew > %%Title: PGPLOT PostScript plot > %%Creator: PGPLOT > %%CreationDate: 13-Jun-2000 14:59 > %%BoundingBox: (atend) > %%DocumentFonts: (atend) can you send me the whole file for testing? Herbert -- htt

Re: graphix inset

2002-01-30 Thread Herbert Voss
Garst R. Reese wrote: > While you are hopefully sleeping well and not plagued by Garst > nightmares, I tried some experiments with tonight's CVS + your test :-) it works now, send you a patch in my afternoon. Herbert -- http://www.lyx.org/help/

Re: graphix inset

2002-01-31 Thread Herbert Voss
Herbert Voss wrote: > the next patch to get the file type from it's contents. > Especially to Garst, please try. please commit the attached graphics2.diff instead of the one from the previous mail. this patch does: - read properly scale - sets display_screen dependet to the one in pref - get

Re: graphix inset

2002-01-31 Thread Angus Leeming
On Thursday 31 January 2002 11:36 am, Herbert Voss wrote: > Herbert Voss wrote: > > > the next patch to get the file type from it's contents. > > Especially to Garst, please try. > > > please commit the attached graphics2.diff instead of the one > > from the previous mail. > > this patch does

Re: graphix inset

2002-01-31 Thread Herbert Voss
Garst R. Reese wrote: > A few remaining problems. > 1. The ps view of some images goes way off the page. The setting was > width 100 p%, which I presume means % of page. I changed to settings to > Scale 100 % and all but one came into line. I had to change it to Scale > 85%. > 2. Some images are

Re: graphix inset

2002-01-31 Thread Herbert Voss
Garst R. Reese wrote: > 3. My preferences says to display in monochrome, the the graphics > dialogue defaults to color. fixed. changed it to the one from preferences Herbert. -- http://www.lyx.org/help/

Re: graphix inset

2002-01-31 Thread Angus Leeming
On Thursday 31 January 2002 5:14 pm, Herbert Voss wrote: > Garst R. Reese wrote: > > > A few remaining problems. > > 1. The ps view of some images goes way off the page. The setting was > > width 100 p%, which I presume means % of page. I changed to settings to > > Scale 100 % and all but one cam

Re: graphix inset

2002-01-31 Thread Herbert Voss
Angus Leeming wrote: > Incidentally, the conversion process is slow because you're using > ImageMagik's convert, I bet. It's much much quicker if you use the netpbm > suite of converters. I don't understand why all images are converted when opening the file, especially the floats which can be

Re: graphix inset

2002-01-31 Thread Herbert Voss
Garst R. Reese wrote: > Custom does not work. no problem here > When I set scale is does not persist over a file close. When I reopen > the file, custom is checked. also no problem after the last patch. Herbert -- http://www.lyx.org/help/

Re: graphix inset

2002-02-01 Thread Angus Leeming
On Thursday 31 January 2002 7:55 pm, Garst R. Reese wrote: > > Incidentally, the conversion process is slow because you're using > > ImageMagik's convert, I bet. It's much much quicker if you use the netpbm > > suite of converters. > > Well, I have both installed, but some folks may have one or t

Re: graphix inset

2002-02-01 Thread Angus Leeming
On Thursday 31 January 2002 6:18 pm, Herbert Voss wrote: > Angus Leeming wrote: > > > Incidentally, the conversion process is slow because you're using > > ImageMagik's convert, I bet. It's much much quicker if you use the netpbm > > suite of converters. > > > I don't understand why all image

Re: graphix inset

2002-02-01 Thread Herbert Voss
Angus Leeming wrote: >>Much. Except for the reason old-graphics was dumped before new-graphics >>was functional -- maybe to force testers;) >> > > Not my choice, but it has indeed caused a flurry of activity. the only way to get it run ... ;-) Herbert -- http://www.lyx.org/help/

Re: graphix inset

2002-02-01 Thread Kayvan A. Sylvan
On Fri, Feb 01, 2002 at 01:54:41PM -0400, Garst R. Reese wrote: > Herbert Voss wrote: > > > > Garst R. Reese wrote: > > > > > Custom does not work. > > > > no problem here > > > > > When I set scale is does not persist over a file close. When I reopen > > > the file, custom is checked. > > >

Re: graphix inset - fix

2002-01-31 Thread Herbert Voss
Garst R. Reese wrote: >>>3. My preferences says to display in monochrome, the the graphics >>>dialogue defaults to color. attached a small fix, please apply. Herbert -- http://www.lyx.org/help/ Index: src/insets/ChangeLog

Re: graphix inset - fix

2002-02-01 Thread Angus Leeming
On Thursday 31 January 2002 6:45 pm, Herbert Voss wrote: > Garst R. Reese wrote: > > >>>3. My preferences says to display in monochrome, the the graphics > >>>dialogue defaults to color. > > > attached a small fix, please apply. I've committed both this fix and the bounding box one. Angus

graphix inset - bounding box fix

2002-01-31 Thread Herbert Voss
here comes another small fix to support file with bb-values at the end of the file. please apply Herbert -- http://www.lyx.org/help/ Index: src/frontends/controllers/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/f

Re: graphix inset - bounding box fix

2002-01-31 Thread Herbert Voss
Herbert Voss wrote: > Index: src/frontends/controllers/ControlGraphics.C [...] > + if (!con tains(getExtFromContents(file),"ps")) // bb exists? ^^^ sorry, a typo, should be !contains. Don't know how get it in ... Herbert -- http://www.lyx.org/help/