Re: [Patch] factoring out 'hitButton'

2003-07-30 Thread Martin Vermeer
On Tue, Jul 29, 2003 at 11:59:19PM +0100, John Levon spake thusly: On Wed, Jul 30, 2003 at 12:31:42AM +0300, Martin Vermeer wrote: BTW how would you feel about moving get_new_label() from insetert to insetcollapsible? I could imagine using the first words on the text inside an inset as

ug

2003-07-30 Thread Alfredo Braunstein
can someone with enough karma on lyxdoc please commit this? Index: UserGuide.lyx === RCS file: /usr/local/lyx/cvsroot/lyxdoc/UserGuide.lyx,v retrieving revision 1.54 diff -u -p -u -r1.54 UserGuide.lyx --- UserGuide.lyx 21 Jul

Re: [patch] support for zipped lyx files.

2003-07-30 Thread Martin Vermeer
On Tue, Jul 29, 2003 at 04:57:08PM +0200, Juergen Spitzmueller spake thusly: Martin Vermeer wrote: lyxlex_pimpl.o(.rodata+0x22c): undefined reference to `gz::gzstreambase type_info node' lyxlex_pimpl.o(.rodata+0x24c): undefined reference to `gz::gzstreambase type_info node' collect2: ld

[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

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'

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(0)); It

Re: ug

