Jürgen Spitzmüller <spitz <at> lyx.org> writes:

> 
> Ben wrote:
> > What characteristics of the master document are given to a child document
> > associated with it? For example, is the document class, font, margin
> > settings of the master document given to a new child document that is
> > associated with the master document?
> 
> Yes. Every document setting is passed to the child.
> 
> > I am creating a new document for a
> > chapter but if the document class, margins and font settings are not
> > explicitly set in each of the child documents then, it seems that Lyx (2.0.6
> > and 2.1.0) complains and warns that a different document class is set and
> > offers no warnings about differences in font or margin settings.
> 
> The class warning is because different classes might provide different
paragraph 
> styles. So if you include a book class document in an article class document, 
> the chapters in your child will get invalid.
> 
> Regards,
> Jürgen
> 
> 

Thanks for your quick reply. I may be missing something:

a) I create a document called Front.
b) I start a new document and 'include' it in 'Front'.
c) I then create another document called C1. This document is set as the
child of Front.
d) Clicking on 'view' brings up a warning: Included file ...C1 has textclass
article while parent file has textclass 'scrbook'.
e) The resulting .pdf displays 'Front' and includes 'C1' but, without the
formatting of scrbook.

Am I missing something?
Ben


Reply via email to