Re: Help request: QController and QView

2006-03-27 Thread Edwin Leuven
i will have a look at what you've done with the citation dialog. my time is a bit thin (as are my programming skills) so it won't go at the speed of light though... edwin Abdelrazak Younes wrote: Angus Leeming a écrit : Abdelrazak Younes [EMAIL PROTECTED] writes: Please don't take this

[Patch] Re: [RFC] outlining proof-of-principle

2006-03-27 Thread Martin Vermeer
On Sat, 2006-03-25 at 18:39 +0200, Martin Vermeer wrote: See attached. The Deeper and Shallower (In and Out) functionalities are not yet implemented. You can test the moving of a sectioning header plus belonging text up and down by entering into the minibuffer: outline 0 or outline 1.

Re: Help request: QController and QView

2006-03-27 Thread Abdelrazak Younes
Edwin Leuven a écrit : i will have a look at what you've done with the citation dialog. my time is a bit thin (as are my programming skills) so it won't go at the speed of light though... Any help is welcome :-) I am not sure about the correct architecture. Right now, the link to the kernel

Re: [Patch] Re: [RFC] outlining proof-of-principle

2006-03-27 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Sat, 2006-03-25 at 18:39 +0200, Martin Vermeer wrote: See attached. The Deeper and Shallower (In and Out) functionalities are not yet implemented. You can test the moving of a sectioning header plus belonging text up and down by entering into the minibuffer:

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Charles de Miramon
Martin Vermeer wrote: Then how do you differentiate 'save size' close and usual close? A dialog would be needed. Also, it is perfectly normal, to me, and to all windows users, and to, I guess, most of the *nix users, to save window size every time. To test it, please fire firefox, resize it,

Re: [patch] check for the preview-package

2006-03-27 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Am Sonntag, 26. März 2006 05:10 schrieb Uwe Stöhr: Attached a small patch for chkconfig.ltx to check for the LaTeX-package preview. I also patched the LaTeXConfig.lyx.in to describe the preview package and to add descriptions for prettyref

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Helge Hafting
Juergen Spitzmueller wrote: Helge Hafting wrote: I have some ideas, several of which I will attempt to implement myself if there is acceptance. Cool. Welcome on board. * \dotfill and \hrulefill in addition to existing \hfill I use the former a lot for documents where you sign

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Joost Verburg
Charles de Miramon wrote: Why not make things simple. I'm in favour of Bo Peng's approach. Power users can always use the -geometry option from the command line. Or if they use, KWin use the advanced options for windows placement where you can tweak parameters forever. The -geometry option

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Helge Hafting
Juergen Spitzmueller wrote: Martin Vermeer wrote: Are you telling me that LyX has a way for inserting an arbitrary length hspace? Where is it hidden? No, but LaTeX has. And I think it should be finally supported. It's base functionality in LaTeX. I have planned to implement a proper

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Juergen Spitzmueller
Joost Verburg wrote: The -geometry option only works for xforms, maybe it would be a good idea to make it work for Qt as well. lyx -geometry 1280x1024 works perfectly for me (qt/linux). Jürgen

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Juergen Spitzmueller
Helge Hafting wrote: The thing with dialogs is that they slow things down.  First you have to move the mouse into the dialog to make the selection, and then press ok.  (Well, the dialog can be made to disappear as the user makes the choice, but that would differ from all other dialogs...) I

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Juergen Spitzmueller
Helge Hafting wrote: You are thinking about a dialog providing length of something Where length can be 1cm, 4pt, big, med, small, or  fill, and something can be space, dots, or rule? This certainly seems more useful.  I'll have to read up on latex to see if all the permutations are

Re: [patch] check for the preview-package

2006-03-27 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Please put it in branch too. I should have done that long ago. Done. Georg

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Joost Verburg
Juergen Spitzmueller wrote: lyx -geometry 1280x1024 works perfectly for me (qt/linux). Right, the man page says it's an xforms option, but it also works for Qt. I agree with Lars that it would a good thing to have this both as a preference and as a part of session handling (if possible, for

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Bo Peng
Right, the man page says it's an xforms option, but it also works for Qt. I agree with Lars that it would a good thing to have this both as a preference and as a part of session handling (if possible, for all windows/panels). Now, we have 1. lyx --geometry 2. lyxrc 3. session() How do you