2003-07-30 Thread Jean-Marc Lasgouttes
Alfredo == Alfredo Braunstein [EMAIL PROTECTED] writes: Alfredo can someone with enough karma on lyxdoc please commit this? Yes, done. JMarc

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 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
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? -- Angus No I

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 dialog (and the

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.

Qt ignorance: any help?

2003-07-30 Thread Angus Leeming
Is there a Qt helper function to fill a vectorstring from a QListBox (and vice versa) or do I need to write something like: // Filling a vectorstring from a QListBox widget. // dialog_-databaseLB is of type QListBox*. vectorstring contents; for (unsigned int i =

Re: Qt ignorance: any help?

2003-07-30 Thread Juergen Spitzmueller
Angus Leeming wrote: Is there a Qt helper function to fill a vectorstring from a QListBox (and vice versa) or do I need to write something like: I guess you have to (I don't know if QStringList::split() will be of any help. http://doc.trolltech.com/3.1/qstringlist.html#split) Did you see

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, so LaTeX Comment

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] We should probably also take

Re: Qt ignorance: any help?

2003-07-30 Thread Angus Leeming
Juergen Spitzmueller wrote: Angus Leeming wrote: Is there a Qt helper function to fill a vectorstring from a QListBox (and vice versa) or do I need to write something like: I guess you have to (I don't know if QStringList::split() will be of any help.

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 should probably also take

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: ug

2003-07-30 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: Yes, done. Meri. Alfredo

CVS LyX: Paragraph::getEndPosOfFontSpan weird msg

2003-07-30 Thread Kayvan A. Sylvan
I open the attached LyX file. Double-click on the gray Note to open it. Then double-click again to close it. Now save the file and exit. On the console: InsetCollapsable::localDispatch: 219 '' InsetCollapsable::localDispatch: 217 '' InsetCollapsable::localDispatch: 218 ''

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 Yellow Note,

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 30

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

Re: [Patch] factoring out 'hitButton'

2003-07-30 Thread Martin Vermeer
On Tue, Jul 29, 2003 at 08:20:58PM +0300, Martin Vermeer spake thusly: On Tue, Jul 29, 2003 at 05:19:52PM +0100, John Levon spake thusly: On Tue, Jul 29, 2003 at 07:35:10PM +0300, Martin Vermeer wrote: Like this? Actually I meant storing the dimensions as a box all the time

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

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 and why

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 does with

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. This

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 menu. Hmmm...

Re: [Patch] factoring out 'hitButton'

2003-07-30 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Jean-Marc, can this go in? Why me? What have I done? Sure, it can go in. Especially since john agrees it is a good thing... JMarc

Re: [Patch] factoring out 'hitButton'

2003-07-30 Thread Martin Vermeer
On Wed, Jul 30, 2003 at 04:30:43PM +0200, Jean-Marc Lasgouttes spake thusly: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Jean-Marc, can this go in? Why me? What have I done? Lars seems to be VERY VERY busy... or decompressing after his 'Earth Core' -experience. I had

Re: [Patch] factoring out 'hitButton'

2003-07-30 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin On Wed, Jul 30, 2003 at 04:30:43PM +0200, Jean-Marc Lasgouttes Martin spake thusly: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Jean-Marc, can this go in? Why me? What have I done? Martin Lars seems to be VERY VERY

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

Re: Handsome set of construction workers!

2003-07-30 Thread Jose' Matos
On Tuesday 29 July 2003 18:37, Garst R. Reese wrote: This is just info, not complaining (yet ;). I will return today to Portugal so I will look into it tomorrow. Back to Portugal and to hot time. It was fresh here while I was in Chemnitz but now that I returned... :-) Just try on

LyX File format change --- HELP!!! (please)

2003-07-30 Thread Angus Leeming
Jos, I want to change the LyX file format too! In this case, changing from: \begin_inset LatexCommand \bibtex[bibtotoc,style]{database1,database2,database3} \end_inset to \begin_inset Bibtex filename test filename xampl style abbrvnat bibtotoc true \end_inset

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 is

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 button

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Jose' Matos
On Wednesday 30 July 2003 16:56, Angus Leeming wrote: Jos, I want to change the LyX file format too! In this case, changing from: \begin_inset LatexCommand \bibtex[bibtotoc,style]{database1,database2,database3} \end_inset to \begin_inset Bibtex filename test filename

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Of course, I want only to output 'style' and 'bibtotoc' entries Angus if they are not empty and true repectively. Why? style is required by bibtex anyway (do we provide a default?) and a bibtotoc set to false would not really bloat the file

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Angus Leeming
On Wednesday 30 July 2003 3:33 pm, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Of course, I want only to output 'style' and 'bibtotoc' entries Angus if they are not empty and true repectively. Why? style is required by bibtex anyway (do we provide a

Re: [Patch] factoring out 'hitButton'

2003-07-30 Thread Alfredo Braunstein
Martin Vermeer wrote: Lars seems to be VERY VERY busy... or decompressing after his 'Earth Core' -experience. Maybe the problem is that he has hit the earth core with the head too much. Regards, Alfredo

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 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 (actually it

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Andre Poenitz
On Wed, Jul 30, 2003 at 04:45:55PM +, Angus Leeming wrote: Glad to hear you've made it home safely. AOLme too/AOL Andre' PS: Remember to send me a smelly T-shirt for the collection. I have already one from Asger and one from Lars...

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

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 tokens and should not be

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Angus Leeming
On Wednesday 30 July 2003 3:52 pm, Andre Poenitz wrote: On Wed, Jul 30, 2003 at 04:45:55PM +, Angus Leeming wrote: Glad to hear you've made it home safely. AOLme too/AOL Andre' PS: Remember to send me a smelly T-shirt for the collection. I have already one from Asger and one from

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(vectorstring ids, vectorstring gui_names) { char const * const ids_[] = {note, comment, greyedout}; size_t const ids_size = sizeof(ids_) / sizeof(char *); char const *

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 the

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Andre Poenitz
On Wed, Jul 30, 2003 at 04:57:32PM +, Angus Leeming wrote: On Wednesday 30 July 2003 3:52 pm, Andre Poenitz wrote: On Wed, Jul 30, 2003 at 04:45:55PM +, Angus Leeming wrote: Glad to hear you've made it home safely. AOLme too/AOL Andre' PS: Remember to send me a smelly

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: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Jose' Matos
On Wednesday 30 July 2003 16:52, Andre Poenitz wrote: On Wed, Jul 30, 2003 at 04:45:55PM +, Angus Leeming wrote: Glad to hear you've made it home safely. AOLme too/AOL I was thinking to write some garbous writing, but since I don't have time as I am fixing bugs I just left my me too.

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/defined in

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 understandable.

Re: Qt ignorance: any help?

2003-07-30 Thread John Levon
On Wed, Jul 30, 2003 at 02:28:39PM +0200, Juergen Spitzmueller wrote: I guess you have to (I don't know if QStringList::split() will be of any help. http://doc.trolltech.com/3.1/qstringlist.html#split) Avoid QStringList altogether. It's a huge bloater. Is there a Qt helper function to fill

Re: CVS LyX: Paragraph::getEndPosOfFontSpan weird msg

2003-07-30 Thread John Levon
On Wed, Jul 30, 2003 at 06:12:36AM -0700, Kayvan A. Sylvan wrote: Pararaph::getEndPosOfFontSpan: This should not happen! Already on bugzilla john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Jul 30, 2003 at 04:45:55PM +, Angus Leeming wrote: Glad to hear you've made it home safely. Andre AOLme too/AOL Me too, actualy :) JMarc

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus On Wednesday 30 July 2003 3:33 pm, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Of course, I want only to output 'style' and 'bibtotoc' entries Angus if they are not empty and true repectively.

Re: LyX crash while trying to view postscript (old document conversion)

2003-07-30 Thread Jose' Matos
On Tuesday 29 July 2003 22:36, Kayvan A. Sylvan wrote: I have an old document while I opened up with the current LyX. It seemed to convert fine, but View-Postscript produced a crash. Here are the details: resume.lyx (Original file from earlier LyX) resume2.lyx (Same file after lyx2lyx is

Re: Qt ignorance: any help?

2003-07-30 Thread Angus Leeming
John Levon wrote: There isn't. I'm not sure I want one either, it just encourages people not to translate LyX-internal names into user names ;) Oh, crap. But anyway, I used a vectorFileName rather tahn a vectorstring... --

Re: Qt ignorance: any help?

2003-07-30 Thread John Levon
On Wed, Jul 30, 2003 at 05:35:00PM +, Angus Leeming wrote: John Levon wrote: There isn't. I'm not sure I want one either, it just encourages people not to translate LyX-internal names into user names ;) Oh, crap. But anyway, I used a vectorFileName rather tahn a vectorstring... OK

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Angus Leeming
Jose' Matos wrote: On Wednesday 30 July 2003 16:56, Angus Leeming wrote: Jos, I want to change the LyX file format too! In this case, changing from: \begin_inset LatexCommand \bibtex[bibtotoc,style]{database1,database2,database3} \end_inset to \begin_inset Bibtex filename

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Alfredo Braunstein
Jose' Matos wrote: On Wednesday 30 July 2003 16:52, Andre Poenitz wrote: BTW Andr and Konni, you were excelent hosts. Congratulations, this meeting worked so well due to your effort. A big thanks from me. oh well... me too! We had a fantastic time. A real pitty it was so short for us.

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? The

Position of the note submenu etc.

2003-07-30 Thread John Levon
I think the submenu should go near the top in the submenu section. I find randomly dispersed submenus to be distracting. Also, since we really do have the submenu now, I think we should move margin and foot note anyway. This will allow some more sensible mnemonics, and give us more space for

Something really strange *is* going on

2003-07-30 Thread John Levon
Insert an inset inside a table cell and type/select in the inner inset, youget the forceDefaultPAragraphs something strange warning john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.

A plan for spam^Wmetrics

2003-07-30 Thread John Levon
Andre, what are your plans from this point ? I think we need something like : o add remainingwidth as discussed o move the actual rowBreakPoint code to be called only from metrics. Utilise this to call inset metrics() with correct values to fix the insets wider than their container bugs o

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Andre == Andre Poenitz [EMAIL PROTECTED] writes: | | Andre On Wed, Jul 30, 2003 at 04:45:55PM +, Angus Leeming wrote: | Glad to hear you've made it home safely. | | Andre AOLme too/AOL | | Me too, actualy :) aol -- Lgb

Re: bidi stuff (Dekel ?)

2003-07-30 Thread Dekel Tsur
On Sat, Jul 19, 2003 at 06:02:27PM +0100, John Levon wrote: I'm a bit confused why we seem to have our own (incomplete) support for bidi stuff. Is there a good reason we're not using fribidi or equivalent ? In particular we seem to have fairly hackish support via things like auto_number

Re: bidi stuff (Dekel ?)

2003-07-30 Thread John Levon
On Wed, Jul 30, 2003 at 09:39:08PM +0300, Dekel Tsur wrote: 1) If we want to use the Unicode bidi algorithm then we should first use UCS32 for the text. This is indeed the plan. 2) The Unicode bidi algorithm uses implicit ordering: the language of the text is inferred from the Unicode code

Re: LyX File format change --- HELP!!! (please)

2003-07-30 Thread Jose' Matos
On Wednesday 30 July 2003 18:55, Angus Leeming wrote: ... Ok, I admire your coding style. And since this will be the best documented function for lyx2lxy I filled the details. ;-) The following patch should work. I tested it only with your example but it should work. -- Jos Ablio LyX and

Re: bidi stuff (Dekel ?)

2003-07-30 Thread Dekel Tsur
On Wed, Jul 30, 2003 at 07:47:58PM +0100, John Levon wrote: I see. Basically I'm wondering if we can remove code that we have to maintain in favour of code that the fribidi people have to maintain. It is rather short, and with external libraries you might have API changes.. Yes, some

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

Re: bidi stuff (Dekel ?)

2003-07-30 Thread John Levon
On Wed, Jul 30, 2003 at 10:43:53PM +0300, Dekel Tsur wrote: It is rather short That's true but it's also : 1) understood only by one person 2) right in the middle of some complicated code regards, john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.

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 Jrgen's patch - definable

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! - internationalization support

