Re: Upgrade to New CJK-LyX-1.3.0

2003-03-06 Thread cghan
Hello, Angus: On Thu, 6 Mar 2003, Angus Leeming wrote: > Hmmm. This rings a bell. > CG did I see that you added a static boost::signal to the code? I > believe taht older gcc compilers had problems with these static > signals (generated incorrect code) but can't remember the details > anymore. A

Float in wrong environment

2003-03-06 Thread Darren Freeman
Dear list, I'm now using 1.3.1CVS and I worked out the problem with my document. A figure float, which was on its own line in the document, came before a "Description" environment. For whatever reason, the float was also in that environment although it wouldn't have been deliberate. So everythin

Re: Aussie status

2003-03-06 Thread Allan Rae
On 6 Mar 2003, Lars Gullik Bjønnes wrote: > I have just moved the web pages over to aussie. [...] > Please report all and any problems to me. The Customise cookies don't seem to work anymore. Perhaps you have: auto_globals = false (which I admit is a good thing) but our scripts currently

Re: [patch] reference frame

2003-03-06 Thread Alfredo Braunstein
John Levon wrote: > Tested, applied. > > thanks > john To you. Alfredo

Aussie status

2003-03-06 Thread Lars Gullik Bjønnes
I have just moved the web pages over to aussie. As part of this was alos to make aussie have a copy for the cvs repository. So next things are: - make viewcvs work again - make anoncvs work Please report all and any problems to me. -- Lgb

ÉÏÍøÍ¬Ê±Ò²ÄÜ׬Ǯ

2003-03-06 Thread bobo
只要在线就计数,1小时0.6美圆 !(已给出作弊 方法) 强烈推荐!只要在线就计数,1小时0.6美圆强烈推荐! 请班主不要删,你也可以注册赚钱,请相信我,谢谢 有兴趣一边上网一边赚钱吗? 如果你的上网时间每天长于5小时,那么通过以下方法可以为你赚回上网费用 请花少少时间看看这篇文章,这只会花费你很少时间。 1小时0.6美圆,在家里上网可以补贴上网费用! http://www.cashfiesta.com/php/join.php?ref=fengkaibo 有什么疑问可以和我联系,共同谈谈网上赚钱,越早赚的越多 Fiesta 公司简介:该公司是美国加利福尼亚伯克利市的

Re: [patch] reference frame

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 08:20:00PM +0100, Alfredo Braunstein wrote: > Found it. It seem that top_y(int) got called before the existence of any > row. Should be ok now. Tested, applied. thanks john

Re: Prosper

2003-03-06 Thread José Matos
On Thursday 06 March 2003 14:59, Bas Spitters wrote: > Dear Dekel, dear developers, > > Here are my two-cents: I have made a small adaptation of Dekel Tsur's > layout-file for prosper, a LaTeX-package for making PDF-presentation, > together with it small template file. It is useful for me. I hope

Re: [patch] reference frame

2003-03-06 Thread Alfredo Braunstein
Alfredo Braunstein wrote: > John Levon wrote: > >> No dice, scrolling through the user guide with the scroll bar gave me >> this : >> > > Damn, will look at it. Sorry. > Alfredo Found it. It seem that top_y(int) got called before the existence of any row. Should be ok now. Alfredo Ind

Re: [patch] reference frame

2003-03-06 Thread Alfredo Braunstein
John Levon wrote: > No dice, scrolling through the user guide with the scroll bar gave me > this : > Damn, will look at it. Sorry. Alfredo

Re: [patch] reference frame

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 06:44:51PM +0100, Alfredo Braunstein wrote: > Here it is. Please apply. > Alfredo No dice, scrolling through the user guide with the scroll bar gave me this : #6 0x081309b6 in LyXText::getRowNearY(int&) const (this=0x0, [EMAIL PROTECTED]) at lyxrow.h:151 #7 0x0

Re: New controllers ...

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 06:41:11PM +0100, Lars Gullik Bj?nnes wrote: > | > But works with the xforms frontend you say, so that suggests > | > something relatively trivial. Seems it was a bad compile after all that .Sorrty for the noise john

