Re: [13x patch]: graphics conversion

2003-09-15 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> status.13x says it all: Enable graphics conversion using the Angus> default convertDefault.sh converter when exporting, even if Angus> convertDefault.sh is not executable. Go for it. JMarc

[13x patch]: graphics conversion

2003-09-15 Thread Angus Leeming
status.13x says it all: Enable graphics conversion using the default convertDefault.sh converter when exporting, even if convertDefault.sh is not executable. The patch has been in the 1.4 tree since 28 August. It was created in response to this thread: http://article.gmane.org/gmane.editors.lyx

Re: [PATCH] graphics

2002-08-09 Thread John Levon
On Fri, Aug 09, 2002 at 08:30:09AM +0200, Herbert Voss wrote: > that is what I called "the nice committing policy of LyX" ... I don't like to apply patches that I don't understand of code I don't know, that's all ... no need to get het up about it. The stuff gets in eventually doesn't it ? reg

Re: [PATCH] graphics

2002-08-08 Thread Herbert Voss
John Levon wrote: > On Thu, Aug 08, 2002 at 09:34:16AM +0100, Angus Leeming wrote: > > >>I meant the comments in the mail. I haven't got the patch. Since you started >>this thread, I guess you have it, so apply it. >> > > well I was after making sure it's reviewed ... I don't have it any more

[PATCH] graphics

2002-07-25 Thread Herbert Voss
this patch fixes a bug when a user inserts a non jpg-pdf-png-eps-graphic and runs pdflatex. LyX by default exports the graphics to png, which is very ugly when the user has a vector-format like the one from grace or dia or xfig or this patch gives the user the possibility to decide which forma

Re: [patch] Graphics to use ostream not ostringstream

2002-07-23 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > Herbert Voss <[EMAIL PROTECTED]> writes: > > | Angus Leeming wrote: > >>>On Tuesday 23 July 2002 10:06 am, Lars Gullik Bjønnes wrote: >>> >>> Angus Leeming <[EMAIL PROTECTED]> writes: | On Monday 22 July 2002 8:16 pm, Lars Gullik Bjønnes wrote: >>>

Re: [patch] Graphics to use ostream not ostringstream

2002-07-23 Thread Lars Gullik Bjønnes
Herbert Voss <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: > >> On Tuesday 23 July 2002 10:06 am, Lars Gullik Bjønnes wrote: >> >>>Angus Leeming <[EMAIL PROTECTED]> writes: >>>| On Monday 22 July 2002 8:16 pm, Lars Gullik Bjønnes wrote: >>> >I think this patch should go in: > >>>| >>

Re: [patch] Graphics to use ostream not ostringstream

2002-07-23 Thread Angus Leeming
On Tuesday 23 July 2002 10:30 am, Herbert Voss wrote: > what for is it needed?? I don't have it. ??? Now you have /me/ worried. aleem@pneumon:graphics-> cvs update [EMAIL PROTECTED]'s password: cvs server: Updating . aleem@pneumon:graphics-> cvs diff [EMAIL PROTECTED]'s password: cvs server: D

Re: [patch] Graphics to use ostream not ostringstream

2002-07-23 Thread Herbert Voss
Angus Leeming wrote: > On Tuesday 23 July 2002 10:06 am, Lars Gullik Bjønnes wrote: > >>Angus Leeming <[EMAIL PROTECTED]> writes: >>| On Monday 22 July 2002 8:16 pm, Lars Gullik Bjønnes wrote: >> I think this patch should go in: >>| >>| Fair enough. Does it get rid of Lsstream.h too? No

Re: [patch] Graphics to use ostream not ostringstream

2002-07-23 Thread Angus Leeming
On Tuesday 23 July 2002 10:06 am, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | On Monday 22 July 2002 8:16 pm, Lars Gullik Bjønnes wrote: > >> I think this patch should go in: > | > | Fair enough. Does it get rid of Lsstream.h too? No, probably not. > > afaics Lsstrea

Re: [patch] Graphics to use ostream not ostringstream

2002-07-23 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Monday 22 July 2002 8:16 pm, Lars Gullik Bjønnes wrote: >> I think this patch should go in: > | Fair enough. Does it get rid of Lsstream.h too? No, probably not. afaics Lsstream.h is not included in this file. -- Lgb

Re: [patch] Graphics to use ostream not ostringstream

2002-07-23 Thread Angus Leeming
On Monday 22 July 2002 8:16 pm, Lars Gullik Bjønnes wrote: > I think this patch should go in: Fair enough. Does it get rid of Lsstream.h too? No, probably not. Angus

