On 2018-09-27, Richard Kimberly Heck wrote: > On 9/26/18 2:51 AM, Daniel wrote: >> On 25/09/2018 18:16, Richard Kimberly Heck wrote: >>> On 9/25/18 10:21 AM, Daniel wrote: >>>> Hi
>>>> When a document with a child document with different textclass is >>>> typeset LyX warns about this. I am wondering why that is since as far >>>> as I understood the child document does not incorporate any class >>>> information into the master document. So, is this warning because I >>>> could have used commands incompatible with the master document, like >>>> chapter when the master is an article? >>> Yes. >>>> But then LyX would warn me anyway, or? >>> What do you mean? When might it warn you otherwise? >> For example, if I compile an article master with a child book that has >> a chapter, then LyX will throw an "undefined control sequence" error. > True. The 'different textclasses' error is meant to be a pre-warning in > a way about that. The LaTeX warning might be harder for some users to trace. How about making this an additional info only shown in case there is a LaTeX error? Günter