[Patch] Re: [Patch] Re: [RFC] outlining proof-of-principle

2006-03-27 Thread Martin Vermeer
On Mon, 2006-03-27 at 11:16 +0200, Abdelrazak Younes wrote: Martin Vermeer a écrit : ... We should not define slot connections inside the ui file. If possible, please do that in the code, this is simple enough: connect(moveinPB, SIGNAL(clicked()), this, SLOT(movein_adaptor())); And

Re: [Patch] Re: [Patch] Re: [RFC] outlining proof-of-principle

2006-03-27 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Mon, 2006-03-27 at 11:16 +0200, Abdelrazak Younes wrote: Martin Vermeer a écrit : ... We should not define slot connections inside the ui file. If possible, please do that in the code, this is simple enough: connect(moveinPB, SIGNAL(clicked()), this,

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Jean-Marc Lasgouttes
Helge == Helge Hafting [EMAIL PROTECTED] writes: Helge The thing with dialogs is that they slow things down. First you Helge have to move the mouse into the dialog to make the selection, Helge and then press ok. (Well, the dialog can be made to disappear Helge as the user makes the choice, but

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Joost Verburg
Bo Peng wrote: Now, we have 1. lyx --geometry 2. lyxrc 3. session() How do you plan to let them work together? In my opinion sessions are the most important thing. It would however also be nice if you could set a static session for window sizes. That is, have a standard set of window

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Bo Peng
In my opinion sessions are the most important thing. It would however also be nice if you could set a static session for window sizes. That is, have a standard set of window positions that will be loaded at This makes sense. I propose a lyxrc entry windowSize that 1. has value (0,0) by

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Joost Verburg
Bo Peng wrote: This makes sense. I propose a lyxrc entry windowSize that 1. has value (0,0) by default. 2. If lyxrc.windowSize==(0,0), saved window size from session() will be used. (If no session() info, use hard-coded default) 3. if lyxrc.windowSize != (0,0) (being assigned a value using a

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Bo Peng
That's exactly what I mean. With Hammer's my patches, it is not difficult to achieve all these. I will submit a patch later. (Lars already complained about my frequent and almost repetitive patches, so I'd better wait for him to catch up.) Cheers, Bo

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Helge Hafting
On Sat, Mar 25, 2006 at 09:05:59PM +0100, Georg Baum wrote: Am Samstag, 25. März 2006 15:03 schrieb Georg Baum: Am Samstag, 25. März 2006 14:46 schrieb Helge Hafting: * Implement export-latex(pdflatex), which gives a tex files where pictures are prepared for pdflatex use. Should be

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Enrico Forestieri
On Mon, Mar 27, 2006 at 04:25:58PM +0200, Joost Verburg wrote: Charles de Miramon wrote: Why not make things simple. I'm in favour of Bo Peng's approach. Power users can always use the -geometry option from the command line. Or if they use, KWin use the advanced options for windows

LyX/Win 1.4.1 svn

2006-03-27 Thread Ekkehart Schlicht
Thank you for making he new LyX/Win 1.4.1 svn available. I just tried it It installs smoothly. Great! Here some first observations about possible bugs: 1. The font size of the ERT-inserts is quite big (even after selecting another font), and so the inserts look unnecessarily ugly, as compared

Re: Possible charstyle bug

2006-03-27 Thread Andre Poenitz
On Fri, Mar 24, 2006 at 01:00:53PM +0200, Martin Vermeer wrote: +void resetParagraphStyles(LyXTextClass const textclass, size_t sel_index) +{ + ParagraphList plist = const_castParagraphList (theCuts[sel_index].first); + ParagraphList::const_iterator const beg = plist.begin(); +

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Jean-Marc Lasgouttes
Helge == Helge Hafting [EMAIL PROTECTED] writes: Helge I think this is a low-risk item that could go into 1.4.x, for Helge it adds functionality without messing with other things. The patch looks good (but we must be careful about the possible interaction; the export code has weird

Re: Help request: QController and QView

2006-03-27 Thread Edwin Leuven
i will have a look at what you've done with the citation dialog. my time is a bit thin (as are my programming skills) so it won't go at the speed of light though... edwin Abdelrazak Younes wrote: Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: Please don't take this

[Patch] Re: [RFC] outlining proof-of-principle

2006-03-27 Thread Martin Vermeer
On Sat, 2006-03-25 at 18:39 +0200, Martin Vermeer wrote: > See attached. > > The Deeper and Shallower ("In" and "Out") functionalities are not yet > implemented. > > You can test the moving of a sectioning header plus belonging text up > and down by entering into the minibuffer: "outline 0" or

Re: Help request: QController and QView

2006-03-27 Thread Abdelrazak Younes
Edwin Leuven a écrit : i will have a look at what you've done with the citation dialog. my time is a bit thin (as are my programming skills) so it won't go at the speed of light though... Any help is welcome :-) I am not sure about the correct architecture. Right now, the link to the kernel

Re: [Patch] Re: [RFC] outlining proof-of-principle

2006-03-27 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Sat, 2006-03-25 at 18:39 +0200, Martin Vermeer wrote: See attached. The Deeper and Shallower ("In" and "Out") functionalities are not yet implemented. You can test the moving of a sectioning header plus belonging text up and down by entering into the minibuffer:

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Charles de Miramon
Martin Vermeer wrote: >> Then how do you differentiate 'save size' close and usual close? A >> dialog would be needed. Also, it is perfectly normal, to me, and to >> all windows users, and to, I guess, most of the *nix users, to save >> window size every time. To test it, please fire firefox,

Re: [patch] check for the preview-package

2006-03-27 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Am Sonntag, 26. März 2006 05:10 schrieb Uwe Stöhr: >> Attached a small patch for chkconfig.ltx to check for the >> LaTeX-package "preview". I also patched the LaTeXConfig.lyx.in to >> describe the preview package and to add

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Helge Hafting
Juergen Spitzmueller wrote: Helge Hafting wrote: I have some ideas, several of which I will attempt to implement myself if there is acceptance. Cool. Welcome on board. * \dotfill and \hrulefill in addition to existing \hfill I use the former a lot for documents where you

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Joost Verburg
Charles de Miramon wrote: Why not make things simple. I'm in favour of Bo Peng's approach. Power users can always use the -geometry option from the command line. Or if they use, KWin use the advanced options for windows placement where you can tweak parameters forever. The -geometry option

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Helge Hafting
Juergen Spitzmueller wrote: Martin Vermeer wrote: Are you telling me that LyX has a way for inserting an arbitrary length hspace? Where is it hidden? No, but LaTeX has. And I think it should be finally supported. It's base functionality in LaTeX. I have planned to implement a proper

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Juergen Spitzmueller
Joost Verburg wrote: > The -geometry option only works for xforms, maybe it would be a good > idea to make it work for Qt as well. lyx -geometry 1280x1024 works perfectly for me (qt/linux). Jürgen

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Juergen Spitzmueller
Helge Hafting wrote: > The thing with dialogs is that they slow things down.  First > you have to move the mouse into the dialog to make the > selection, and then press ok.  (Well, the dialog can be made > to disappear as the user makes the choice, but that would > differ from all other

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Juergen Spitzmueller
Helge Hafting wrote: > You are thinking about a dialog providing of > Where can be 1cm, 4pt, big, med, small, or  fill, > and can be space, dots, or rule? > > This certainly seems more useful.  I'll have to read up on latex to > see if all the permutations are supported.  I haven't heard of a

Re: [patch] check for the preview-package

2006-03-27 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Please put it in branch too. I should have done that long ago. Done. Georg

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Joost Verburg
Juergen Spitzmueller wrote: lyx -geometry 1280x1024 works perfectly for me (qt/linux). Right, the man page says it's an xforms option, but it also works for Qt. I agree with Lars that it would a good thing to have this both as a preference and as a part of session handling (if possible, for

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Bo Peng
> Right, the man page says it's an xforms option, but it also works for > Qt. I agree with Lars that it would a good thing to have this both as a > preference and as a part of session handling (if possible, for all > windows/panels). Now, we have 1. lyx --geometry 2. lyxrc 3. session() How do

[Patch] Re: [Patch] Re: [RFC] outlining proof-of-principle

2006-03-27 Thread Martin Vermeer
On Mon, 2006-03-27 at 11:16 +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : ... > We should not define slot connections inside the ui file. If possible, > please do that in the code, this is simple enough: > > connect(moveinPB, SIGNAL(clicked()), this, SLOT(movein_adaptor())); > >

Re: [Patch] Re: [Patch] Re: [RFC] outlining proof-of-principle

2006-03-27 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Mon, 2006-03-27 at 11:16 +0200, Abdelrazak Younes wrote: Martin Vermeer a écrit : ... We should not define slot connections inside the ui file. If possible, please do that in the code, this is simple enough: connect(moveinPB, SIGNAL(clicked()), this,

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Jean-Marc Lasgouttes
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: Helge> The thing with dialogs is that they slow things down. First you Helge> have to move the mouse into the dialog to make the selection, Helge> and then press ok. (Well, the dialog can be made to disappear Helge> as the user makes the

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Joost Verburg
Bo Peng wrote: Now, we have 1. lyx --geometry 2. lyxrc 3. session() How do you plan to let them work together? In my opinion sessions are the most important thing. It would however also be nice if you could set a "static session" for window sizes. That is, have a standard set of window

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Bo Peng
> In my opinion sessions are the most important thing. It would however > also be nice if you could set a "static session" for window sizes. That > is, have a standard set of window positions that will be loaded at This makes sense. I propose a lyxrc entry windowSize that 1. has value (0,0) by

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Joost Verburg
Bo Peng wrote: This makes sense. I propose a lyxrc entry windowSize that 1. has value (0,0) by default. 2. If lyxrc.windowSize==(0,0), saved window size from session() will be used. (If no session() info, use hard-coded default) 3. if lyxrc.windowSize != (0,0) (being assigned a value using a

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Bo Peng
> That's exactly what I mean. With Hammer's my patches, it is not difficult to achieve all these. I will submit a patch later. (Lars already complained about my frequent and almost repetitive patches, so I'd better wait for him to catch up.) Cheers, Bo

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Helge Hafting
On Sat, Mar 25, 2006 at 09:05:59PM +0100, Georg Baum wrote: > Am Samstag, 25. März 2006 15:03 schrieb Georg Baum: > > Am Samstag, 25. März 2006 14:46 schrieb Helge Hafting: > > > * Implement export->latex(pdflatex), which gives a tex files where > > > pictures are prepared for pdflatex use.

Re: [Fwd: What is the qt functions to get/set position of the main window?]

2006-03-27 Thread Enrico Forestieri
On Mon, Mar 27, 2006 at 04:25:58PM +0200, Joost Verburg wrote: > Charles de Miramon wrote: > > Why not make things simple. I'm in favour of Bo Peng's approach. Power users > > can always use the -geometry option from the command line. Or if they use, > > KWin use the advanced options for windows

LyX/Win 1.4.1 svn

2006-03-27 Thread Ekkehart Schlicht
Thank you for making he new LyX/Win 1.4.1 svn available. I just tried it It installs smoothly. Great! Here some first observations about possible bugs: 1. The font size of the ERT-inserts is quite big (even after selecting another font), and so the inserts look unnecessarily ugly, as compared

Re: Possible charstyle bug

2006-03-27 Thread Andre Poenitz
On Fri, Mar 24, 2006 at 01:00:53PM +0200, Martin Vermeer wrote: > +void resetParagraphStyles(LyXTextClass const & textclass, size_t sel_index) > +{ > + ParagraphList & plist = const_cast &>(theCuts[sel_index].first); > + ParagraphList::const_iterator const beg = plist.begin(); > +

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-27 Thread Jean-Marc Lasgouttes
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: Helge> I think this is a low-risk item that could go into 1.4.x, for Helge> it adds functionality without messing with other things. The patch looks good (but we must be careful about the possible interaction; the export code has weird