On 2016-09-23, Jean-Marc Lasgouttes wrote:
> Le 22/09/2016 à 00:43, Guillaume Munch a écrit :
>> The attached patch does what you want.

>> The only problem is that now "View/Update Master Document" is always
>> shown.

> What about renaming master-buffer-view to buffer-view and buffer-view to 
> child-buffer-view ("View only child", or something).

> As I understand it, racoon's idea is that viewing master is the norm and 
> viewing the child the exception. Currently, we do the opposite.

There are use-cases for both:

* A book with chapters in separate files with heavy cross-linking.

  - with include/includeonly  -> view := view-child
  - with input                -> view := view-master

* Stand-alone documents that also have a "wapper" document

  -> view := view-child
  
* Beamer presentations with master == beamer article  

  -> view := view-child


I don't think there is a strong case for change (never touch a running
system). OTOH, users with a strong preference for 
   view := view-master or view-standalon
should be able to customize LyX.

However, the most important is to keep View and Export preferences in
sync. It would be a bad surprise to View the master as default but export
would only work from the master buffer!


Günter

Reply via email to