THinking about FileName and TeX's magic file finding algorithm

2003-07-30 Thread Angus Leeming
Jean-Marc, I have been mulling over how best to overcome the limitations in my new FileName class that you pointed out in Chemnitz. I think that this algorithm should work well: The FileName class should be able to handle three possibilities 1. Input/Output the absolute filename. Store

Re: Position of the note submenu etc.

2003-07-30 Thread Christian Ridderström
On Wed, 30 Jul 2003, John Levon wrote: It's not ideal but I think people will quickly get used to Alt-I-N-F instead of Alt-I-F Or give the user Alt-I-F as and additional keybinding for inserting a footnote. -- Christian Ridderström http://www.md.kth.se/~chr

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 just that

lyxdoc ???

2003-07-30 Thread Garst R. Reese
1. How do I install files checked out from lyxdoc? 2. Would be possible to split lyxdoc into lyxdoc_xx so that it would only be necessary to co the languages needed? 3. README.Documentation is so old that it is useless. 4. A make install might be useful.

Re: Handsome set of construction workers!

2003-07-30 Thread Garst R. Reese
Jose' Matos wrote: Garst could you please try that with the lastest cvs. I don't get have any problem here. :-( I think that with some cvs versions of monday we had this problem, but not anymore... I still have the same problem, even after updating for current lyxdoc (with much effort).

Re: Handsome set of construction workers!

2003-07-30 Thread Miyata Shigeru
Kayvan Who is who in that picture? Andre, Jose, Konni, Alfredo, Francesca (sp?), Lars, me, Angus, Jean-Marc. Could you mark banner.ppm as BINARY, please? CVS, by default, tranfers files in text mode. Regards, SMiyata

Re: [Patch] factoring out 'hitButton'

2003-07-30 Thread Martin Vermeer
On Tue, Jul 29, 2003 at 11:59:19PM +0100, John Levon spake thusly: > > On Wed, Jul 30, 2003 at 12:31:42AM +0300, Martin Vermeer wrote: > > > BTW how would you feel about moving get_new_label() from insetert to > > insetcollapsible? I could imagine using the first words on the text > > inside an

ug

2003-07-30 Thread Alfredo Braunstein
can someone with enough karma on lyxdoc please commit this? Index: UserGuide.lyx === RCS file: /usr/local/lyx/cvsroot/lyxdoc/UserGuide.lyx,v retrieving revision 1.54 diff -u -p -u -r1.54 UserGuide.lyx --- UserGuide.lyx 21 Jul

Re: [patch] support for zipped lyx files.

2003-07-30 Thread Martin Vermeer
On Tue, Jul 29, 2003 at 04:57:08PM +0200, Juergen Spitzmueller spake thusly: > > Martin Vermeer wrote: > > lyxlex_pimpl.o(.rodata+0x22c): undefined reference to `gz::gzstreambase > > type_info node' lyxlex_pimpl.o(.rodata+0x24c): undefined reference to > > `gz::gzstreambase type_info node'

[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

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'

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,

Re: ug

2003-07-30 Thread Jean-Marc Lasgouttes
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes: Alfredo> can someone with enough karma on lyxdoc please commit this? Yes, done. JMarc

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 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

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 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

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.

Qt ignorance: any help?

2003-07-30 Thread Angus Leeming
Is there a Qt helper function to fill a vector from a QListBox (and vice versa) or do I need to write something like: // Filling a vector from a QListBox widget. // dialog_->databaseLB is of type QListBox*. vector contents; for (unsigned int i = 0; i <

Re: Qt ignorance: any help?

2003-07-30 Thread Juergen Spitzmueller
Angus Leeming wrote: > Is there a Qt helper function to fill a vector from a QListBox (and > vice versa) or do I need to write something like: I guess you have to (I don't know if QStringList::split() will be of any help. http://doc.trolltech.com/3.1/qstringlist.html#split) Did you see

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 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: Qt ignorance: any help?

2003-07-30 Thread Angus Leeming
Juergen Spitzmueller wrote: > Angus Leeming wrote: >> Is there a Qt helper function to fill a vector from a QListBox >> (and vice versa) or do I need to write something like: > > I guess you have to (I don't know if QStringList::split() will be of any > help.

  1   2   >