[patch] Graphics to use ostream not ostringstream

2002-07-22 Thread Lars Gullik Bjønnes
I think this patch should go in: Index: src/graphics/GraphicsConverter.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/GraphicsConverter.C,v retrieving revision 1.14 diff -u -p -r1.14 GraphicsConverter.C --- src/grap

Re: [PATCH] graphics

2002-07-17 Thread Herbert Voss
Garst R. Reese wrote: > Angus Leeming wrote: > > >>Well I don't imagine many people out there have a version of gs older than my >>venerable 5.50. >> >> > My problem was not with an old version of gs, but with people/software > that create Postscript V1.0 files such as Cadsoft Eagle. > http://w

Re: [PATCH] graphics

2002-07-17 Thread Angus Leeming
On Wednesday 17 July 2002 7:05 pm, Garst R. Reese wrote: > Garst, who has not yet succeeded in unsubscribing. There should be a line in the header to this mail: List-Unsubscribe: Angus

Re: [PATCH] graphics

2002-07-17 Thread Herbert Voss
Angus Leeming wrote: > On Wednesday 17 July 2002 6:36 pm, Herbert Voss wrote: > >>Angus Leeming wrote: >> >>>It strikes me that we could further simplify the LyX code base by using >>>gs to ascertain the bounding box info in ControlGraphics. Your code here >>>is a valient attempt but gs is the m

Re: [PATCH] graphics

2002-07-17 Thread Angus Leeming
On Wednesday 17 July 2002 6:36 pm, Herbert Voss wrote: > Angus Leeming wrote: > > It strikes me that we could further simplify the LyX code base by using > > gs to ascertain the bounding box info in ControlGraphics. Your code here > > is a valient attempt but gs is the master here and it'd make mo

Re: [PATCH] graphics

2002-07-17 Thread Herbert Voss
Angus Leeming wrote: > It strikes me that we could further simplify the LyX code base by using gs to > ascertain the bounding box info in ControlGraphics. Your code here is a > valient attempt but gs is the master here and it'd make more sense to use it. > > What do you think? gs? use versio

Re: [PATCH] graphics

2002-07-17 Thread Angus Leeming
On Wednesday 17 July 2002 6:22 pm, Herbert Voss wrote: > Angus Leeming wrote: > > On Wednesday 17 July 2002 6:07 pm, Herbert Voss wrote: > >>please apply, also for 1.2.1 > > > > I love patches like this ;-) > > > > However, I note that PS support is not disabled in the xforms image > > loader. > >

Re: [PATCH] graphics

2002-07-17 Thread Herbert Voss
Angus Leeming wrote: > On Wednesday 17 July 2002 6:07 pm, Herbert Voss wrote: > >>please apply, also for 1.2.1 >> > > I love patches like this ;-) > > However, I note that PS support is not disabled in the xforms image loader. > > Would you like me to disable it? Garst disabled it in his tr

Re: [PATCH] graphics

2002-07-17 Thread Angus Leeming
On Wednesday 17 July 2002 6:07 pm, Herbert Voss wrote: > please apply, also for 1.2.1 I love patches like this ;-) However, I note that PS support is not disabled in the xforms image loader. Would you like me to disable it? Angus

[PATCH] graphics

2002-07-17 Thread Herbert Voss
please apply, also for 1.2.1 Herbert -- http://www.lyx.org/help/ Index: src/graphics/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/ChangeLog,v retrieving revision 1.98 diff -u -r1.98 ChangeLog --- src/gra

Re: [PATCH] graphics stuff

2002-07-02 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> On 2 Jul 2002, Jean-Marc Lasgouttes wrote: >> > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> >> writes: >> Herbert> On Tue, 2 Jul 2002, Angus Leeming wrote: >> >> On Tuesday 02 July 2002 10:19 am, Jean-Marc Lasgouttes wrot

Re: [PATCH] graphics stuff

2002-07-02 Thread Herbert Voss
On 2 Jul 2002, Jean-Marc Lasgouttes wrote: > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > Herbert> On Tue, 2 Jul 2002, Angus Leeming wrote: > >> On Tuesday 02 July 2002 10:19 am, Jean-Marc Lasgouttes wrote: > > >> > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> > >> writes:

Re: [PATCH] graphics stuff

