Nils Becker wrote: > Hi list, > > how do I include my math macros so that they are found > from within child documents? > > Presently, I am using the following document structure: > > Master.lyx > Input macrofile.lyx (this contains the math macros) > Input chapter1.lyx (I want to use the macros here) > Input chapter2.lyx > etc... > > What works: > The math macros are displayed correctly in the lyx user interface. > The complete document can be compiled correctly. > What doesn't work: > When I switch on the instant preview for equations, > latex cannot compile the preview, presumably because > it doesn't find the definition of the macros. > > Is there a way in which I can add new macros in a single file > and then have them instantly available for the preview? > I think the following message answers this question, more or less: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg51387.html.
Richard