Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Christian Ridderström
On Wed, 30 Jul 2003, Juergen Spitzmueller wrote: > Christian Ridderström wrote: > > Similarly, right clicking on one of the first three types of notes allows > > you to change the type to one of the first three, but not to margin- or > > footnote... > > > > Is there a reason for the above, or is j

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 10:28:43PM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > > On Wed, Jul 30, 2003 at 03:56:36PM +0200, Juergen Spitzmueller spake > > thusly: > >> > >> Martin Vermeer wrote: > >> > Better this way? > >> > >> I'll keep you busy ;-) > > > > OK! > > > > -

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Angus Leeming
Martin Vermeer wrote: > On Wed, Jul 30, 2003 at 03:56:36PM +0200, Juergen Spitzmueller spake > thusly: >> >> Martin Vermeer wrote: >> > Better this way? >> >> I'll keep you busy ;-) > > OK! > > - internationalization support to insetnote and its dialog, > using Angus' approach and Jürgen's pat

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 03:56:36PM +0200, Juergen Spitzmueller spake thusly: > > Martin Vermeer wrote: > > Better this way? > > I'll keep you busy ;-) OK! - internationalization support to insetnote and its dialog, using Angus' approach and Jürgen's patch - definable colours for Comment and Gre

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Angus Leeming
On Wednesday 30 July 2003 4:10 pm, Martin Vermeer wrote: > > Sure. But, having grey text on a grey background might be a little hard > > to read. > > A > > But the background wouldn't be grey, would it? It would be the *inset* > background, not the *button* background. Oh, I see. Why is that hard

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread John Levon
On Wed, Jul 30, 2003 at 06:23:19PM +0200, Juergen Spitzmueller wrote: > >Maybe an alternative name could be: "Internal note" > > We just changed all names. But there are pretty clear tooltips in both > frontends. My preferred name would be "Author Note" actually. I think it's most understan

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Angus Leeming
On Wednesday 30 July 2003 4:30 pm, Martin Vermeer wrote: > On Wed, Jul 30, 2003 at 05:00:19PM +, Angus Leeming spake thusly: > > On Wednesday 30 July 2003 4:16 pm, Martin Vermeer wrote: > > ... > > > > ControlNote::note_gui_tokens(ids_, gui_names_); > > > > And just because it is declared/d

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Juergen Spitzmueller
Christian Ridderström wrote: > * Lyx Note - For internal use, e.g. you could put a calculation or >printing instructions there. >This type of note will never appear in the output. Right. The good old note inset. >Maybe an alternative name could be: "Internal note" We just changed all

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 05:00:19PM +, Angus Leeming spake thusly: > > On Wednesday 30 July 2003 4:16 pm, Martin Vermeer wrote: ... > > ControlNote::note_gui_tokens(ids_, gui_names_); > > And just because it is declared/defined in ControlNote.h,C, why do you think > it is a member of th

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Juergen Spitzmueller
Angus Leeming wrote: > Martin Vermeer wrote: > > Ah! Yes, these are standard tokens and should not be translated. But > > we need "user names" in locale to present in the menu. Hmmm... > > Add a function to ControlNote.[Ch] Or, since QNote does note use those strings anyway (we have radiobuttons),

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Angus Leeming
On Wednesday 30 July 2003 4:16 pm, Martin Vermeer wrote: > I did this: > > > --- ControlNote.C > void note_gui_tokens(vector & ids, vector & gui_names) > { > char const * const ids_[] = {"note", "comment", "greyedout"}; > size_t const ids_size = sizeof(ids_) / sizeof(char *); > char con

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 03:24:09PM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > >> controller().params().type = fl_get_choice_text(dialog_->choice_type); > >> will just break when > >> _("Note|Comment|Greyedout"); > >> gets translated. > > > > Ah! Yes, these are standard toke

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Juergen Spitzmueller
Christian Ridderström wrote: > Similarly, right clicking on one of the first three types of notes allows > you to change the type to one of the first three, but not to margin- or > footnote... > > Is there a reason for the above, or is just that it hasn't been done yet? This has been extensively d

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 04:05:35PM +, Angus Leeming spake thusly: > On Wednesday 30 July 2003 3:21 pm, Martin Vermeer wrote: > > On Wed, Jul 30, 2003 at 03:38:48PM +, Angus Leeming spake thusly: > > > Martin Vermeer wrote: > > > > No particular reason. Make them symbolic if you like (actu

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Christian Ridderström
I haven't been paying much attention to this thread, so sorry if this is an old issue. I just checked the latest CVS, and it looks nice with Insert->Note->... (although it's not obvious what's what in the submenu). Anyway, how come we have: Insert->Note->Lyx Note ->

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Juergen Spitzmueller
Martin Vermeer wrote: > > All that is stopping this happening is the brain-dead fact that we don't > > compute the shadow colours on the bevelled button but rather require them > > to be specified. > A sensible solution to IMO an entirely different (but legitimate) > problem. A _very_ legitimate

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Angus Leeming
On Wednesday 30 July 2003 3:21 pm, Martin Vermeer wrote: > On Wed, Jul 30, 2003 at 03:38:48PM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > > No particular reason. Make them symbolic if you like (actually it > > > would be great if you could set the *contained text* (not the butt

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 03:38:48PM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > > No particular reason. Make them symbolic if you like (actually it > > would be great if you could set the *contained text* (not the button > > text and not thr background!) to gray. > > All that

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Angus Leeming
Martin Vermeer wrote: > No particular reason. Make them symbolic if you like (actually it > would be great if you could set the *contained text* (not the button > text and not thr background!) to gray. All that is stopping this happening is the brain-dead fact that we don't compute the shadow co

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Angus Leeming
Martin Vermeer wrote: >> controller().params().type = fl_get_choice_text(dialog_->choice_type); >> will just break when >> _("Note|Comment|Greyedout"); >> gets translated. > > Ah! Yes, these are standard tokens and should not be translated. But > we need "user names" in locale to present in the m

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Jose' Matos
On Wednesday 30 July 2003 14:39, Martin Vermeer wrote: > > About AGU, what about our XML unification project? :-) > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg51287.html Also in Chemnitz I spoked with Jean-Marc about unifying the textclasses for the different backends. Thi

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Jose' Matos
On Wednesday 30 July 2003 14:39, Martin Vermeer wrote: > > It's always very nice and motivating to get feedback*). I'm trying to > integrate my free software work with my job work, in this case being > on the AGU infotech committee. Also makes it easier to "sell" this use > of my time. As it doe

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 03:56:36PM +0200, Juergen Spitzmueller spake thusly: > > Martin Vermeer wrote: > > Better this way? > > I'll keep you busy ;-) > > The attached patch adds i10n support for the inset labels and gives them our > new names. BTW why should the color of comment depend on note

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Jose' Matos
On Wednesday 30 July 2003 13:56, Juergen Spitzmueller wrote: > José Abílio Oliveira Matos wrote: > > Actually linuxdoc also has support for note. :-) Ignore it, it has but it is different from what we intend to. What I meant is the linuxdoc has support for comment. > But not for greyedout ob

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Better this way? I'll keep you busy ;-) The attached patch adds i10n support for the inset labels and gives them our new names. BTW why should the color of comment depend on note and why is the color of greyedout hardcoded? Furthermore, I think that you should update th

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Andre Poenitz
On Wed, Jul 30, 2003 at 03:56:48PM +0300, Martin Vermeer wrote: > Index: src/factory.C > === > RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/factory.C,v > retrieving revision 1.41 > diff -u -p -r1.41 factory.C > --- src/factory.C

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 01:45:20PM +0100, José Abílio Oliveira Matos spake thusly: > > On Wed, Jul 30, 2003 at 03:56:48PM +0300, Martin Vermeer wrote: > > On Wed, Jul 30, 2003 at 02:10:58PM +0200, Juergen Spitzmueller spake thusly: > > > > > > Juergen Spitzmueller wrote: > > > > BTW: is "Note" >

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Juergen Spitzmueller
> On Wed, Jul 30, 2003 at 03:56:48PM +0300, Martin Vermeer wrote: > > Better this way? Yes. José Abílio Oliveira Matos wrote: > Actually linuxdoc also has support for note. :-) But not for greyedout obviously (?) Are text color changes not supported by docbbok and linuxdoc? Juergen.

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread José Abílio Oliveira Matos
On Wed, Jul 30, 2003 at 03:56:48PM +0300, Martin Vermeer wrote: > On Wed, Jul 30, 2003 at 02:10:58PM +0200, Juergen Spitzmueller spake thusly: > > > > Juergen Spitzmueller wrote: > > > BTW: is "Note" > "Yellow Note", "LaTeX Comment", "Greyedout" now our > > > official terminology[1] > > > > We sh

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> On Wed, Jul 30, 2003 at 02:10:58PM +0200, Juergen Spitzmueller Martin> spake thusly: >> >> Juergen Spitzmueller wrote: >> > BTW: is "Note" > "Yellow Note", "LaTeX Comment", "Greyedout" now >> our > official terminology[1] >> >>

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 02:10:58PM +0200, Juergen Spitzmueller spake thusly: > > Juergen Spitzmueller wrote: > > BTW: is "Note" > "Yellow Note", "LaTeX Comment", "Greyedout" now our > > official terminology[1] > > We should probably also take into account that Comment also works with > Docbook,

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > BTW: is "Note" > "Yellow Note", "LaTeX Comment", "Greyedout" now our > official terminology[1] We should probably also take into account that Comment also works with Docbook, so "LaTeX Comment" might be a bit irritating (just "Comment" is better). Juergen.

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > It would be mice to make sure that the default is "Note" when there is > no argument. Yes. And please also add shortcuts to the submenu items. BTW: is "Note" > "Yellow Note", "LaTeX Comment", "Greyedout" now our official terminology[1]? If so, I'll change the qt dial

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Angus Leeming
On Wednesday 30 July 2003 12:12 pm, Martin Vermeer wrote: > On Wed, Jul 30, 2003 at 12:49:56PM +, Angus Leeming spake thusly: > > Jean-Marc Lasgouttes wrote: > > > It would be mice to make sure that the default is "Note" when there is > > > no argument. > > > > Because mouses eat Notes? > > > >

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 12:49:56PM +, Angus Leeming spake thusly: > > Jean-Marc Lasgouttes wrote: > > It would be mice to make sure that the default is "Note" when there is > > no argument. > > Because mouses eat Notes? > > -- > Angus No I think he has a point. You *can* use the minibuffer

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > It would be mice to make sure that the default is "Note" when there is > no argument. Because mouses eat Notes? -- Angus

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> ...as requested by Juergen. It was ridiculously simple after Martin> all. OK to commit? case LFUN_INSERT_NOTE: - return new InsetNote(params, "Note"); + return new InsetNote(params, cmd.getArg

Re: [Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Andre Poenitz
On Wed, Jul 30, 2003 at 01:57:19PM +0300, Martin Vermeer wrote: > ...as requested by Juergen. It was ridiculously simple after all. > > OK to commit? I think so. Andre'

[Patch] submenu for Note/Comment/Greyedout

2003-07-30 Thread Martin Vermeer
...as requested by Juergen. It was ridiculously simple after all. OK to commit? Martin -- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Dept. of Surveying, Inst. of Geodesy P.O. Box 1200, FIN-02015 HUT, Finland :wq Index: lib/ui/stdmenus.ui ===