Vincent van Ravesteijn - TNW wrote:
Abdelrazak Younes wrote:
This is irrelevant, from a user POV.
To most user, yes, you're right. Still the master and all
brothers and sisters are available in the View menu.
Of course, yes. What I meant is: the user do not have to *bother*
about the master, and this really makes a difference when writing
multi-part documents.
Hmm.. I don't really see the major improvement in workflow ;-)..
Anyhow, the problem I have with the default master setting is that it
sets the absolute path in stead of a relative path to my master (this
happens when your master is one directory up from your child
document, which is often the case, and you use the Browse button to
select the master). This means that when you rename the directory
where your master and children are in, you have to manually update
all children to point to the correct master. This also happens when I
open the document from a different location e.g.
//pcvanvincent/C/Master.lyx. In this case all children start
complaining that they can't find the master: C:/Master.lyx.
What about an option in the InsetInclude that says "set children
master" or "this child is only a child of this master", which then
automatically sets the master document of its childs. This can be
checked and/or set each time the master is opened. When you open a
child, it will then automatically find the master.
Good idea.
Only in the rare
case that you might have a child document which can be included in
differen masters, you should uncheck this option ?
In engineering manuals, this is not a rare case; well, at least it's my
own use case ;-)
But I don't object that this shouldn't be the default.
Abdel.