Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Jun 04, 2003 at 08:56:30AM +0200, Lars Gullik Bjønnes wrote: | > But I do not think that this inset should be allowed anywhere... IMHO | > only at the _very_ beginning of the document. And only one of them. | | This would be naturally enforced when reading a .lyx file.
Not all documents are read... some are created from scratch... | It would be just a few lines to prevent the insertion of a second 'preamble | inset' in the doc, it would be a bit more difficult to fix the position of | the inset at the beginning of the doc.... Would it? LFUN_INSERT_PREAMBLE would only insert at paragraphs.begin()[0] and only allow one. -- Lgb