Re: [patch] reference frame

2003-03-06 Thread Alfredo Braunstein
John Levon wrote: > I think so, iff you mention *why* they're mutable, so cleanups on this > can come along. > > john Here it is. Please apply. Alfredo Index: BufferView_pimpl.C === RCS file: /cvs/lyx/lyx-devel/src/BufferVi

Re: New controllers ...

2003-03-06 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Thu, Mar 06, 2003 at 04:59:08PM +, Angus Leeming wrote: | | > But works with the xforms frontend you say, so that suggests | > something relatively trivial. | | Hmm. | | Can you really iterate along a C array with std::find_if ? Sure, why not?

Re: PROPOSAL: Seach and Replace dialog

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 01:36:00PM -0400, Garst R. Reese wrote: > Acroread does a forward search. If nothing is found it pops up a msg box > asking if you want to restart the search from the top of the doc. Seems > like a reasonable solution to me. Well. Mine just core dumps. And this isn't what

Re: New controllers ...

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 04:59:08PM +, Angus Leeming wrote: > But works with the xforms frontend you say, so that suggests > something relatively trivial. Hmm. Can you really iterate along a C array with std::find_if ? john

Re: New controllers ...

2003-03-06 Thread Alfredo Braunstein
Alfredo Braunstein wrote: > No insert->external in my menu. Moreover, on lyx startup the following > shows up: > > MenuItem(): LyX command `buffer-child-insert' does not exist. > MenuItem(): LyX command `external-insert' does not exist. > > Alfredo Forget what I've said (forgot to cvs update l

Re: [patch] reference frame

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 06:18:32PM +0100, Alfredo Braunstein wrote: > (this makes me shudder) It makes us weep. > I think it wont be easy. Should I prepare a patch with what I have now (your > ws correctio + john's)? I think so, iff you mention *why* they're mutable, so cleanups on this can co

Re: [patch] reference frame

2003-03-06 Thread Alfredo Braunstein
Lars Gullik Bjønnes wrote: > Can you check a bit more why removeRow() is constant? Perhaps that > should just change. > I don't know very well, but look: ab:~/lyx-devel/src$ grep mutable lyxtext.h mutable int height; mutable unsigned int width; mutable LyXFont current_f

Re: New controllers ...

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 05:08:24PM +, Angus Leeming wrote: > Maybe I forgot to commit lib/ui/default.ui Well you didn't forget, unless I mysteriously acquired the file from you somehow john

Re: [patch] reference frame

2003-03-06 Thread Lars Gullik Bjønnes
Alfredo Braunstein <[EMAIL PROTECTED]> writes: | | It works beautifully, and I think it's clean and the right way this time. | | I would apply it. ;) The only nitpick I have: can you make sure that there are two empty lines between functions? -- Lgb

Re: New controllers ...

2003-03-06 Thread Angus Leeming
Alfredo Braunstein wrote: > Angus Leeming wrote: > >> >> Well, I've just checked out cvs head here. It looks Ok to a quick >> glance... Can anybody out there with current cvs open the External >> dialog from the menu? Either frontend... >> > > No insert->external in my menu. Moreover, on lyx s

Re: [patch] reference frame

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 05:30:47PM +0100, Alfredo Braunstein wrote: > It works beautifully, and I think it's clean and the right way this time. Looks good to me, except please mention the units of the offset in the comment (that is "pixel offset" not "offset") regards john

Re: [patch] reference frame

2003-03-06 Thread Lars Gullik Bjønnes
Alfredo Braunstein <[EMAIL PROTECTED]> writes: | Ok, I've reworked the patch in the Row* version. That's is: | | private: | mutable Row * top_row; | mutable int top_row_offset_; | public: | int top_y() const | void top_y(int newy); | | I've needed to put them muta

Re: New controllers ...

2003-03-06 Thread Angus Leeming
John Levon wrote: > On Thu, Mar 06, 2003 at 04:36:43PM +, Angus Leeming wrote: > >> Strange. They did for me last night. Indded, I wouldn't have found >> that QExternal buglet with the Apply button otherwise. >> >> How about >> dialog-show-new-inset citation > > Works. > > Fails wi

Re: New controllers ...

2003-03-06 Thread Alfredo Braunstein
Angus Leeming wrote: > > Well, I've just checked out cvs head here. It looks Ok to a quick > glance... Can anybody out there with current cvs open the External > dialog from the menu? Either frontend... > No insert->external in my menu. Moreover, on lyx startup the following shows up: MenuItem

[patch] reference frame

2003-03-06 Thread Alfredo Braunstein
Ok, I've reworked the patch in the Row* version. That's is: private: mutable Row * top_row; mutable int top_row_offset_; public: int top_y() const void top_y(int newy); I've needed to put them mutable because removeRow() is declared constant (why?). Now in RemoveRo

Re: New controllers ...

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 04:36:43PM +, Angus Leeming wrote: > Strange. They did for me last night. Indded, I wouldn't have found > that QExternal buglet with the Apply button otherwise. > > How about > dialog-show-new-inset citation Works. Fails with external and include. regards j

Re: New controllers ...

2003-03-06 Thread Angus Leeming
John Levon wrote: > On Thu, Mar 06, 2003 at 04:15:40PM +, Angus Leeming wrote: > >> Hmmm. Is there an "external" in the c-string array in >> frontends/qt2/Dialogs3.C? > > There is. I don't think any of the new ones work. > >> Perhaps you'd try the xforms frontend too? > > Works fine. > >>

Re: Towards LyX 1.3.1 [status update #1]

2003-03-06 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > Could you try to provide a fix for 1.3.x? > > JMarc Here it is. AlfredoIndex: forkedcontr.C === RCS file: /cvs/lyx/lyx-devel/src/support/forkedcontr.C,v retrieving revision 1.6.2.1 diff -u -p -u

Re: New controllers ...

2003-03-06 Thread Angus Leeming
Angus Leeming wrote: > John Levon wrote: > >> On Thu, Mar 06, 2003 at 03:57:04PM +, Angus Leeming wrote: >> >>> > What do I have to do to make e.g. external dialog menu entry do >>> > something now ? >>> >>> Sorry I don't follow you. If you mean "selecting the External menu >>> entry should

Re: New controllers ...

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 04:15:40PM +, Angus Leeming wrote: > Hmmm. Is there an "external" in the c-string array in > frontends/qt2/Dialogs3.C? There is. I don't think any of the new ones work. > Perhaps you'd try the xforms frontend too? Works fine. > Sorry that I'm not more helpful but m

Re: Towards LyX 1.3.1 [status update #1]

2003-03-06 Thread Alfredo Braunstein
Angus Leeming wrote: > Alfredo Braunstein wrote: > >> Jean-Marc Lasgouttes wrote: >> >>> Could you try to provide a fix for 1.3.x? >>> >>> JMarc >> Thanks Angus. Yes, it's simply to replace ForkedcallsControler::timer with the current cvs version. I'll make the patch Alfredo

Re: New controllers ...

2003-03-06 Thread Angus Leeming
John Levon wrote: > On Thu, Mar 06, 2003 at 03:57:04PM +, Angus Leeming wrote: > >> > What do I have to do to make e.g. external dialog menu entry do >> > something now ? >> >> Sorry I don't follow you. If you mean "selecting the External menu >> entry should pop up the external dialog", the

Re: Towards LyX 1.3.1 [status update #1]

2003-03-06 Thread Angus Leeming
Alfredo Braunstein wrote: > Jean-Marc Lasgouttes wrote: > >> Could you try to provide a fix for 1.3.x? >> >> JMarc > > How can I do that? I would have to get the whole 1.3 tree? > > I suspect that it's simple to replace ForkedcallsControler::time > with its cvs HEAD version. Angus, am I right?

Re: New controllers ...

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 03:57:04PM +, Angus Leeming wrote: > > What do I have to do to make e.g. external dialog menu entry do > > something now ? > > Sorry I don't follow you. If you mean "selecting the External menu > entry should pop up the external dialog", then you need an entry in > d

Re: Towards LyX 1.3.1 [status update #1]

2003-03-06 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > Could you try to provide a fix for 1.3.x? > > JMarc How can I do that? I would have to get the whole 1.3 tree? I suspect that it's simple to replace ForkedcallsControler::time with its cvs HEAD version. Angus, am I right? Alfredo

Re: New controllers ...

2003-03-06 Thread Angus Leeming
John Levon wrote: > > What do I have to do to make e.g. external dialog menu entry do > something now ? Sorry I don't follow you. If you mean "selecting the External menu entry should pop up the external dialog", then you need an entry in defualt.ui that has "dialog-show-new-inset external". S

New controllers ...

2003-03-06 Thread John Levon
What do I have to do to make e.g. external dialog menu entry do something now ? john

Re: Towards LyX 1.3.1 [status update #1]

2003-03-06 Thread Jean-Marc Lasgouttes
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes: Alfredo> Jean-Marc Lasgouttes wrote: >> - don't cause a warning message to complain about starting an >> already running timer. Just don't start it ;-) Alfredo> I've just remembered that there was another mini fix to Alfredo> forke

Re: update to sciword.bind for lyx 1.3.0 and bug report

2003-03-06 Thread Jean-Marc Lasgouttes
> "Serge" == Serge Winitzki <[EMAIL PROTECTED]> writes: Serge> Dear LyX developers, I continue to use LyX on a daily basis and Serge> I was excited to see a new version 1.3 come out recently. Serge> Attached to this message are some updates to the files Serge> sciword.bind (the Scientific Wor

Re: QT-Frontend Buglet

2003-03-06 Thread John Levon
On Mon, Mar 03, 2003 at 03:56:30PM +0100, Michael Abshoff wrote: > 1.3.0qt2. The maximum number displayed is 9 with both frontends, but qt > lets one select a maximum of 20. > > I tracked this down to QPrefUIModule:353 there: Good spotting, fixed now. thanks john

Re: compile error in current cvs

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 04:15:04PM +0100, Alfredo Braunstein wrote: > /home/ab/lyx-devel/src/frontends/qt2/QDocument.C:245: cannot convert `bool' > to `BufferParams::AMS' in fixing now john

compile error in current cvs

2003-03-06 Thread Alfredo Braunstein
g++ -DHAVE_CONFIG_H -I. -I/home/ab/lyx-devel/src/frontends/qt2 -I../../../src -I/home/ab/lyx-devel/src/ -I/home/ab/lyx-devel/src/frontends/ -I/home/ab/lyx-devel/images -I/home/ab/lyx-devel/src/frontends/qt2/qt2 -I/usr/lib/qt-3.1/include -I/home/ab/lyx-devel/boost -I/home/ab/lyx-devel/src/frontends/

Re: Controler/View

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 03:10:15PM +, Angus Leeming wrote: > which will compile fine. However FormTabular expects to see > ControlTabular & controller() { > dynamic_cast(dialog().controller()); > } > which fails at run time because the dialog actually has a > Co

Re: Controler/View

2003-03-06 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 02:44:10PM +, Angus Leeming wrote: >> // Lazy instatiation. Only build the thing when a particular >> // dialog is requested. >> Dialog * Dialogs::build(string const & name) { >> if (!isValid(name)) >> return 0; >> >>

Prosper

2003-03-06 Thread Bas Spitters
Dear Dekel, dear developers, Here are my two-cents: I have made a small adaptation of Dekel Tsur's layout-file for prosper, a LaTeX-package for making PDF-presentation, together with it small template file. It is useful for me. I hope it is useful for others too. Any comments you have on this

Re: Controler/View

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 02:44:10PM +, Angus Leeming wrote: > // Lazy instatiation. Only build the thing when a particular > // dialog is requested. > Dialog * Dialogs::build(string const & name) { > if (!isValid(name)) > return 0; > > Dialog * dialog = new Dialo

Re: Upgrade to New CJK-LyX-1.3.0

2003-03-06 Thread Angus Leeming
Mike FABIAN wrote: > > #5  0x402b9d25 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.5 > #6  0x082cc2d7 in ~Pimpl (this=0x85b6200) at Toolbar_pimpl.C:99 > #7  0x08249b65 in ~Toolbar (this=0x85b5fe0) at Toolbar.C:41 Hmmm. This rings a bell. CG did I see that you added a static boost::signal

Re: Controler/View

2003-03-06 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 02:17:48PM +, Angus Leeming wrote: >> Do things become clearer? > > Not sure. > > But > > ViewCitation(Dialog & parent) : ViewBase(parent) {} > virtual void printcontroller() { > std::cout << "ViewCitation's controller

Re: Upgrade to New CJK-LyX-1.3.0

2003-03-06 Thread Mike FABIAN
[EMAIL PROTECTED] $B$5$s$O=q$-$^$7$?(B: (B (B> On Thu, 6 Mar 2003, Mike FABIAN wrote: (B>> (B>> There is one strange problem left. Always when I exit CJK-LyX, there (B>> is an error message "pure virtual method called" on standard output (B>> and it dumps core: (B>> (B>> [...] (B>>

Re: Controler/View

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 02:17:48PM +, Angus Leeming wrote: > Do things become clearer? Not sure. But ViewCitation(Dialog & parent) : ViewBase(parent) {} virtual void printcontroller() { std::cout << "ViewCitation's controller is " << getController().whoami()

Re: Controler/View

2003-03-06 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 01:20:00PM +, Angus Leeming wrote: >> > Hm.. what's the relation between Controlers and Views? 1:1, 1:n >> > or something different? >> >> Each dialog has one controller and one view. > > Can one View view different Controlers? Not often. Howe

Re: typedef a template method?

2003-03-06 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Thu, Mar 06, 2003 at 01:23:09PM +0100, Lars Gullik Bjønnes wrote: | > | I can't get the typedef to work. (See class ViewCitation in the | > | attached file). | > | > What is not working in this case? | | The problem is that it is not a type, but a

Re: typedef a template method?

2003-03-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | If I have this: | | class FormBase { | public: | template | Controller & getController() const | { return dynamic_cast(controller_); } | private: | ControllerBase & controller_; | }; | | class FormCitation : For

Re: Controler/View

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 01:20:00PM +, Angus Leeming wrote: > > Hm.. what's the relation between Controlers and Views? 1:1, 1:n or > > something different? > > Each dialog has one controller and one view. Can one View view different Controlers? Can one View view different controler types? Is

Re: Controler/View

2003-03-06 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 01:54:44PM +0100, Andre' Poenitz wrote: >> You need in the View access to the Controler without making all >> possible controler functions virtual in the ViewBase? > > Hm.. what's the relation between Controlers and Views? 1:1, 1:n or > something di

Re: lyx-devel src/: funcrequest.C funcrequest.h lyxlex.C lyxlex.h ...

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 02:07:45PM +0100, Jean-Marc Lasgouttes wrote: > What this does not do is provide a way to escape " characters in > strings. This is why I suggested to use lyxlex, although it is clearly > overkill... We can move to lyxlex as long as it does not show up in the header... An

Re: Controler/View

2003-03-06 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 01:00:33PM +, Angus Leeming wrote: >> Andre Poenitz wrote: >> >> > >> > Any problem with attached solution? >> >> You mean virtual printcontroller() ? > > A virtual "whoami". > >> In this case no. More generally yes since the different contro

Re: lyx-devel src/: funcrequest.C funcrequest.h lyxlex.C lyxlex.h ...

2003-03-06 Thread Jean-Marc Lasgouttes
> "poenitz" == poenitz <[EMAIL PROTECTED]> writes: poenitz> CVSROOT: /usr/local/lyx/cvsroot Module name: lyx-devel poenitz> Repository: lyx-devel/src/mathed/ Changes by: poenitz> [EMAIL PROTECTED] 03/02/26 19:03:48 poenitz> Modified files: lyx-devel/src/: funcrequest.C funcrequest.h poenitz>

Re: Controler/View

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 01:54:44PM +0100, Andre' Poenitz wrote: > You need in the View access to the Controler without making all possible > controler functions virtual in the ViewBase? Hm.. what's the relation between Controlers and Views? 1:1, 1:n or something different? Andre' -- Those who d

Re: Controler/View

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 01:00:33PM +, Angus Leeming wrote: > Andre Poenitz wrote: > > > > > Any problem with attached solution? > > You mean virtual printcontroller() ? A virtual "whoami". > In this case no. More generally yes since the different controllers > have very different contents

Re: typedef a template method?

2003-03-06 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 12:35:15PM +, Angus Leeming wrote: >> If I uncomment the typedef: >> class ViewCitation : public ViewBase { > > > Why are Controller and View separate classes? > > From what I see both hierarchies are parallel, so creating a > "ControllerAndVie

Re: Controler/View

2003-03-06 Thread Angus Leeming
Andre Poenitz wrote: > > Any problem with attached solution? You mean virtual printcontroller() ? In this case no. More generally yes since the different controllers have very different contents. Eg it doesn't make much sense to have vector & getListofCitations(); in ControlTabular.

Re: typedef a template method?

2003-03-06 Thread Angus Leeming
Andre Poenitz wrote: > And the real problem is that writing > > getController().whoami() > > is too much effort? Well, not really. But at the moment I have a hieracrchy of derived classes that does just this. I thought I'd try and get rid of the templatised middle class and was just exploring

Controler/View

2003-03-06 Thread Andre Poenitz
Any problem with attached solution? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson) #include #include class ControllerBase; class ViewBase; class Dialog { public: Dialog() : c_(0), v_(0) {}

Re: typedef a template method?

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 12:35:15PM +, Angus Leeming wrote: > If I uncomment the typedef: > class ViewCitation : public ViewBase { Why are Controller and View separate classes? >From what I see both hierarchies are parallel, so creating a "ControllerAndView" should remove lots of interdepende

Re: typedef a template method?

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 01:23:09PM +0100, Lars Gullik Bjønnes wrote: > | I can't get the typedef to work. (See class ViewCitation in the > | attached file). > > What is not working in this case? The problem is that it is not a type, but a function. Andre' -- Those who desire to give up Freedo

Re: typedef a template method?

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 12:26:14PM +, Angus Leeming wrote: > I can't get the typedef to work. (See class ViewCitation in the > attached file). > > > [I would not use macros for that, even if it doesn't work...] > > Hmm. I thought you'd say that ;-) Still it works, so I know a little > more.

Re: typedef a template method?

2003-03-06 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Andre Poenitz wrote: > | > | > On Thu, Mar 06, 2003 at 11:37:09AM +, Angus Leeming wrote: > | >> Can I define a shortcut in FormCitation.C. Something like: > | >> typedef getController controller; > | > > | > I thi

Re: typedef a template method?

2003-03-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Andre Poenitz wrote: | | > On Thu, Mar 06, 2003 at 11:37:09AM +, Angus Leeming wrote: | >> Can I define a shortcut in FormCitation.C. Something like: | >> typedef getController controller; | > | > I think so. What happens if you try? | | I can't g

Re: AMS patch

2003-03-06 Thread Dekel Tsur
On Thu, Mar 06, 2003 at 12:50:12PM +0100, Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 11:43:45AM +, John Levon wrote: > > Can you please describe for the idiot (me) what commonly deployed > > classes, available in lyx, use stuff that clashes with AMS ? Anything > > that requires ERT could ea

Re: typedef a template method?

2003-03-06 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 11:37:09AM +, Angus Leeming wrote: >> Can I define a shortcut in FormCitation.C. Something like: >> typedef getController controller; > > I think so. What happens if you try? I can't get the typedef to work. (See class ViewCitation in the attac

Re: PROPOSAL: Seach and Replace dialog

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 01:01:39PM +0100, Helge Hafting wrote: > "<-Find" and "Find->" should be obvoius enough. The button has > label text too. Look at the layout of the dialog. And it's ugly. regards john

Re: PROPOSAL: Seach and Replace dialog

2003-03-06 Thread Helge Hafting
John Levon wrote: On Thu, Mar 06, 2003 at 08:59:59AM +0100, Andre Poenitz wrote: I do not agree with this solution. The cost have having two buttons outweighs the benefits of a more convenient (rarer) search backwards. What's exactly the cost of "having a button" compared with "having a checkbox

Re: AMS patch

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 11:43:45AM +, John Levon wrote: > Can you please describe for the idiot (me) what commonly deployed > classes, available in lyx, use stuff that clashes with AMS ? Anything > that requires ERT could easily still use the checkbox thing ... \mho is e.g. a symbol both from

Re: AMS patch

2003-03-06 Thread Dekel Tsur
On Thu, Mar 06, 2003 at 12:20:34PM +0100, Andre Poenitz wrote: > > > Screaming NO. H***, what do you think I am talking about all the time? > > > If the user does not want AMS, there would be no way to suppress this. > > > > Go to Documents->Extra, deselect "Use AMS Math". I don't understand your

Re: AMS patch

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 12:37:13PM +0100, Andre Poenitz wrote: > > But are we sure that everybody really use and like amsmath? > > Surely not. AMS breaks some stuff by redefining environments and > introduces several hundred of new macros that break non-AMS-aware stuff. Can you please describe

Re: typedef a template method?

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 11:37:09AM +, Angus Leeming wrote: > Can I define a shortcut in FormCitation.C. Something like: > typedef getController controller; I think so. What happens if you try? [I would not use macros for that, even if it doesn't work...] Andre' -- Those who desire to give

Re: AMS patch

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 12:34:48PM +0100, Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 11:26:14AM +, John Levon wrote: > > A macro with some name *would not change* this value. > > But this would mean we would get AMS all the time, wouldn't it? Sure, unless the user turns it off themselve

Re: AMS patch

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 12:26:40PM +0100, Jean-Marc Lasgouttes wrote: > But are we sure that everybody really use and like amsmath? Surely not. AMS breaks some stuff by redefining environments and introduces several hundred of new macros that break non-AMS-aware stuff. That's the point of the wh

Re: AMS patch

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 11:26:14AM +, John Levon wrote: > A macro with some name *would not change* this value. But this would mean we would get AMS all the time, wouldn't it? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, eithe

typedef a template method?

2003-03-06 Thread Angus Leeming
If I have this: class FormBase { public: template Controller & getController() const { return dynamic_cast(controller_); } private: ControllerBase & controller_; }; class FormCitation : FormBase { public: void apply () { ControlComm

Re: AMS patch

2003-03-06 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> On Thu, Mar 06, 2003 at 10:33:44AM +, John Levon wrote: >> Heres the start of it, untested. Also needs tex2lyx fixup, and the >> FORMAT changes. Andre, it's in your hands now ;) Dekel> In my opinion, it is not a good idea: 1) It

Re: PROPOSAL: Seach and Replace dialog

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 12:23:09PM +0100, Jean-Marc Lasgouttes wrote: > So we could add a find-replace-backward lfun that is bound to C-r (in > emacs mode) and selects the checkbox by default. Super idea. john

Re: AMS patch

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 12:20:34PM +0100, Andre Poenitz wrote: > Whenever there was any macro that happened to be the name of a symbol from > msa or msb, the user got AMS, no matter whether he wanted it or not. As I read it, Dekel was not suggesting validate do anything *at all*. Dekel wanted thi

Re: PROPOSAL: Seach and Replace dialog

2003-03-06 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Thu, Mar 06, 2003 at 08:16:12AM +, John Levon wrote: >> Searching backwards is not very rare, but it is done less often. >> And there is a mnemonic for it. Andre> In vi I have / and ? for that. So we could add a find-replac

Re: AMS patch

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 11:12:52AM +, John Levon wrote: > On Thu, Mar 06, 2003 at 12:09:09PM +0100, Andre Poenitz wrote: > > > > 2) It is a good idea to always add the amsmath package when the user uses > > > math, even when no amsmath macros are used: > > > > Screaming NO. H***, what do you

Re: Qt buglet in External dialog

2003-03-06 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Wed, Mar 05, 2003 at 11:40:47AM +, Angus Leeming wrote: >> I find that I can apply from the 'Ok' button but that the 'Apply' >> button has no effect. Missing connection? John> Yup. JMarc ? Yup. JMarc

Re: Fixing coordinates reference

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 12:12:16PM +0100, Alfredo Braunstein wrote: > > Yep ok. Please embed those three vars in a little struct though, so its > > obvious they are entirely related. > > Sorry, yes to what? I've proposed two options. (and the one I like best is > not implemented yet and has only

Re: Fixing coordinates reference

2003-03-06 Thread Alfredo Braunstein
John Levon wrote: > Yep ok. Please embed those three vars in a little struct though, so its > obvious they are entirely related. Sorry, yes to what? I've proposed two options. (and the one I like best is not implemented yet and has only two vars: top_row_ and top_row_offset_). Alfredo

Re: -isystem on Solaris

2003-03-06 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "John" == John Levon <[EMAIL PROTECTED]> writes: | | John> On Sat, Feb 22, 2003 at 07:22:24PM -0800, Kayvan A. Sylvan | John> wrote: | >> > > * config/configure.in: remove the -isystem fiddling. Let's see | >> > > if Solaris people complain

Re: AMS patch

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 12:09:09PM +0100, Andre Poenitz wrote: > > 2) It is a good idea to always add the amsmath package when the user uses > > math, even when no amsmath macros are used: > > Screaming NO. H***, what do you think I am talking about all the time? > If the user does not want AMS,

Re: AMS patch

2003-03-06 Thread Andre Poenitz
On Thu, Mar 06, 2003 at 12:53:48PM +0200, Dekel Tsur wrote: > In my opinion, it is not a good idea: > 1) It complicates the code I don't think so. > 2) It is a good idea to always add the amsmath package when the user uses > math, even when no amsmath macros are used: Screaming NO. H***, what do

Re: pspell.m4

2003-03-06 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Wed, Mar 05, 2003 at 09:12:30PM +0100, Lars Gullik Bj?nnes John> wrote: >> Not mine. >> >> pspell-devel-0.12.2-14 pspell-0.12.2-14 aspell-de-0.1.1-15 >> aspell-no-0.3-4 aspell-0.33.7.1-16 aspell-en-gb-0.33.7.1-16 >> aspell-devel-0.33

Re: Fixing coordinates reference

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 12:01:42PM +0100, Alfredo Braunstein wrote: > If you ask why a row would be added or deleted before the top_y() position, > think about rebreaking of previous paragraphs because of image size > changing (it indeed happends often with previews), or latex error boxes > gettin

Re: Fixing coordinates reference

2003-03-06 Thread Alfredo Braunstein
John Levon wrote: > On Thu, Mar 06, 2003 at 11:39:10AM +0100, Alfredo Braunstein wrote: > >> What about keeping an up-to-date int top_row_, that is we increment >> top_row if we add a row before, decrement it if we delete a row before? > > Under what circumstances do we do anything before top_y(

Re: -isystem on Solaris

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 12:02:58PM +0100, Jean-Marc Lasgouttes wrote: > John, how much of the problem was really pspell.m4 adding > -I/usr/include in the search patch? I am not sure that the cause for > the problems we saw is really our use of -isystem. It might be that indeed. Dunno. john

Re: -isystem on Solaris

2003-03-06 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Sat, Feb 22, 2003 at 07:22:24PM -0800, Kayvan A. Sylvan John> wrote: >> > > * config/configure.in: remove the -isystem fiddling. Let's see >> > > if Solaris people complain... >> > > >> > > I am complaining. Can you put it back pleas

Re: AMS patch

2003-03-06 Thread John Levon
On Thu, Mar 06, 2003 at 12:53:48PM +0200, Dekel Tsur wrote: > For example, if you have a long numbered display formula, the formula text > is written over the number. Amsmath fixes this bug. Didn't know that. > - Enable the "use amsmath" button by default > - Remove the validate code that loads

  1   2   >