On Sat, Sep 21, 2002 at 05:48:40PM +0200, Lucian Muresan wrote:
> 
> I'm trying to write a multipart document and want to use some macros for 
> math formulae, picture placements and so on. If I define them in the 
> preamble of the master document, lyx can't find them if I try to use 
> them in an included document. Of course, I'd like to have them in one 
> single place.
> I've searched in the mailing list archive, and found something I thought 
>  it might help in this thread 
> http://marc.theaimsgroup.com/?l=lyx-users&m=102747712134799&w=2 but it 

A simple solution for this is to include (i.e. use insert->include file,
and then select the "use input" button) the macro file in each included
document.
In the master document, add \let\newcommand=\providecommand in the preamble.

Reply via email to