> > If you ask to compile just the child, then you are asking to compile it > as a standalone document, so it is no surprise that this does not work. >
Exactly. :-) > If you want to compile just one chapter as part of a larger document, > then you need to use the \includeonly support, accessible from > Document>Settings. I was not aware of this feature. Thanks for the hint. But it is also painful to select the document I want to compile everytime. :/ When I am working in a document, I work on it as a standalone document, I don't handle with the Master document before I want to compile the whole set. Of course there are several workarounds, i.e you can create a document with all your macros and insert it on the beggining of all documents. This is a not so elegant solution, but it does the job. Probably one can suggest a better solution as well. But I really think LyX can do this automatically. Since LyX already stores all defined macros in somewhere for the editor, it is not so hard to dinamically include them in a document when needed. Cheers, Diego