Re: Master Preview

2007-09-17 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Tommaso Cucinotta <[EMAIL PROTECTED]> writes: That would then be opened whenever the child was, and the various settings imported (which, in the code, may mean no more than giving the two documents the same BufferParams). Infact, I was just thinking at smt

Re: Master Preview

2007-09-17 Thread Richard Heck
Tommaso Cucinotta wrote: But this won't be a problem at all with Stefan's new code, which should go into 1.6.svn soon. How will that work ? He's got a complete, and much more flexible, re-write of the macro code on the way. I can't remember the details, but it is very, very cool. Richard

Re: Master Preview

2007-09-17 Thread Jean-Marc Lasgouttes
Tommaso Cucinotta <[EMAIL PROTECTED]> writes: >> That would then be opened whenever the child was, and the various >> settings imported (which, in the code, may mean no more than giving >> the two documents the same BufferParams). > Infact, I was just thinking at smth. like that. The main point I

Re: Master Preview

2007-09-15 Thread Tommaso Cucinotta
Richard Heck ha scritto: I've had the same idea. The mechanism would presumably be a "master document" setting in Document>Settings, which would identify the master document. This would be similar to AucTeX, that writes (automatically) into the child a (commented) reference to the master, what

Re: Master Preview

2007-09-15 Thread Richard Heck
Tommaso Cucinotta wrote: The first thing I'd like to point out is that it is quite annoying to have to repeat the same settings to each and every child document, just to allow the preview of them in isolation. I would love to see a mechanism for automatic *inheritance* of these properties from

Re: Master Preview

2007-09-15 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: Bo Peng wrote: No. The whole idea of separating chapters from a book is that I can compile and view the chapters *quicker*. I do not want to compile the whole book when I am working on a chapter. Here, I actually agree with Bo. When you separate chapters/sections,

Re: Master Preview

2007-09-15 Thread Abdelrazak Younes
Bo Peng wrote: On 9/14/07, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: One question: Why don't we make this the default? I mean that the present binding will always work with the master document. This means that new binding should be cr

Re: Master Preview

2007-09-14 Thread Bo Peng
On 9/14/07, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > > One question: Why don't we make this the default? I mean that the > > present binding will always work with the master document. This means > > that new binding should be created for ch

Re: Master Preview

2007-09-14 Thread Tommaso Cucinotta
Martin Vermeer ha scritto: Does the window manager intercept it? \bind "C-Tab""buffer-next" I don't think so. LyX says "Disabled command" then I type it. T.

Re: Master Preview

2007-09-14 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > One question: Why don't we make this the default? I mean that the > present binding will always work with the master document. This means > that new binding should be created for child documents. I personally > would prefer this behaviour a lot becau

Re: Master Preview

2007-09-14 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> We have Ctrl-PageUp/Down for that. C-Tab is often used by other things >> (but we could add it nevertheless). > > It's used only for some exotic mathed navigation. I don't know if you > remember but you promised me to change that in exchange of some

Re: Master Preview

2007-09-14 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Jean-Marc Lasgouttes ha scritto: Tommaso Cucinotta <[EMAIL PROTECTED]> writes: On a related note, what about implementing the C-Tab shortcut almost standard on multi-document editors (cycle through open buffers). We have Ctrl-PageUp/Down for that. C-Tab is oft

Re: Master Preview