2002-07-02 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Herbert> We had a short discussion about that. look into the mail > Herbert> archive .. > > If you find this pointer, please let me now. I'd be interested to find > this patch, but I failed... > > JMarc Are you refering on this? Fortunately, I didn't find the time to

Re: [PATCH] graphics stuff

2002-07-02 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> On Tue, 2 Jul 2002, Angus Leeming wrote: >> On Tuesday 02 July 2002 10:19 am, Jean-Marc Lasgouttes wrote: > >> > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> >> writes: > Now (for 1.2.1) I would be interested by the now-myt

Re: [PATCH] graphics stuff

2002-07-02 Thread Herbert Voss
On Tue, 2 Jul 2002, Angus Leeming wrote: > On Tuesday 02 July 2002 10:19 am, Jean-Marc Lasgouttes wrote: > > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > Now (for 1.2.1) I would be interested by the now-mythical aspect ratio > > patch, that I lost at the time. When I asked you

Re: [PATCH] graphics stuff

2002-07-02 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> I sent parts of this patch more than once to the list and Herbert> wrote that it fixes bug(s). I know. I tried to keep the messages, but I lost some because I was away for too long. Please bear with me. Herbert> No one was int

Re: [PATCH] graphics stuff

2002-07-02 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Tuesday 02 July 2002 10:19 am, Jean-Marc Lasgouttes wrote: >> > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> >> writes: Now (for 1.2.1) I would be interested by the now-mythical >> aspect ratio patch, that I lost at the tim

Re: [PATCH] graphics stuff

2002-07-02 Thread Herbert Voss
On 2 Jul 2002, Jean-Marc Lasgouttes wrote: > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > Herbert> here comes a total diff of my graphics stuff, which I posted > Herbert> more than one time to the list in smaller pieces! It fixes > Herbert> several bugs. > > Herbert> If no one

Re: [PATCH] graphics stuff

2002-07-02 Thread Angus Leeming
On Tuesday 02 July 2002 10:19 am, Jean-Marc Lasgouttes wrote: > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > Now (for 1.2.1) I would be interested by the now-mythical aspect ratio > patch, that I lost at the time. When I asked you told me that I should > ask Angus, but I got no an

Re: [PATCH] graphics stuff

2002-07-02 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> here comes a total diff of my graphics stuff, which I posted Herbert> more than one time to the list in smaller pieces! It fixes Herbert> several bugs. Herbert> If no one is interested then let it be ... Of course you know we

Re: [PATCH] graphics stuff

