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?
Thanks in advance,
Nils