2007-09-14 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, Sep 14, 2007 at 01:35:57AM +0200, Tommaso Cucinotta wrote: Jean-Marc Lasgouttes ha scritto: Tommaso Cucinotta <[EMAIL PROTECTED]> writes: On a related note, what about implementing the C-Tab shortcut almost standard on multi-document editors (cycle through open

Re: Master Preview

2007-09-14 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Jean-Marc Lasgouttes ha scritto: Tommaso Cucinotta <[EMAIL PROTECTED]> writes: On a related note, what about implementing the C-Tab shortcut almost standard on multi-document editors (cycle through open buffers). We have Ctrl-PageUp/Down for that. C-Tab is oft

Re: Master Preview

2007-09-14 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Tommaso Cucinotta <[EMAIL PROTECTED]> writes: On a related note, what about implementing the C-Tab shortcut almost standard on multi-document editors (cycle through open buffers). We have Ctrl-PageUp/Down for that. C-Tab is often used by other things (but we could

Re: Master Preview

2007-09-13 Thread Richard Heck
Martin Vermeer wrote: On Fri, Sep 14, 2007 at 01:35:57AM +0200, Tommaso Cucinotta wrote: Jean-Marc Lasgouttes ha scritto: Tommaso Cucinotta <[EMAIL PROTECTED]> writes: On a related note, what about implementing the C-Tab shortcut almost standard on multi-document editors (cyc

Re: Master Preview

2007-09-13 Thread Martin Vermeer
On Fri, Sep 14, 2007 at 01:35:57AM +0200, Tommaso Cucinotta wrote: > Jean-Marc Lasgouttes ha scritto: > >Tommaso Cucinotta <[EMAIL PROTECTED]> writes: > > > > > >>On a related note, what about implementing the C-Tab shortcut > >>almost standard on multi-document editors (cycle through > >>open bu

Re: View Menu proposal (was: Re: Master Preview)

2007-09-13 Thread Darren Freeman
On Fri, 2007-09-14 at 11:31 +1000, Darren Freeman wrote: > Suggestion: A dialogue could ask whether the user wants to update the > existing preview, thus only one menu item is required for each file > format to preview. They need only one set of keybindings, plus two more > for "Update existing" an

Re: View Menu proposal (was: Re: Master Preview)

2007-09-13 Thread Darren Freeman
On Fri, 2007-09-14 at 00:57 +0200, Tommaso Cucinotta wrote: > Also, let me propose some rework of the View menu (independently > from the master-buffer-view being accepted or not): I'm in favour of this change compared to the present menu. However I'd like to make a couple of suggestions for th

Re: Master Preview

2007-09-13 Thread Richard Heck
Index: src/LyXFunc.cpp === --- src/LyXFunc.cpp (revisione 20259) +++ src/LyXFunc.cpp (copia locale) @@ -999,6 +1001,16 @@ Exporter::preview(lyx_view_->buffer(), argument); brea

Re: Master Preview

2007-09-13 Thread Tommaso Cucinotta
Jean-Marc Lasgouttes ha scritto: Tommaso Cucinotta <[EMAIL PROTECTED]> writes: On a related note, what about implementing the C-Tab shortcut almost standard on multi-document editors (cycle through open buffers). We have Ctrl-PageUp/Down for that. C-Tab is often used by other things (

View Menu proposal (was: Re: Master Preview)

2007-09-13 Thread Tommaso Cucinotta
Bo Peng ha scritto: [...] We already have many items under the View menu, and a shortcut-only hidden feature is not that appealing. Also, let me propose some rework of the View menu (independently from the master-buffer-view being accepted or not): View +- Zoom | +- Increase 20% (C-+) | +-

Re: Master Preview

2007-09-13 Thread Jean-Marc Lasgouttes
Tommaso Cucinotta <[EMAIL PROTECTED]> writes: > On a related note, what about implementing the C-Tab shortcut > almost standard on multi-document editors (cycle through > open buffers). We have Ctrl-PageUp/Down for that. C-Tab is often used by other things (but we could add it nevertheless). > S

Re: Master Preview

2007-09-13 Thread Richard Heck
Tommaso Cucinotta wrote: On a related note, what about implementing the C-Tab shortcut almost standard on multi-document editors (cycle through open buffers). I think this already exists. Check the .bind file. Richard -- == Richar

Re: Master Preview

2007-09-13 Thread Tommaso Cucinotta
Bo Peng ha scritto: It is useful, but it is not so difficult to switch to the master buffer and generate preview from there. We already have many items under the View menu, and a shortcut-only hidden feature is not that appealing. Just a note: when you're about to finish an article, often you

Re: Master Preview

2007-09-13 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: >> All the range of export types should be supported, though. >> > And it is, as Tommaso has it. I mean that we should have a C-M-d binding for postscript. And probably a master-buffer-update lfun for completeness. JMarc

Re: Master Preview

2007-09-13 Thread Richard Heck
Jean-Marc Lasgouttes wrote: "Bo Peng" <[EMAIL PROTECTED]> writes: I find it useful. Maybe others too. It is useful, but it is not so difficult to switch to the master buffer and generate preview from there. We already have many items under the View menu, and a shortcut-only hidden fe

Re: Master Preview

2007-09-13 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: >> I find it useful. Maybe others too. > > It is useful, but it is not so difficult to switch to the master > buffer and generate preview from there. We already have many items > under the View menu, and a shortcut-only hidden feature is not that > appealing.

Re: Master Preview

2007-09-13 Thread Pavel Sanda
> > I find it useful. Maybe others too. > > It is useful, but it is not so difficult to switch to the master > buffer and generate preview from there. We already have many items > under the View menu, and a shortcut-only hidden feature is not that > appealing. is it possible to achive this functi

Re: Master Preview

2007-09-13 Thread Bo Peng
> I find it useful. Maybe others too. It is useful, but it is not so difficult to switch to the master buffer and generate preview from there. We already have many items under the View menu, and a shortcut-only hidden feature is not that appealing. Bo