On 04/21/2011 11:12 PM, Guenter Milde wrote:
On 2011-04-21, Mathieu Dubois wrote:
On 04/20/2011 11:25 PM, Julien Rioux wrote:
On 20/04/2011 4:00 PM, Mathieu Dubois wrote:
First I have then to use "input" instead of "include", right?
Hello,
1) \include starts the content on a new page, \input does not.
OK. So I can \include the chapter and \input the section.
Actually, the use case for \include (vs. \input) is that you can compile
selected chapters with \includeonly --- but unfortunately not with LyX.
:-(

Therefore, with LyX you can always use \input (the chapter will start a
new page anyway). \include is of use only if you want to be prepared for
\includeonly-support in some future LyX version (I do not give up hope).

2) I would try to set the master of section.lyx to chapter.lyx, I think.
That's what I did. The only problem I that I cannot compile the section
alone (I have to compile the chapter). Not a big deal.
What is the problem/error?
Well I think I made a mistake somewhere. Now it works (I started over with my new knowledge of master documents).

Maybe I can ask another question: when I open a child document the numbering (sections, figures, etc) is correct (because I set the master document). However when I compile it to PDF, it is not. I understand that a child document is a document /per se/ but maybe there could be an option. Maybe that's related to \includeonly...

Thanks.
Mathieu

Reply via email to