Jean-Marc Lasgouttes wrote:

> You mean an Item_Environment, right? A real environment should add the
> empty lines too. As far as Item_Environment are concerned, you rely on
> the fact that they are output as
>
> \begin{foo}
> \item aaa
> \item bb
> \end{foo}

Yes, that is correct. An Item_Environment.

> But any developper could decide one day to change it to
>
> \begin{foo}
> \item aaa
>
> \item bb
>
> \end{foo}
>
> because that does not make any difference for LaTeX (AFAIK) and is
> perfectly valid. In short, you are relying on an undocumented feature
> of LyX which is subject to change at any time.

Then lets document it and make it a thing not subject to changebefore it goes
away !!!   8-)

> What you do here is add a backdoor to the definition of environments
> in order to add a feature. This is definitely not the way to go. The
> textclass definition format is already full of these ad hoc
> modifications and they are a real pain.
>
> I'd rather come up with a solution which works correctly in other
> cases. For example, your problem is not different from the problem
> encountered for LyX-Code environment. This environment as it stands is
> a painful hack and we will have to do some clean up there anyway. So
> why not come up with a generic solution?

And what that would be ?

I submited some patches against what is available today.
I don't know what your plans for the future are.
It there is something (objective) that I can do, let me know, I am willing
to re-code the patches (actually, they are small, not a big deal).

> Yes, defining the classes is a good idea. Then we can add code to
> lib/configure to detect whether noweb is installed and make the
> classes available only when it makes sense.
>
> JMarc

 Ok, that decides what to do with the Scrap layout. It is still an open
question *how* to do it.

--
/*----------------------------------------------------------------------*/
/*      Edmar Wienskoski Jr.    - [EMAIL PROTECTED]           */
/*                              - http://www.cs.rice.edu/~wiensk        */
/*----------------------------------------------------------------------*/
     ____
    | [] |                                                 ______()_||_
 ---+----+---  ------------  ------------  ------------     | []       |
 | |      | |  |          |  |          |  |          |  ___|          |
 |_|______|_|  |__________|  |__________|  |__________|  |______________\
"o-o      o-o""o-o      o-o""o-o      o-o""o-o      o-o""o-o  O-O-O  o-o "


Reply via email to