Le 30 juin 07 à 19:31, Abdelrazak Younes a écrit :
Mael Hilléreau wrote:
I noticed in bug #3347 that JMarc proposed the idea of having
child documents opened without being registered in session
management (use of a 'buffer hidden' flag). Thus child documents
wouldn't be closed, they could only be hidden. Maybe this could be
a nice solution WRT this enhancement and numbering as well.
I have created a branch in SVN that will deal with this problem:
svn://svn.lyx.org/lyx/lyx-devel/branches/personal/younes/mvc
Great! :-)
Thanks to the change in this branch it is now possible to open a
document without affecting a tab to it. So this is not "hiding" but
"not showing". I will implement that in my branch and if the other
developers agree I could merge it for 1.5.1 or 1.5.2.
I hope so.
This is not really a bug considering the explanation above; the
Toc backend just shows what the child document says. If the child
document is not opened, then this (chapter 1) does not exist
anymore WRT the master document. So it's all part of the same
problem.
But this is a hurdle to consistency between GUI and output. I'm
sure that numbering wasn't introduced in this purpose.
Well, at least it's an improvement over 1.4 where the child
numbering was not taken into account.
Yes, I admit. But IMHO, it is needed.
Workaround: keep your child documents open :-)
Thanks! ;-) However, I heard about users using tons of child
documents, which fill up the tab bar. So this isn't always
acceptable.
My work in the mvc branch will solve this hopefully.
Thank you already.
Mael.