Re: Adjacent identical environments

2009-08-31 Thread Guenter Milde
> On Fri, Aug 28, 2009 at 2:59 AM, Guenter Milde wrote: >> On 2009-08-28, Ben M. wrote: >> And why should a Theorem be treated different from an Algorithm? > In short, because an "Algorithm" is a float, while a "Theorem" is not. ... > In my mind, there is a distinction between most normal environ

Re: Adjacent identical environments

2009-08-31 Thread Guenter Milde
On 2009-08-30, Jean-Marc Lasgouttes wrote: > Le 29 août 09 à 15:18, rgheck a écrit : >> (i) Create a new paragraph parameter that would have the effect of >> separator. This could be drawn on-screen as some kind of end-of- >> paragraph marker, though in many cases it wouldn't need to be, since

Re: Adjacent identical environments

2009-08-30 Thread Jean-Marc Lasgouttes
Le 29 août 09 à 15:18, rgheck a écrit : (i) Create a new paragraph parameter that would have the effect of separator. This could be drawn on-screen as some kind of end-of- paragraph marker, though in many cases it wouldn't need to be, since the next paragraph will have a different appearance.

Re: Adjacent identical environments

2009-08-29 Thread rgheck
On 08/28/2009 02:59 AM, Guenter Milde wrote: On 2009-08-28, Ben M. wrote: I find it strange that "--Separator--" appears inside the environment pulldown. Instead, I think of it as a character similar to a line break. I would expect to see it under Insert-Formatting-'Environment Break'.

Re: Adjacent identical environments

2009-08-28 Thread Ben M.
On Fri, Aug 28, 2009 at 2:59 AM, Guenter Milde wrote: > On 2009-08-28, Ben M. wrote: >> I find it strange that "--Separator--" appears inside the environment >> pulldown.  Instead, I think of it as a character similar to a line >> break.  I would expect to see it under Insert-Formatting-'Environmen

Re: Adjacent identical environments

2009-08-28 Thread Guenter Milde
On 2009-08-28, Ben M. wrote: > I find it strange that "--Separator--" appears inside the environment > pulldown. Instead, I think of it as a character similar to a line > break. I would expect to see it under Insert-Formatting-'Environment > Break'. Indeed. But as it is a hack and defined as a p

Re: Adjacent identical environments

2009-08-27 Thread Ben M.
I find it strange that "--Separator--" appears inside the environment pulldown. Instead, I think of it as a character similar to a line break. I would expect to see it under Insert-Formatting-'Environment Break'. Abdel> Yep, and this idea is not new. We discussed the possibility to use a Abdel>

Re: Adjacent identical environments

2009-08-26 Thread Guenter Milde
On 2009-08-25, Vincent van Ravesteijn - TNW wrote: >>> I don't know what boxes are, With "boxes" I mean the LyX insets like they are used for minipages, comments, notes, etc. They are an established tool for "container" or "separable" environments that ususally contain several paragraphs but sho

Re: Adjacent identical environments

2009-08-25 Thread Abdelrazak Younes
Vincent van Ravesteijn - TNW wrote: Ben means pressing Enter on a _blank_ line could start a new theorem. So, that means two enters right after each other. I think it's a very interesting idea. Yep, and this idea is not new. We discussed the possibility to use a double-enter with JMarc a wh

RE: Adjacent identical environments

2009-08-25 Thread Vincent van Ravesteijn - TNW
>> I don't know what boxes are, but I do have a proposed behavior for LyX. >> >> Specified environments (e.g. Theorem, Proof, stuff from Beamer) get >> flagged with some attribute which I'll call "separable." Currently, >> when a user presses "Enter" on a blank line, LyX ignores it. However,

Re: Adjacent identical environments

2009-08-25 Thread Helge Hafting
Ben M. wrote: I don't know what boxes are, but I do have a proposed behavior for LyX. Specified environments (e.g. Theorem, Proof, stuff from Beamer) get flagged with some attribute which I'll call "separable." Currently, when a user presses "Enter" on a blank line, LyX ignores it. However, fo

Re: Adjacent identical environments

2009-08-22 Thread Vincent van Ravesteijn
Ben M. schreef: I don't know what boxes are, but I do have a proposed behavior for LyX. Specified environments (e.g. Theorem, Proof, stuff from Beamer) get flagged with some attribute which I'll call "separable." Currently, when a user presses "Enter" on a blank line, LyX ignores it. However,

Re: Adjacent identical environments

2009-08-22 Thread Ben M.
I don't know what boxes are, but I do have a proposed behavior for LyX. Specified environments (e.g. Theorem, Proof, stuff from Beamer) get flagged with some attribute which I'll call "separable." Currently, when a user presses "Enter" on a blank line, LyX ignores it. However, for separable envi

Re: Adjacent identical environments

2009-08-22 Thread Guenter Milde
lution. > What would a proper solution be? This depends on the context. * When the adjacent identical environments are the exception of the common use, e.g. two itemize lists with nothing inbetween: --Separator-- is OK. * For environments that are intended as "container" for oth

Re: Adjacent identical environments

2009-08-22 Thread rgheck
On 08/22/2009 02:13 PM, Guenter Milde wrote: On 2009-08-21, Vincent van Ravesteijn wrote: You mean the "--Separator--" that is in the Layout combobox in the toolbar ? However, this is still just an ugly workaround, not a solution. What would a proper solution be? rh

Re: Adjacent identical environments

2009-08-22 Thread Guenter Milde
On 2009-08-21, Vincent van Ravesteijn wrote: > Ben M. schreef: >> Did anyone ever implement some type of "environment break" so that LyX >> can handle adjacent identical environments such as Theorem or Proof? >> This issue was raised in 2002: >>

Re: Adjacent identical environments

2009-08-21 Thread Vincent van Ravesteijn
Ben M. schreef: Did anyone ever implement some type of "environment break" so that LyX can handle adjacent identical environments such as Theorem or Proof? This issue was raised in 2002: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg36686.html Thanks! -Ben Yo

Adjacent identical environments

2009-08-21 Thread Ben M.
Did anyone ever implement some type of "environment break" so that LyX can handle adjacent identical environments such as Theorem or Proof? This issue was raised in 2002: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg36686.html Thanks! -Ben

Re: Adjacent identical environments

2002-04-16 Thread Jean-Marc Lasgouttes
> "Eran" == Eran Tromer <[EMAIL PROTECTED]> writes: Eran> Howdy, For many types of paragraph environments, LyX merges Eran> adjacet identical paragraph environments. This can be Eran> inappropriate, as in the following case: What we need is a way to say 'break environment after this paragrap

Adjacent identical environments

2002-04-13 Thread Eran Tromer
Howdy, For many types of paragraph environments, LyX merges adjacet identical paragraph environments. This can be inappropriate, as in the following case: \layout Theorem My first theorem \layout Theorem My second theorem Horribly, in the LyX file format this is indistinguishable from \layout