Re: [PATCH] Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-11 Thread John Levon
On Thu, Apr 11, 2002 at 07:07:48PM +0100, Angus Leeming wrote: > > Received unhandled X11 event > > Type: 0xd Target: 0x35f > > I know little or nothing about such X11 messages. John Levon is the guru! *cough* Anyway, it's just the remnants of the BadWindow xforms bug, it looks like. It c

Re: [PATCH] Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-11 Thread Angus Leeming
On Thursday 11 April 2002 8:08 pm, Herbert Voss wrote: > Angus Leeming wrote: > > I'm looking at it at this instant. I'll address my issues and commit it > > in the next 20 mins or so. > > ok > > Angus, I forgot to ask for the sense of this message: > > Received unhandled X11 event > Type: 0xd Tar

Re: [PATCH] Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-11 Thread Herbert Voss
Angus Leeming wrote: > > I'm looking at it at this instant. I'll address my issues and commit it in > the next 20 mins or so. ok Angus, I forgot to ask for the sense of this message: Received unhandled X11 event Type: 0xd Target: 0x35f happens, when applying a graphic from the gui. He

Re: [PATCH] Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-11 Thread Angus Leeming
On Thursday 11 April 2002 7:54 pm, Herbert Voss wrote: > Angus Leeming wrote: > > I've done so. Needless to say I tweaked it a little. I decided that the > > graphics dialog could access the graphics cache direct and not go through > > the inset. > > ok, good idea. > > > Angus, what is with the fo

Re: [PATCH] Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-11 Thread Herbert Voss
Angus Leeming wrote: > I've done so. Needless to say I tweaked it a little. I decided that the > graphics dialog could access the graphics cache direct and not go through the > inset. ok, good idea. Angus, what is with the former graphics patch? Herbert -- http://www.lyx.org/help/

Re: [PATCH] Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-11 Thread Angus Leeming
On Thursday 11 April 2002 4:19 pm, Herbert Voss wrote: > Angus Leeming wrote: > > Or call them raw_dimensions and return a pair. Your call. > > please apply. > > Herbert I've done so. Needless to say I tweaked it a little. I decided that the graphics dialog could access the graphics cache direct

[PATCH] Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-11 Thread Herbert Voss
PROTECTED]> + + * ControlGraphics.C: read BoundingBox also from non (e)ps files. + 2002-04-08 Adrien Rebollo <[EMAIL PROTECTED]> * ControlAboutlyx.C (getVersion): two _() forgotten Index: src/frontends/controllers

Re: [PATCH] Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-11 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> R. Lahaye wrote: >> Talking about conversions again: do you know why we have two Grace >> formats listed in Preferences->Conversion->Formats? There is an >> entry for "GRACE" and for "agr". What is the difference between the >>

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-10 Thread Angus Leeming
On Wednesday 10 April 2002 5:26 pm, Herbert Voss wrote: > Angus Leeming wrote: > > why not leave the bounding box as blank until the file is loaded into LyX > > and then set it to 0 0 image->w image->h ? That'd do the trick wouldn't > > it? > > Am I right, that I have first to apply in the gui or

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-10 Thread Herbert Voss
Angus Leeming wrote: > why not leave the bounding box as blank until the file is loaded into LyX and > then set it to 0 0 image->w image->h ? That'd do the trick wouldn't it? Am I right, that I have first to apply in the gui or to close it before getting the bb? Herbert -- http://www.lyx.

