Re: [Patch] XML sanitation part II

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 8:01 pm, Martin Vermeer wrote: > > > Something like this? > > > > Something like that yes. Although we can convert to pdf by way of the > > latex compiler so OutputParams::PDFLATEX would be wrong in that case (try > > running png images through latex ;-) > > > > Angus

Re: crash changing font

2003-11-26 Thread Alfredo Braunstein
Alfredo Braunstein wrote: > select text containing a text inset. C-E -> crash This seems to solve the problem... (small detail: ERT insets get font changes, even if they get ignored whatsoever. Easily solvable) Alfredo ? PosIterator.C-save ? PosIterator.h-save ? bfri.C ? textcursor.C-save ? t

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 8:27 pm, Martin Vermeer wrote: > > And the "newer" MVC you worked on is much better (wanna > > finish it off ? :) > > Link? The lyx sources? Most of the dialogs have been converted already to a scheme using frontends/controllers/Dialog.[Ch] as the main 'holding' cla

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Martin Vermeer
> And the "newer" MVC you worked on is much better (wanna > finish it off ? :) Link? - Martin pgp0.pgp Description: PGP signature

Re: [Patch] Class Header

2003-11-26 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 04:01:59PM +, Jose' Matos spake thusly: > > > Patch attached. > > That is perfect. :-) > As I have told you linuxdoc can be changed to use the same scheme, that will > be easy to change. :-) In principle. Doing so now would break all insets that are different for

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
> > Something like this? > > Something like that yes. Although we can convert to pdf by way of the latex > compiler so OutputParams::PDFLATEX would be wrong in that case (try running > png images through latex ;-) > > Angus Eh? But isn't this patch functionally neutral? (I intended it to be)

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 5:16 pm, John Levon wrote: > On Wed, Nov 26, 2003 at 04:44:09PM +, Angus Leeming wrote: > > > (wanna finish it off ? :) > > > > Not really. But I suppose I should. > > Wanna help ? > > Not really. But I suppose I should. Doxygen tells me that I ran out of steam wi

[patch] more work handled by redoCursor

2003-11-26 Thread Alfredo Braunstein
+ makes setFont do not use cursors (still crashes over insets though) Ok to go in? Regards, Alfredo ? bfri.C ? textcursor.C-save ? textcursor.h-save Index: text.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v retrievin

Re: [Patch] XML sanitation part II

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 5:54 pm, Martin Vermeer wrote: > On Wed, Nov 26, 2003 at 10:18:54AM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > > Meaning what? > > > > Meaning that I'm getting old and grumpy. > > > > > A routine FLAVOR Converters::getFlavor() ? > > > > Nice idea

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 10:18:54AM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > Meaning what? > > Meaning that I'm getting old and grumpy. > > > A routine FLAVOR Converters::getFlavor() ? > > Nice idea actually. Will it lead to cleaner code? > > -- > Angus Something like

Re: [patch] added space from paragraph to inset

2003-11-26 Thread John Levon
On Wed, Nov 26, 2003 at 04:44:09PM +, Angus Leeming wrote: > > (wanna finish it off ? :) > > Not really. But I suppose I should. > Wanna help ? Not really. But I suppose I should. john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 4:07 pm, John Levon wrote: > (wanna finish it off ? :) Not really. But I suppose I should. Wanna help ? Angus

Re: [patch] added space from paragraph to inset

2003-11-26 Thread John Levon
On Wed, Nov 26, 2003 at 02:27:10PM +, Angus Leeming wrote: > Second shrug. I spent two years of my life getting the Model-Controller-View > split working in a manner that didn't cause John to vommit. Now you tell me > that it its too difficult to use. I don't think it's such. It's quite a c

Re: [Patch] Class Header

2003-11-26 Thread Jose' Matos
On Wednesday 26 November 2003 14:40, Martin Vermeer wrote: > > > > " PUBLIC \"-//OASIS//DTD DocBook V4.1//EN\"" for SGML docbook > > > > " system" for linuxdoc > > > > " PUBLIC \"-//AGU//DTD article American Geophysical Union DTD > > > > version 3.42//EN" for AGU > > > > " PUBLIC \"-//W3C//...X

crash changing font

2003-11-26 Thread Alfredo Braunstein
select text containing a text inset. C-E -> crash I can feel a PosIterator coming... Alfredo

Re: commenting a figure float (bug?)

2003-11-26 Thread Juergen Spitzmueller
Angus Leeming wrote: Christian Ridderström wrote: When you mean "comment", do you mean that the latex file contains %% This is the code in a comment %% with a \includegraphics{foobar} rather than just a LyX-note that outputs nothing at all? Um... I think he means the paragraph style "Comment"...

Re: commenting a figure float (bug?)

