Re: [PATCH] Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-15 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> John Levon wrote: >> On Wed, Jun 26, 2002 at 12:56:33AM +0100, Jan Warnking wrote: >>> Basically, when using the "get Latex size" button in the graphics >>> dialog, a custom Latex Size of 90 % of text height gets converted >>> t

Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-11 Thread Jan Warnking
On Thu, 11 Jul 2002, John Levon wrote: > On Wed, Jun 26, 2002 at 12:56:33AM +0100, Jan Warnking wrote: > > > Basically, when using the "get Latex size" button in the graphics dialog, > > a custom Latex Size of 90 % of text height gets converted to a 90cm height > > for Lyx view. > > > > The abo

Re: [PATCH] Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-11 Thread Herbert Voss
Angus Leeming wrote: > You'll need to modify InsetGraphicsParams::as_grfxParams to take acount of > the work area width to pass to : > > void InsetGraphics::Cache::update(string const & file_with_path) > { > lyx::Assert(!file_with_path.empty()); > > string const path = OnlyPath(fil

Re: [PATCH] Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-11 Thread Herbert Voss
Angus Leeming wrote: > On Thursday 11 July 2002 4:17 pm, Herbert Voss wrote: > >>John Levon wrote: >> >>>On Thu, Jul 11, 2002 at 08:36:40AM +0200, Herbert Voss wrote: >>> attached a patch against cvs, should go into 1.2.1, too >>>Applied. JMarc will have to look at it for 1.2.1 >>> >>>O

Re: [PATCH] Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-11 Thread Angus Leeming
On Thursday 11 July 2002 4:17 pm, Herbert Voss wrote: > John Levon wrote: > > On Thu, Jul 11, 2002 at 08:36:40AM +0200, Herbert Voss wrote: > >>attached a patch against cvs, should go into 1.2.1, too > > > > Applied. JMarc will have to look at it for 1.2.1 > > > > One has to wonder if there isn't

Re: [PATCH] Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-11 Thread Herbert Voss
John Levon wrote: > On Thu, Jul 11, 2002 at 08:36:40AM +0200, Herbert Voss wrote: > > >>attached a patch against cvs, should go into 1.2.1, too >> > > Applied. JMarc will have to look at it for 1.2.1 > > One has to wonder if there isn't a better way to do this ... the best way is to pass la

Re: [PATCH] Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-11 Thread John Levon
On Thu, Jul 11, 2002 at 08:36:40AM +0200, Herbert Voss wrote: > attached a patch against cvs, should go into 1.2.1, too Applied. JMarc will have to look at it for 1.2.1 One has to wonder if there isn't a better way to do this ... > there is still the problem with the hiding gui. John, > can yo

Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-11 Thread Andre Poenitz
On Thu, Jul 11, 2002 at 02:25:13PM +0200, Juergen Vigna wrote: > Why is the updateInset not called inside inset()->setParams(...) and > when I don't change anything in the insetparams why do I have to call > a updateInset? Because setParams() is called setParams() and not setParamsAndCallUpdateIn

Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-11 Thread Juergen Vigna
John Levon wrote: > I can't see this changing any time soon to be honest - Jug ? Well this would be really easy one would have to call setUndo(bv, Undo::EDIT, bv->getLyXText()->cursor.par(), bv->getLyXText()->cursor.par()->next()); somewhere where the parameters are changed and I have

[PATCH] Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-10 Thread Herbert Voss
John Levon wrote: > On Wed, Jun 26, 2002 at 12:56:33AM +0100, Jan Warnking wrote: > > >>Basically, when using the "get Latex size" button in the graphics dialog, >>a custom Latex Size of 90 % of text height gets converted to a 90cm height >>for Lyx view. >> >>The above can be verified in

Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-10 Thread John Levon
On Wed, Jun 26, 2002 at 12:56:33AM +0100, Jan Warnking wrote: > Basically, when using the "get Latex size" button in the graphics dialog, > a custom Latex Size of 90 % of text height gets converted to a 90cm height > for Lyx view. > > The above can be verified inserting a graphic in an empty doc