Hi,

I've got a master document which "includes" several other files. In the 
other files, a number of math-macros are used. I can produce my document by 
doing "include macros.lyx" in the master document before the other 
includes. If I try to preview a single chapter however, it complains it 
doesn't know the macros. I can fix this of course by including macros.lyx 
in the subdocument, but then I get a multiple inclusion error when I try to 
see the whole document.

In other words, I need something that checks a boolean which is only set by 
the master document. If it is set, it does not include macros.lyx, 
otherwise it does. Can anybody tell me how to do this? Preferably without 
ERT (by hiding it in a layout)?

Thanks, Steven

PS: By the way, when will the next release come out? I'm in eager 
anticipation for several months now, did I miss it?

Reply via email to