2003-11-26 Thread Nirmal Govind
When you mean "comment", do you mean that the latex file contains %% This is the code in a comment %% with a \includegraphics{foobar} It's a \begin{comment} as Juergen pointed out.. rather than just a LyX-note that outputs nothing at all? Nope.. it's there in the tex file alright.. Could you fil

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 2:33 pm, Andre Poenitz wrote: > > Second shrug. I spent two years of my life getting the > > Model-Controller-View split working in a manner that didn't cause John to > > vommit. Now you tell me that it its too difficult to use. > > I want to attack neither you nor you

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Andre Poenitz
On Wed, Nov 26, 2003 at 02:27:10PM +, Angus Leeming wrote: > > That's neither desirable nor necessary. > > If I had to compute 1+2 in my Gui/Core framework I'd use: > > > > #include "ui.h" > > > > void sum(ui & D) > > { > > int i1, i2; > > D.in >> i1 >> i2; >

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 2:13 pm, Andre Poenitz wrote: > On Wed, Nov 26, 2003 at 01:55:48PM +, Angus Leeming wrote: > > > This pure Tcl/Tk solution might be a bit unfair to compare with, but I > > > can assure you that it takes me about ten minutes to add a new module > > > (includeing C++

[Patch] Class Header

2003-11-26 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 07:55:11AM +, Jose' Matos spake thusly: ... > > > and/or adding a new attribute to the layout class describing its header. > > > This is also be usefull to linuxdoc. > > > > > > " PUBLIC \"-//OASIS//DTD DocBook V4.1//EN\"" for SGML docbook > > > " system" for linuxd

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Andre Poenitz
On Wed, Nov 26, 2003 at 01:55:48PM +, Angus Leeming wrote: > > This pure Tcl/Tk solution might be a bit unfair to compare with, but I > > can assure you that it takes me about ten minutes to add a new module > > (includeing C++ code) to my long-standing 'toy' application which is a > > Tcl/Tk G

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 1:46 pm, Andre Poenitz wrote: > > Which bit in particular? > > Let me give you an example. > > A 'full blown GUI application' with two buttons (quit, and one that > prints 'hello') looks like > > frame .f > pack .f > > button .f.b1 -text Quit -fg red

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Andre Poenitz
On Wed, Nov 26, 2003 at 12:15:14PM +, Angus Leeming wrote: > Andre Poenitz wrote: > > > > > Idea is similar to the 'pagebreak' and 'hline' stuff: Make the core > > leaner and usage of this kind of special formatting more flexible. > > > > The inset as such seems to work (reading/writing/expo

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 10:18:54AM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > > Meaning what? > > Meaning that I'm getting old and grumpy. > > > A routine FLAVOR Converters::getFlavor() ? > > Nice idea actually. Will it lead to cleaner code? It will once we have more than t

Re: startpit & Co

2003-11-26 Thread John Levon
On Wed, Nov 26, 2003 at 12:39:52PM +0100, Lars Gullik Bj?nnes wrote: > Oh my, you are testy these days. I'm practising my Scrooge for xmas, of course ! john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.

[patch] remove some cursor fiddling

2003-11-26 Thread Alfredo Braunstein
redoCursor takes care of that now Alfredo ? bfri.C ? textcursor.C-save ? textcursor.h-save Index: text.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v retrieving revision 1.499 diff -u -p -u -r1.499 text.C --- text.C 25

Re: [patch] added space from paragraph to inset

2003-11-26 Thread Angus Leeming
Andre Poenitz wrote: > > Idea is similar to the 'pagebreak' and 'hline' stuff: Make the core > leaner and usage of this kind of special formatting more flexible. > > The inset as such seems to work (reading/writing/export/insert by > LFUN). > > This also splits the paragraph dialog into the rem

Re: startpit & Co

2003-11-26 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Wed, Nov 26, 2003 at 02:12:16AM +0100, Lars Gullik Bj?nnes wrote: > >> | On Tue, Nov 25, 2003 at 06:02:51PM +0100, Lars Gullik Bj?nnes wrote: >> > >> >> I guess it has something to do with Captain Morgan being a brand of >> >> Rum, and a nice way to reme

Re: CVS lyx easy crash

2003-11-26 Thread Andre Poenitz
On Tue, Nov 25, 2003 at 03:30:34PM -0800, Kayvan A. Sylvan wrote: > On Tue, Nov 25, 2003 at 08:10:53AM -0800, Kayvan A. Sylvan wrote: > > lyx newfile.lyx > > Insert->Table (hit OK) > > > > LyX crashes. > > Other people are seeing this, right? Fixed now. Andre' -- Those who desire to give up F

Re: [Patch] XML sanitation part II

2003-11-26 Thread Angus Leeming
Martin Vermeer wrote: > Meaning what? Meaning that I'm getting old and grumpy. > A routine FLAVOR Converters::getFlavor() ? Nice idea actually. Will it lead to cleaner code? -- Angus

Re: Window resize is broken

2003-11-26 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Dienstag, 25. November 2003 18:00, Michael Schmitt wrote: > Hello, > > start LyX, load the user manual, maximize the LyX window => the right > half of the LyX window in not drawn (correctly). > > Actually, it looks like the width of the text area is fixed as L

Re: [patch] changeDepth + updateCounters

2003-11-26 Thread Alfredo Braunstein
On Wednesday 26 November 2003 08:58, Andre Poenitz wrote: > On Tue, Nov 25, 2003 at 10:41:50PM +, Angus Leeming wrote: > > > 2) the updateCounters fix (do we want it or is there another fix in > > > view?) > > > > I think that André gave this his blessing. > > Me too. Applied. Alfredo

Re: CVS lyx easy crash

2003-11-26 Thread Andre Poenitz
On Wed, Nov 26, 2003 at 10:55:00AM +0200, Martin Vermeer wrote: > On Wed, Nov 26, 2003 at 08:20:02AM +0100, Alfredo Braunstein spake thusly: > > > On Wednesday 26 November 2003 00:30, Kayvan A. Sylvan wrote: > > > > > > lyx newfile.lyx > > > > Insert->Table (hit OK) > > > > > > > > LyX crashes.

Re: CVS lyx easy crash

2003-11-26 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 08:20:02AM +0100, Alfredo Braunstein spake thusly: > On Wednesday 26 November 2003 00:30, Kayvan A. Sylvan wrote: > > > > lyx newfile.lyx > > > Insert->Table (hit OK) > > > > > > LyX crashes. > > > > Other people are seeing this, right? > > right. > > Alfredo Yes. Happ

Re: CVS lyx easy crash

2003-11-26 Thread Andre Poenitz
On Tue, Nov 25, 2003 at 03:30:34PM -0800, Kayvan A. Sylvan wrote: > On Tue, Nov 25, 2003 at 08:10:53AM -0800, Kayvan A. Sylvan wrote: > > lyx newfile.lyx > > Insert->Table (hit OK) > > > > LyX crashes. > > Other people are seeing this, right? Yes. Andre'

Re: [Patch] XML sanitation part II

2003-11-26 Thread Jose' Matos
On Tuesday 25 November 2003 20:28, Angus Leeming wrote: > > > > Does that mean adding a method makeXml(), analoguous to > > usePdflatex() in Converters? > > Yuck! Nothing personal, but I'd rather see Alfredo's 'flavours' > maturing into some real code. So we do. I am still waiting since last mee

Re: [Patch] XML sanitation part II

2003-11-26 Thread Jose' Matos
On Tuesday 25 November 2003 19:00, Martin Vermeer wrote: > On Wed, Nov 19, 2003 at 05:00:25PM +, Jose' Matos spake thusly: > > With all the cleaning your cleaning going on I am tempted to rename > > docbook to SGML and the make docbook as an instance of that. :-) > > > > The support for xml

Re: [patch] changeDepth + updateCounters

2003-11-26 Thread Andre Poenitz
On Tue, Nov 25, 2003 at 10:41:50PM +, Angus Leeming wrote: > > 2) the updateCounters fix (do we want it or is there another fix in > > view?) > > I think that André gave this his blessing. Me too. Andre'

