Yegor Yefremov wrote: > Thank you for your quick reply. I've tried specifying the master > document, but it doesn't solve the problem I have. AFAIK the master > document feature only helps to properly compile child if master > document is not opened. The whole document won't be compiled. More > than that if you've defined some LaTeX macros like "newcommand" they > won't be taken, so child compilation fails. I'm using LyX 1.5.6
There's the lfuns master-buffer-view and master-buffer-update. They do not have a GUI element yet (they will in LyX 2.0), but you can add a toolbar button or a menu entry for them yourself. The lfuns are equivalent to the buffer-view and buffer-update lfuns, except that they compile from the master, if there's one. Jürgen