[PATCH] Re: graphics cache file path horkage

2003-05-30 Thread John Levon
On Fri, May 30, 2003 at 02:24:22AM +0100, John Levon wrote: > > I believe we should *always* store an absolute path at > > runtime. At save time, we can convert it to a relative path. Fixed patch. It seems to work for me. It fixes the Save As bug. Please please test. john p.s. sorry, no, I'm n

Re: [PATCH] Re: Graphics: Viewing XPM and stray-EPS files ?!?!

2002-04-21 Thread R. Lahaye
Herbert Voss wrote: > > R. Lahaye wrote: > > > In addition, I have patched lib/configure.m4 further by adding > > more conversion-schemes for Grace. From Grace (agr) to EPS, > > PDF, PNG and JPEG (only if Grace itself and each of these output > > formats are available). > > > > Would that be of

Re: [PATCH] Re: Graphics: Viewing XPM and stray-EPS files ?!?!

2002-04-20 Thread Herbert Voss
R. Lahaye wrote: > In addition, I have patched lib/configure.m4 further by adding > more conversion-schemes for Grace. From Grace (agr) to EPS, > PDF, PNG and JPEG (only if Grace itself and each of these output > formats are available). > > Would that be of help? when does LyX needs a conversi

Re: [PATCH] Re: Graphics: Viewing XPM and stray-EPS files ?!?!

2002-04-20 Thread R. Lahaye
R. Lahaye wrote: > [Adding xpm to eps] > > Hi, > > I have modified lib/configure.m4 so that it also includes the conversion > from XPM to EPS by default, at least for ImageMagick's convert: > > convert XPM:$$i EPS:$$o > > Do we also need a netpbm equivalent? Angus? > > This conversion is

[PATCH] Re: Graphics: Viewing XPM and stray-EPS files ?!?!

2002-04-17 Thread R. Lahaye
[Adding xpm to eps] Hi, I have modified lib/configure.m4 so that it also includes the conversion from XPM to EPS by default, at least for ImageMagick's convert: convert XPM:$$i EPS:$$o Do we also need a netpbm equivalent? Angus? This conversion is required, when loading XPM files and vie

Re: [PATCH] Re: Graphics: file loading problems

2002-04-15 Thread Angus Leeming
On Monday 15 April 2002 5:37 pm, R. Lahaye wrote: > > Excuse me a momement, but why is that: > > (image_.height() - params.bb.yt) > > not > > params.bb.yb > > ? > > Ah, took me also some time to realize. > The picture is stored in memory from upper-left to lower-right > (see attach

Re: [PATCH] Re: Graphics: file loading problems

2002-04-15 Thread R. Lahaye
Angus Leeming wrote: > > On Monday 15 April 2002 4:22 pm, R. Lahaye wrote: > > Angus Leeming wrote: > > > Bingo! xforms 0.88 has noimage support. You're using the image loader I > > > wrote based on the libXpm library. The relevant code is to be found in > > > src/graphics/GraphicsImageXPM.C. >

Re: [PATCH] Re: Graphics: file loading problems

2002-04-15 Thread Angus Leeming
On Monday 15 April 2002 4:22 pm, R. Lahaye wrote: > Angus Leeming wrote: > > Bingo! xforms 0.88 has noimage support. You're using the image loader I > > wrote based on the libXpm library. The relevant code is to be found in > > src/graphics/GraphicsImageXPM.C. > > $Bingo^2$ !! Thanks for your hin

[PATCH] Re: Graphics: file loading problems

2002-04-15 Thread R. Lahaye
Angus Leeming wrote: > > Bingo! xforms 0.88 has noimage support. You're using the image loader I > wrote based on the libXpm library. The relevant code is to be found in > src/graphics/GraphicsImageXPM.C. $Bingo^2$ !! Thanks for your hints and help. Instead of dimension const * start_row

[PATCH] Re: Graphics: file loading problems

2002-04-12 Thread Herbert Voss
Angus Leeming wrote: > I'm sure someone, somewhere, will tell us to use the std algorithms, rather > than roll our own loops, but the above (or something close to it) should work. > > Alternatively, why not just add "agr" to that string! here is the alternative: Herbert -- http://w

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
Angus Leeming wrote: > > Or call them raw_dimensions and return a pair. Your call. please apply. Herbert -- http://www.lyx.org/help/ Index: src/frontends/controllers/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/

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 >>

[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: [patch] Re: graphics

2002-02-15 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> Andre Poenitz wrote: [...] >> [new lyx file, insert graphics (doesn't matter whether it exists, >> 'latex size' to 'custom' and '55%', click ok, click right on the >> picture. boom.] Herbert> [..] Herbert> there is a bug in U

Re: [patch] Re: graphics

2002-02-14 Thread Angus Leeming
On Thursday 14 February 2002 5:21 pm, Herbert Voss wrote: > Andre Poenitz wrote: > [...] > > > [new lyx file, insert graphics (doesn't matter whether it exists, 'latex > > size' to 'custom' and '55%', click ok, click right on the picture. boom.] > [..] > > > there is a bug in UpdateWidgetsFrom

[patch] Re: graphics

2002-02-14 Thread Herbert Voss
Andre Poenitz wrote: [...] > [new lyx file, insert graphics (doesn't matter whether it exists, 'latex > size' to 'custom' and '55%', click ok, click right on the picture. boom.] [..] there is a bug in UpdateWidgetsFromLength with this ?% units. But this can't be the reason for your crash. Her