lag

2003-11-26 Thread Alfredo Braunstein
Mails to lyx-devel are arriving with precisely 1 h lag. I'll continue on [EMAIL PROTECTED] Alfredo

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
On Tue, Nov 25, 2003 at 08:28:46PM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > >> The support for xml can be done with the flavour dialect. > >> This will add > >> > >> in the begin and take care of specific xml details inside. > > > > Does that mean adding a method makeXml()

Re: [patch] changeDepth + updateCounters

2003-11-26 Thread Alfredo Braunstein
John Levon wrote: > On Tue, Nov 25, 2003 at 09:57:01PM +0100, Alfredo Braunstein wrote: > >> 1) it splits changeDepth into >> >> bool changeDepthAllowed and >> void changeDepth >> >> and tries to use more understandable code. changeDepthAllowed is >> potentiallty a bit faster than before. > >

Re: CVS lyx easy crash

2003-11-26 Thread Alfredo Braunstein
On Wednesday 26 November 2003 00:30, Kayvan A. Sylvan wrote: > > lyx newfile.lyx > > Insert->Table (hit OK) > > > > LyX crashes. > > Other people are seeing this, right? right. Alfredo

Re: [Patch] XML sanitation part II

2003-11-26 Thread Alfredo Braunstein
Angus Leeming wrote: > Yuck! Nothing personal, but I'd rather see Alfredo's 'flavours' > maturing into some real code. > > Ahh well, given that Christmas is still some time off, I guess that > I'll have to wait for my presents. I don't know if Santa is subscribed to this list, though ;-) Alfre