On Mon, Sep 20, 2004 at 07:55:16PM +0100, Paul Smith wrote:
> On Mon, 20 Sep 2004 11:01:55 +0200, Andre Poenitz
> <[EMAIL PROTECTED]> wrote:
> > > 1)  I am still unsure how to include *LyX* macros into a LyX
> > > document.
> > 
> > There are ways to do so, but the short answer is: Don't.
> > 
> > The current macro implementation is simply wrong in some areas and
> > breaks completely in the presence of multiple buffers. So as a rule of
> > thumb when using macros: Open only one document at a time, and define
> > all macros within this document.
> 
> Maybe, I am missing the point, but, up to now, I have not experienced
> any problem with copying and pasting LyX macros from a LyX document to
> another one.

The problem is that macros are stored globally in the running lyx
instance. Unconditionally, anonymously, even if they came from different
files. It works fairly well as long as you don't have different
definitions for the same \macro, but all sorts of weird things happen if
you have.

Andre'

Reply via email to