[PATCH] Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-10 Thread Herbert Voss
R. Lahaye wrote: > Talking about conversions again: do you know why we have two Grace > formats listed in Preferences->Conversion->Formats? > There is an entry for "GRACE" and for "agr". What is the difference > between the two? Moreover, only "agr" is used in the "Converters". please apply HE

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-10 Thread Herbert Voss
R. Lahaye wrote: > >>please try the attached patch. it works perfectly for me, but >>it looks at bit too easy ... ;-) >> > > With this patch LyX gets indeed the boundingbox for my Grace files! > > However, when I now do a "Insert->Graphics..."

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-09 Thread Angus Leeming
t; > Just a small question, if I load an eps file this way is w,h w+h relative > to the boundingbox of the eps file? > > Jug We're talking about the "bounding box" of a non-postscript file. Currently you just have to guess. Angus

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-09 Thread Herbert Voss
On Tue, 9 Apr 2002, R. Lahaye wrote: > Angus Leeming wrote: > > > > why not leave the bounding box as blank until the file is loaded into LyX and > > then set it to 0 0 image->w image->h ? That'd do the trick wouldn't it? > > Why assuming the two zero values? Is that always correct? > Isn't it sa

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-09 Thread Juergen Vigna
On 09-Apr-2002 Angus Leeming wrote: > why not leave the bounding box as blank until the file is loaded into LyX and > then set it to 0 0 image->w image->h ? That'd do the trick wouldn't it? Just a small question, if I load an eps file this way is w,h w+h relative to the

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-09 Thread R. Lahaye
Angus Leeming wrote: > > why not leave the bounding box as blank until the file is loaded into LyX and > then set it to 0 0 image->w image->h ? That'd do the trick wouldn't it? Why assuming the two zero values? Is that always correct? Isn't it safer and better to check the real bounding-box valu

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-09 Thread Herbert Voss
On Tue, 9 Apr 2002, Angus Leeming wrote: > why not leave the bounding box as blank until the file is loaded into LyX and > then set it to 0 0 image->w image->h ? That'd do the trick wouldn't it? hm, seems to be absolutely easy ... Herbert

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-09 Thread Angus Leeming
On Tuesday 09 April 2002 6:59 am, Herbert Voss wrote: > R. Lahaye wrote: > > I'm using non-eps graphics files, Grace-"agr" that is. > > > > In the Bounding-Box tab of the Graphics dialog is the > > "Get values from file", which seems to have no effect on > > the "agr" file. > > > > However, the ag

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-08 Thread R. Lahaye
Herbert Voss wrote: > > please try the attached patch. it works perfectly for me, but > it looks at bit too easy ... ;-) Herbert, I've just discovered something funny and dangerous. If I have both files, agr and eps, e.g: paper/figures/my_figure.agr paper/figures/my_figure.eps then the

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-08 Thread R. Lahaye
Herbert Voss wrote: > > please try the attached patch. it works perfectly for me, but > it looks at bit too easy ... ;-) With this patch LyX gets indeed the boundingbox for my Grace files! However, when I now do a "Insert->Graphics...", I get the usual square on the ca

Re: Graphics: "Get boundingbox from file" for non-eps ?

2002-04-08 Thread Herbert Voss
R. Lahaye wrote: > I'm using non-eps graphics files, Grace-"agr" that is. > > In the Bounding-Box tab of the Graphics dialog is the > "Get values from file", which seems to have no effect on > the "agr" file. > > However, the agr file is converted to "eps"; then why not using > this eps file fo

Graphics: "Get boundingbox from file" for non-eps ?

2002-04-08 Thread R. Lahaye
Hi, I'm using non-eps graphics files, Grace-"agr" that is. In the Bounding-Box tab of the Graphics dialog is the "Get values from file", which seems to have no effect on the "agr" file. However, the agr file is converted to "eps"; then why not using this eps file for the getting the Bounding-B

Re: BoundingBox

1999-05-06 Thread Garst R. Reese
Kayvan Aghaiepour Sylvan wrote: > > > "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: > > Garst> No matter what paper size I select, the .ps file has a letter sized > Garst> bounding box. Back about 0.12pre7 this was not the case. Can somebody > Garst> enlighten me on how this gets tran

BoundingBox

1999-05-05 Thread Garst R. Reese
No matter what paper size I select, the .ps file has a letter sized bounding box. Back about 0.12pre7 this was not the case. Can somebody enlighten me on how this gets transmitted to the .ps file when I print to file? Also, the %%DocumentPaperSizes line is no longer there. LyX-1.0.2 Garst