2002-06-24 Thread Lars Gullik Bjønnes
Herbert Voss <[EMAIL PROTECTED]> writes: | here comes a total diff of my graphics stuff, which I posted more | than one time to the list in smaller pieces! It fixes several bugs. > | If no one is interested then let it be ... Did you ever answer Jean-Marcs question about changeExtension? (i.e. I

[PATCH] graphics stuff

2002-06-24 Thread Herbert Voss
here comes a total diff of my graphics stuff, which I posted more than one time to the list in smaller pieces! It fixes several bugs. If no one is interested then let it be ... Herbert -- http://www.lyx.org/help/ Index: src/ChangeLog =

Re: [PATCH] graphics

2002-06-18 Thread John Levon
On Mon, Jun 17, 2002 at 10:05:34PM +0200, Herbert Voss wrote: > please test and apply it, if it's ok. Applied, but there are two problems : 1. If I try to insert an e.g. .h file (silly, I know) then convert decides to produce its banner as output ... 2. If I remove convert from my path all tog

Re: [PATCH] graphics

2002-06-18 Thread Herbert Voss
John Levon wrote: On Mon, Jun 17, 2002 at 10:05:34PM +0200, Herbert Voss wrote: When LyX does not find a (user)defined converter it always tries to use convert. Unfortunately this patch means *.png etc. no longer show up in the file dialog. My proposed fix for this is to leave the mask as *.*

Re: [PATCH] graphics

2002-06-18 Thread John Levon
On Mon, Jun 17, 2002 at 10:05:34PM +0200, Herbert Voss wrote: > When LyX does not find a (user)defined converter it > always tries to use convert. Unfortunately this patch means *.png etc. no longer show up in the file dialog. My proposed fix for this is to leave the mask as *.* - we can't do mu

Re: [PATCH] graphics

2002-06-18 Thread John Levon
On Tue, Jun 18, 2002 at 08:44:42PM +0200, Herbert Voss wrote: > >>+// return DestroyTmpDir (tmpdir, false); // Why false? > >>+ > >>+ // changed it to true to get all temporary unzipped > >>+ // files deleted, too. Herbert 20020617 > >>+ return DestroyTmpDir (tmpdir, true); > >

Re: [PATCH] graphics

2002-06-18 Thread Herbert Voss
John Levon wrote: > On Mon, Jun 17, 2002 at 10:05:34PM +0200, Herbert Voss wrote: > > >>please test and apply it, if it's ok. >> > > I'm about to test this now. A couple of things : > > >>+ // do not post a message, let the calling function decide >>+ // what to do here ... >>+//

Re: [PATCH] graphics

2002-06-18 Thread John Levon
On Mon, Jun 17, 2002 at 10:05:34PM +0200, Herbert Voss wrote: > please test and apply it, if it's ok. I'm about to test this now. A couple of things : > + // do not post a message, let the calling function decide > + // what to do here ... > +// Alert::alert(_("Cannot convert

Re: [PATCH] graphics dialog

2002-02-12 Thread Herbert Voss
Angus Leeming wrote: >>Could we remove "Subfigure" and "Rotate" radio buttons? >>This decision could be made instead as follows. >>If "Title" is not emtpy, there's a subfigure; >>If the "Angle" is non-zero, the figure needs rotation. >> >>The file-tab act more intelligent this way. >> > > I agr

Re: [PATCH] graphics dialog

2002-02-12 Thread Dekel Tsur
On Tue, Feb 12, 2002 at 08:45:00AM +0900, R. Lahaye wrote: > > Could we remove "Subfigure" and "Rotate" radio buttons? > This decision could be made instead as follows. > If "Title" is not emtpy, there's a subfigure; No. It is possible to use subfigure with an empty title (just to get the (a),(b

Re: [PATCH] graphics dialog

2002-02-12 Thread Angus Leeming
On Monday 11 February 2002 11:45 pm, R. Lahaye wrote: > > Hi, > > I have streamlined the graphics dialog. Stretched the tabs to > equal sizes and removed some of the many frames, which I think > is a bit too much. Me too. This is very pretty! > Have a look at the attached png files. > The patc

Re: Graphics patch: "graphics/GraphicsImage.h: No such file or directory "

2002-02-11 Thread Angus Leeming
On Monday 11 February 2002 12:11 pm, R. Lahaye wrote: > Hi, > > I think something went wrong when Herbert's patch was applied > to the graphics dialog and inset. CVS doesn't compile anymore > and stops with the error in the subject. > > Should that file be shifted into CVS, but forgotten? > Or i

Graphics patch: "graphics/GraphicsImage.h: No such file or directory "

2002-02-11 Thread R. Lahaye
Hi, I think something went wrong when Herbert's patch was applied to the graphics dialog and inset. CVS doesn't compile anymore and stops with the error in the subject. Should that file be shifted into CVS, but forgotten? Or is my CVS broken? Regards, Rob.

Re: [Patch] graphics inset

2002-02-11 Thread Angus Leeming
On Monday 11 February 2002 8:00 am, R. Lahaye wrote: > Herbert Voss wrote: > > > fix the problem with zipped files, when they are handled > > by latex (with *.bb file) and not unzipped bx lyx. > > > > - small changes to the gui from Rob; > > - a wish from Konni > > - some more comments in the co

Re: [Patch] graphics inset

2002-02-10 Thread R. Lahaye
Herbert Voss wrote: > fix the problem with zipped files, when they are handled > by latex (with *.bb file) and not unzipped bx lyx. > > - small changes to the gui from Rob; > - a wish from Konni > - some more comments in the code ... > - other small changes Herbert, Forgive me making the graph

[Patch] graphics inset

2002-02-10 Thread Herbert Voss
fix the problem with zipped files, when they are handled by latex (with *.bb file) and not unzipped bx lyx. - small changes to the gui from Rob; - a wish from Konni - some more comments in the code ... - other small changes Herbert -- http://www.lyx.org/help/ graphics9.diff.gz Description:

Re: [PATCH] Graphics-dialog (bounding_box more intuitive)

2002-02-07 Thread Herbert Voss
R. Lahaye wrote: >>Why not simply: >> >>Top right (X, Y) ( , _ ) Units [pt] >>Bottom left (X, Y) ( , _ ) >> >>[ Get values from file ] >> > > OK! I follow your style. See png attachment. when nobody contradicts, I'll take this and put the last folder ("Extra") conte

Re: [PATCH] Graphics-dialog (bounding_box more intuitive)

2002-02-07 Thread R. Lahaye
> Why not simply: > > Top right (X, Y) ( , _ ) Units [pt] > Bottom left (X, Y) ( , _ ) > > [ Get values from file ] OK! I follow your style. See png attachment. Also attached a new patch to CVS. However, Herbert's latest patch (connect "Get values from file" and "Un

Re: [PATCH] Graphics-dialog (bounding_box more intuitive)

2002-02-07 Thread Herbert Voss
R. Lahaye wrote: > BTW: the "Units" and the "Get values from file" do not interact > properly, I believe. "Get values from file" sets all coordinates > (which seem to be always in pt) but the Units are untouched, > with strange things happening if the Units are "in" or "cm"! > "Get values from fi

Re: [PATCH] Graphics-dialog (bounding_box more intuitive)

2002-02-07 Thread R. Lahaye
Angus Leeming wrote: > > On Thursday 07 February 2002 2:53 pm, R. Lahaye wrote: > > > > I've changed the Graphics-dialog's bounding-box-tab into > > I know you aren't going to like me for this, but the pixmap is just daft! You're right, with both statements :). The "daft" pixmap is actually a

