"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes:

| On Mon, Jul 09, 2001 at 09:34:22AM +0200, Lars Gullik Bjønnes wrote:
| > | Great. How about the Scraps that use TeX mode? Where's the solution
| > | for that?
| > 
| > I am thinking about it...
| > 
| > - easiest solution is to map all scrap envirs to '666', but that is not
| > a nice solution.
| >  
| > - second option is to enhance the layout format a bit so that scrap
| > automatically inserts a '666' box with a 'scrap' label.
| 
| I like the second solution better.

Ok, so then InsetERT need to be able to take one additional paramters:
the label name.
In the layout format we need to be able to give a lfun to run when
selected (you won't easily be able to move away from this envir
though).

"ert-insert scrap" 

and when called from the layout dropdown the 'scrap' will be in a
paragraph of its own. (the surrounding layout will be standard)

Also in the lyx file the 'scrap' will not be stored as a layout but as
an inset.

-- 
        Lgb

Reply via email to