Re: [PATCH] Graphics-dialog (bounding_box more intuitive)

2002-02-07 Thread Angus Leeming
On Thursday 07 February 2002 2:53 pm, R. Lahaye wrote: > > Hi, > > I've changed the Graphics-dialog's bounding-box-tab into > a more intuitive layout (see attached png file). > > 1) One Units selection that applies to all coordinates. > > 2) Keyboard-key hopping between the coordinates should

[PATCH] Graphics-dialog (bounding_box more intuitive)

2002-02-07 Thread R. Lahaye
Hi, I've changed the Graphics-dialog's bounding-box-tab into a more intuitive layout (see attached png file). 1) One Units selection that applies to all coordinates. 2) Keyboard-key hopping between the coordinates should be possible by hitting the tab key. Alternatively, I made the "(" and ")"

Re: [Patch] Graphics dialog

2002-02-05 Thread Angus Leeming
On Monday 04 February 2002 6:01 pm, Herbert Voss wrote: > This should be my last major patch for the gui. I always miss some > more discussion from the others about the sense of all these options. > Or of still missing ones. > This patch does > apply button, scale for LyXView, finishing handle of

Re: [Patch] Graphics dialog

2002-02-04 Thread Herbert Voss
Garst R. Reese wrote: > Aspect ratio is two words in english. ok > Why separate settings for size in LyXView and Size? big images are annoying, when you use their real size for the view in LyX. > If LyXView is necessary, the Size should say something like Print Size. ok > Do not display

[Patch] Graphics dialog

2002-02-04 Thread Herbert Voss
This should be my last major patch for the gui. I always miss some more discussion from the others about the sense of all these options. Or of still missing ones. This patch does apply button, scale for LyXView, finishing handle of zipped files, other small changes and fixes now you should be ab

Re: [PATCH]Graphics dialog (Xforms) fix the "%"-bug

2002-02-03 Thread Herbert Voss
> Ah, Scale now persists. There is a problem with Custom %. It changes to > 0 cm when I close and open the dialogue box. But view ps gets the change > OK. When my old-graphics suddenly became new graphics, my Width 100% > became Width 100 p%, which was wrong. I assumed then that 100 p% meant > 100

Re: [PATCH]Graphics dialog (Xforms): OK-button never activated with non-existing filename.

2002-02-03 Thread Herbert Voss
Garst R. Reese wrote: > "Garst R. Reese" wrote: > > Ah, Scale now persists. There is a problem with Custom %. It changes to > 0 cm when I close and open the dialogue box. But view ps gets the change > OK. When my old-graphics suddenly became new graphics, my Width 100% > became Width 100 p%, whi

Re: [PATCH]Graphics dialog (Xforms): OK-button never activated with non-existing filename.

2002-02-02 Thread Herbert Voss
Garst R. Reese wrote: > Custom size has no effect here, and setting scale as a workaround does > not persist. > The scale values remain, the the button goes back to Custom on reload. > Since you say that it all works on your box, I can only assume that you > are working with something other than

Re: [PATCH]Graphics dialog (Xforms): OK-button never activated with non-existing filename.

2002-02-02 Thread Herbert Voss
Here is the patch, please apply. I've done also some changes to the gui to keep the graphics dialog finished and let 1.2.pre come! Herbert -- http://www.lyx.org/help/ graphic5.diff.gz Description: Binary data