Re: Problem environment

2015-05-21 Thread Enrico Forestieri
On Thu, May 21, 2015 at 09:24:13PM +0200, Jürgen Spitzmüller wrote:
 2015-05-21 20:18 GMT+02:00 Enrico Forestieri for...@lyx.org:
 
  Richard Heck writes:
  
   Has someone put this in the docs? It's an improvement, for sure, but it
   will take some
   getting used to for us old-timers, I think.
 
  I did that.
 
 
 I also think a short note in the RELEASE-NOTES (with reference to this doc
 section) would be in order.

You're right. Done.

-- 
Enrico


Re: Problem environment

2015-05-21 Thread Enrico Forestieri
Richard Heck writes:
 
 Has someone put this in the docs? It's an improvement, for sure, but it 
 will take some
 getting used to for us old-timers, I think.

I did that.

-- 
Enrico



Re: Problem environment

2015-05-21 Thread Jürgen Spitzmüller
2015-05-21 20:18 GMT+02:00 Enrico Forestieri for...@lyx.org:

 Richard Heck writes:
 
  Has someone put this in the docs? It's an improvement, for sure, but it
  will take some
  getting used to for us old-timers, I think.

 I did that.


I also think a short note in the RELEASE-NOTES (with reference to this doc
section) would be in order.

Jürgen



 --
 Enrico




Re: Problem environment

2015-05-21 Thread Enrico Forestieri
Richard Heck writes:
 
 Has someone put this in the docs? It's an improvement, for sure, but it 
 will take some
 getting used to for us old-timers, I think.

I did that.

-- 
Enrico



Re: Problem environment

2015-05-21 Thread Jürgen Spitzmüller
2015-05-21 20:18 GMT+02:00 Enrico Forestieri for...@lyx.org:

 Richard Heck writes:
 
  Has someone put this in the docs? It's an improvement, for sure, but it
  will take some
  getting used to for us old-timers, I think.

 I did that.


I also think a short note in the RELEASE-NOTES (with reference to this doc
section) would be in order.

Jürgen



 --
 Enrico




Re: Problem environment

2015-05-21 Thread Enrico Forestieri
On Thu, May 21, 2015 at 09:24:13PM +0200, Jürgen Spitzmüller wrote:
 2015-05-21 20:18 GMT+02:00 Enrico Forestieri for...@lyx.org:
 
  Richard Heck writes:
  
   Has someone put this in the docs? It's an improvement, for sure, but it
   will take some
   getting used to for us old-timers, I think.
 
  I did that.
 
 
 I also think a short note in the RELEASE-NOTES (with reference to this doc
 section) would be in order.

You're right. Done.

-- 
Enrico


Re: "Problem" environment

2015-05-21 Thread Enrico Forestieri
Richard Heck writes:
> 
> Has someone put this in the docs? It's an improvement, for sure, but it 
> will take some
> getting used to for us old-timers, I think.

I did that.

-- 
Enrico



Re: "Problem" environment

2015-05-21 Thread Jürgen Spitzmüller
2015-05-21 20:18 GMT+02:00 Enrico Forestieri :

> Richard Heck writes:
> >
> > Has someone put this in the docs? It's an improvement, for sure, but it
> > will take some
> > getting used to for us old-timers, I think.
>
> I did that.
>

I also think a short note in the RELEASE-NOTES (with reference to this doc
section) would be in order.

Jürgen


>
> --
> Enrico
>
>


Re: "Problem" environment

2015-05-21 Thread Enrico Forestieri
On Thu, May 21, 2015 at 09:24:13PM +0200, Jürgen Spitzmüller wrote:
> 2015-05-21 20:18 GMT+02:00 Enrico Forestieri :
> 
> > Richard Heck writes:
> > >
> > > Has someone put this in the docs? It's an improvement, for sure, but it
> > > will take some
> > > getting used to for us old-timers, I think.
> >
> > I did that.
> >
> 
> I also think a short note in the RELEASE-NOTES (with reference to this doc
> section) would be in order.

You're right. Done.

-- 
Enrico


Re: Problem environment

2015-05-19 Thread Richard Heck

On 05/19/2015 11:58 PM, Scott Kostyshak wrote:

It is used to separate environments. You can do it using
Edit  Start New Environment, but you don't need using the menu.
You start a Problem environment and write something. If you want
to start a new Problem environment, hit the Enter key and go to a
standard environment, hit again the Enter key and LyX automatically
inserts a parbreak separator. Now you can start any other environment.

The parbreak separator will insert a blank line in the latex output.
If you don't want that, use the context menu to change it to a plain
separator. This kind of separators are automatically inserted when
needed in a hopefully intuitive way. If you hit Enter in a standard
environment after a non-standard one, you get a separator and you
are ready to insert again the same non-standard environment.

The small arrow you see, plays the same role of the old --Separator--
and behaves in the same way, because it leaves a blank line in the latex
output. However, now you can also avoid that blank line by turning the
parbreak into a plain separator.
Thanks a lot for this detailed explanation, Enrico. This makes things
perfectly clear to me.


Has someone put this in the docs? It's an improvement, for sure, but it 
will take some

getting used to for us old-timers, I think.

Richard



Re: Problem environment

2015-05-19 Thread Scott Kostyshak
On Wed, May 13, 2015 at 9:07 PM, Enrico Forestieri for...@lyx.org wrote:
 Scott Kostyshak writes:

 For master branch, we have:
 To split an existing list into two lists, set the cursor at the end
 of a list item, press Return and select –Separator– in the pull-down
 box for environments in LyX's main toolbar.

 But I don't think we have --Separator-- in the pull-down box anymore.
 Can this be done with Edit  Start New Environment?

 Yes.

 Note that there is still the LFUN separator-insert but I don't think
 we have a graphical way to insert it. Is that expected?

 Yes.

 Actually, what
 is the use case for needing separator-insert? I'm sure there is one
 since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it.

 It is used to separate environments. You can do it using
 Edit  Start New Environment, but you don't need using the menu.
 You start a Problem environment and write something. If you want
 to start a new Problem environment, hit the Enter key and go to a
 standard environment, hit again the Enter key and LyX automatically
 inserts a parbreak separator. Now you can start any other environment.

 The parbreak separator will insert a blank line in the latex output.
 If you don't want that, use the context menu to change it to a plain
 separator. This kind of separators are automatically inserted when
 needed in a hopefully intuitive way. If you hit Enter in a standard
 environment after a non-standard one, you get a separator and you
 are ready to insert again the same non-standard environment.

 The small arrow you see, plays the same role of the old --Separator--
 and behaves in the same way, because it leaves a blank line in the latex
 output. However, now you can also avoid that blank line by turning the
 parbreak into a plain separator.

Thanks a lot for this detailed explanation, Enrico. This makes things
perfectly clear to me.

 Also, in aqua.bind, we have a binding for menu-separator-insert.
 This LFUN does not seem to exist. Can I remove it or should it be
 corrected to something else?

I corrected this to specialchar-insert menu-separator at 27b8b068, as
suggested by Jürgen.

Scott


Re: Problem environment

2015-05-19 Thread Scott Kostyshak
On Wed, May 13, 2015 at 9:07 PM, Enrico Forestieri for...@lyx.org wrote:
 Scott Kostyshak writes:

 For master branch, we have:
 To split an existing list into two lists, set the cursor at the end
 of a list item, press Return and select –Separator– in the pull-down
 box for environments in LyX's main toolbar.

 But I don't think we have --Separator-- in the pull-down box anymore.
 Can this be done with Edit  Start New Environment?

 Yes.

 Note that there is still the LFUN separator-insert but I don't think
 we have a graphical way to insert it. Is that expected?

 Yes.

 Actually, what
 is the use case for needing separator-insert? I'm sure there is one
 since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it.

 It is used to separate environments. You can do it using
 Edit  Start New Environment, but you don't need using the menu.
 You start a Problem environment and write something. If you want
 to start a new Problem environment, hit the Enter key and go to a
 standard environment, hit again the Enter key and LyX automatically
 inserts a parbreak separator. Now you can start any other environment.

 The parbreak separator will insert a blank line in the latex output.
 If you don't want that, use the context menu to change it to a plain
 separator. This kind of separators are automatically inserted when
 needed in a hopefully intuitive way. If you hit Enter in a standard
 environment after a non-standard one, you get a separator and you
 are ready to insert again the same non-standard environment.

 The small arrow you see, plays the same role of the old --Separator--
 and behaves in the same way, because it leaves a blank line in the latex
 output. However, now you can also avoid that blank line by turning the
 parbreak into a plain separator.

Thanks a lot for this detailed explanation, Enrico. This makes things
perfectly clear to me.

 Also, in aqua.bind, we have a binding for menu-separator-insert.
 This LFUN does not seem to exist. Can I remove it or should it be
 corrected to something else?

I corrected this to specialchar-insert menu-separator at 27b8b068, as
suggested by Jürgen.

Scott


Re: Problem environment

2015-05-19 Thread Richard Heck

On 05/19/2015 11:58 PM, Scott Kostyshak wrote:

It is used to separate environments. You can do it using
Edit  Start New Environment, but you don't need using the menu.
You start a Problem environment and write something. If you want
to start a new Problem environment, hit the Enter key and go to a
standard environment, hit again the Enter key and LyX automatically
inserts a parbreak separator. Now you can start any other environment.

The parbreak separator will insert a blank line in the latex output.
If you don't want that, use the context menu to change it to a plain
separator. This kind of separators are automatically inserted when
needed in a hopefully intuitive way. If you hit Enter in a standard
environment after a non-standard one, you get a separator and you
are ready to insert again the same non-standard environment.

The small arrow you see, plays the same role of the old --Separator--
and behaves in the same way, because it leaves a blank line in the latex
output. However, now you can also avoid that blank line by turning the
parbreak into a plain separator.
Thanks a lot for this detailed explanation, Enrico. This makes things
perfectly clear to me.


Has someone put this in the docs? It's an improvement, for sure, but it 
will take some

getting used to for us old-timers, I think.

Richard



Re: "Problem" environment

2015-05-19 Thread Scott Kostyshak
On Wed, May 13, 2015 at 9:07 PM, Enrico Forestieri  wrote:
> Scott Kostyshak writes:
>>
>> For master branch, we have:
>> "To split an existing list into two lists, set the cursor at the end
>> of a list item, press Return and select –Separator– in the pull-down
>> box for environments in LyX's main toolbar."
>>
>> But I don't think we have --Separator-- in the pull-down box anymore.
>> Can this be done with Edit > Start New Environment?
>
> Yes.
>
>> Note that there is still the LFUN separator-insert but I don't think
>> we have a graphical way to insert it. Is that expected?
>
> Yes.
>
>> Actually, what
>> is the use case for needing separator-insert? I'm sure there is one
>> since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it.
>
> It is used to separate environments. You can do it using
> Edit > Start New Environment, but you don't need using the menu.
> You start a "Problem" environment and write something. If you want
> to start a new "Problem" environment, hit the "Enter" key and go to a
> standard environment, hit again the "Enter" key and LyX automatically
> inserts a parbreak separator. Now you can start any other environment.
>
> The parbreak separator will insert a blank line in the latex output.
> If you don't want that, use the context menu to change it to a plain
> separator. This kind of separators are automatically inserted when
> needed in a hopefully intuitive way. If you hit "Enter" in a standard
> environment after a non-standard one, you get a separator and you
> are ready to insert again the same non-standard environment.
>
> The small arrow you see, plays the same role of the old --Separator--
> and behaves in the same way, because it leaves a blank line in the latex
> output. However, now you can also avoid that blank line by turning the
> parbreak into a plain separator.

Thanks a lot for this detailed explanation, Enrico. This makes things
perfectly clear to me.

>> Also, in aqua.bind, we have a binding for "menu-separator-insert".
>> This LFUN does not seem to exist. Can I remove it or should it be
>> corrected to something else?

I corrected this to specialchar-insert menu-separator at 27b8b068, as
suggested by Jürgen.

Scott


Re: "Problem" environment

2015-05-19 Thread Richard Heck

On 05/19/2015 11:58 PM, Scott Kostyshak wrote:

It is used to separate environments. You can do it using
Edit > Start New Environment, but you don't need using the menu.
You start a "Problem" environment and write something. If you want
to start a new "Problem" environment, hit the "Enter" key and go to a
standard environment, hit again the "Enter" key and LyX automatically
inserts a parbreak separator. Now you can start any other environment.

The parbreak separator will insert a blank line in the latex output.
If you don't want that, use the context menu to change it to a plain
separator. This kind of separators are automatically inserted when
needed in a hopefully intuitive way. If you hit "Enter" in a standard
environment after a non-standard one, you get a separator and you
are ready to insert again the same non-standard environment.

The small arrow you see, plays the same role of the old --Separator--
and behaves in the same way, because it leaves a blank line in the latex
output. However, now you can also avoid that blank line by turning the
parbreak into a plain separator.
Thanks a lot for this detailed explanation, Enrico. This makes things
perfectly clear to me.


Has someone put this in the docs? It's an improvement, for sure, but it 
will take some

getting used to for us old-timers, I think.

Richard



Re: Problem environment

2015-05-13 Thread Richard Heck

On 05/13/2015 01:31 AM, Scott Kostyshak wrote:

On Tue, May 12, 2015 at 8:54 PM, shiv s...@ece.ucsb.edu wrote:

I am preparing some home work in LyX and would like to have a series of
Problems. I used the Problem environment, but, if I have two Problem
environments in succession LyX merges them together. I can artifically
insert a Ctrl-space in Standard environment between two Problem
environments, but I wonder if I am doing something wrong. Thanks for any help.


Hi Shiv,

In the layout dropdown box, choose Separator. Does that work?


Scott means: Put a Separator environment between the successive Problem 
environments. This is exactly its intended use. Otherwise, LyX does 
treat successive environments as a single one.


Richard



Re: Problem environment

2015-05-13 Thread Shivkumar Chandrasekaran

Thanks! That worked beautifully. --shiv--

On 2015-05-12 22:31, Scott Kostyshak wrote:

On Tue, May 12, 2015 at 8:54 PM, shiv s...@ece.ucsb.edu wrote:
I am preparing some home work in LyX and would like to have a series 
of
Problems. I used the Problem environment, but, if I have two 
Problem

environments in succession LyX merges them together. I can artifically
insert a Ctrl-space in Standard environment between two Problem
environments, but I wonder if I am doing something wrong. Thanks for 
any help.




Hi Shiv,

In the layout dropdown box, choose Separator. Does that work?

Scott


Re: Problem environment

2015-05-13 Thread Shivkumar Chandrasekaran
Thanks, Richard. I got it to work. I realize now that I had had the same 
problem with other environments before but did not realize it! It would 
be nice to have this in the manual, or, at least, if it is in there I 
did not find it! Thanks.


--shiv--

On 2015-05-13 06:20, Richard Heck wrote:

On 05/13/2015 01:31 AM, Scott Kostyshak wrote:

On Tue, May 12, 2015 at 8:54 PM, shiv s...@ece.ucsb.edu wrote:
I am preparing some home work in LyX and would like to have a series 
of
Problems. I used the Problem environment, but, if I have two 
Problem
environments in succession LyX merges them together. I can 
artifically

insert a Ctrl-space in Standard environment between two Problem
environments, but I wonder if I am doing something wrong. Thanks for 
any help.



Hi Shiv,

In the layout dropdown box, choose Separator. Does that work?


Scott means: Put a Separator environment between the successive
Problem environments. This is exactly its intended use. Otherwise, LyX
does treat successive environments as a single one.

Richard


Re: Problem environment

2015-05-13 Thread Shivkumar Chandrasekaran
I finally found it in the User guide. It is in section 3.4.6 Separate 
Nestings!


On 2015-05-13 08:29, Richard Heck wrote:

On 05/13/2015 10:18 AM, Shivkumar Chandrasekaran wrote:
Thanks, Richard. I got it to work. I realize now that I had had the 
same problem with other environments before but did not realize it! It 
would be nice to have this in the manual, or, at least, if it is in 
there I did not find it! Thanks.


I would have thought it was there, but you are right: It isn't. It
definitely should be.

If you have a few minutes at some point to look at the manual, figure
out where this should go, and write a paragraph, please feel free. We
can use all the help we can get.

Richard


Re: Problem environment

2015-05-13 Thread Richard Heck

On 05/13/2015 10:18 AM, Shivkumar Chandrasekaran wrote:
Thanks, Richard. I got it to work. I realize now that I had had the 
same problem with other environments before but did not realize it! It 
would be nice to have this in the manual, or, at least, if it is in 
there I did not find it! Thanks.


I would have thought it was there, but you are right: It isn't. It 
definitely should be.


If you have a few minutes at some point to look at the manual, figure 
out where this should go, and write a paragraph, please feel free. We 
can use all the help we can get.


Richard



Re: Problem environment

2015-05-13 Thread Enrico Forestieri
Scott Kostyshak writes:
 
 For master branch, we have:
 To split an existing list into two lists, set the cursor at the end
 of a list item, press Return and select –Separator– in the pull-down
 box for environments in LyX's main toolbar.
 
 But I don't think we have --Separator-- in the pull-down box anymore.
 Can this be done with Edit  Start New Environment?

Yes.

 Note that there is still the LFUN separator-insert but I don't think
 we have a graphical way to insert it. Is that expected?

Yes.

 Actually, what
 is the use case for needing separator-insert? I'm sure there is one
 since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it.

It is used to separate environments. You can do it using
Edit  Start New Environment, but you don't need using the menu.
You start a Problem environment and write something. If you want
to start a new Problem environment, hit the Enter key and go to a
standard environment, hit again the Enter key and LyX automatically
inserts a parbreak separator. Now you can start any other environment.

The parbreak separator will insert a blank line in the latex output.
If you don't want that, use the context menu to change it to a plain
separator. This kind of separators are automatically inserted when
needed in a hopefully intuitive way. If you hit Enter in a standard
environment after a non-standard one, you get a separator and you
are ready to insert again the same non-standard environment.

The small arrow you see, plays the same role of the old --Separator--
and behaves in the same way, because it leaves a blank line in the latex
output. However, now you can also avoid that blank line by turning the
parbreak into a plain separator.

 Also, in aqua.bind, we have a binding for menu-separator-insert.
 This LFUN does not seem to exist. Can I remove it or should it be
 corrected to something else?

Don't know about this one.

-- 
Enrico

Re: Problem environment

2015-05-13 Thread Scott Kostyshak
On Wed, May 13, 2015 at 11:55 AM, Shivkumar Chandrasekaran
s...@ece.ucsb.edu wrote:
 I finally found it in the User guide. It is in section 3.4.6 Separate
 Nestings!

Thanks for finding this Shiv. Please let us know if you have any other
ideas for improving the documentation.

(below is for LyX developers or users following the 2.2 development branch)

For master branch, we have:
To split an existing list into two lists, set the cursor at the end
of a list item, press Return and select –Separator– in the pull-down
box for environments in LyX's main toolbar.

But I don't think we have --Separator-- in the pull-down box anymore.
Can this be done with Edit  Start New Environment?

Note that there is still the LFUN separator-insert but I don't think
we have a graphical way to insert it. Is that expected? Actually, what
is the use case for needing separator-insert? I'm sure there is one
since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it.

Also, in aqua.bind, we have a binding for menu-separator-insert.
This LFUN does not seem to exist. Can I remove it or should it be
corrected to something else?

Scott


Re: Problem environment

2015-05-13 Thread Richard Heck

On 05/13/2015 01:31 AM, Scott Kostyshak wrote:

On Tue, May 12, 2015 at 8:54 PM, shiv s...@ece.ucsb.edu wrote:

I am preparing some home work in LyX and would like to have a series of
Problems. I used the Problem environment, but, if I have two Problem
environments in succession LyX merges them together. I can artifically
insert a Ctrl-space in Standard environment between two Problem
environments, but I wonder if I am doing something wrong. Thanks for any help.


Hi Shiv,

In the layout dropdown box, choose Separator. Does that work?


Scott means: Put a Separator environment between the successive Problem 
environments. This is exactly its intended use. Otherwise, LyX does 
treat successive environments as a single one.


Richard



Re: Problem environment

2015-05-13 Thread Shivkumar Chandrasekaran

Thanks! That worked beautifully. --shiv--

On 2015-05-12 22:31, Scott Kostyshak wrote:

On Tue, May 12, 2015 at 8:54 PM, shiv s...@ece.ucsb.edu wrote:
I am preparing some home work in LyX and would like to have a series 
of
Problems. I used the Problem environment, but, if I have two 
Problem

environments in succession LyX merges them together. I can artifically
insert a Ctrl-space in Standard environment between two Problem
environments, but I wonder if I am doing something wrong. Thanks for 
any help.




Hi Shiv,

In the layout dropdown box, choose Separator. Does that work?

Scott


Re: Problem environment

2015-05-13 Thread Shivkumar Chandrasekaran
Thanks, Richard. I got it to work. I realize now that I had had the same 
problem with other environments before but did not realize it! It would 
be nice to have this in the manual, or, at least, if it is in there I 
did not find it! Thanks.


--shiv--

On 2015-05-13 06:20, Richard Heck wrote:

On 05/13/2015 01:31 AM, Scott Kostyshak wrote:

On Tue, May 12, 2015 at 8:54 PM, shiv s...@ece.ucsb.edu wrote:
I am preparing some home work in LyX and would like to have a series 
of
Problems. I used the Problem environment, but, if I have two 
Problem
environments in succession LyX merges them together. I can 
artifically

insert a Ctrl-space in Standard environment between two Problem
environments, but I wonder if I am doing something wrong. Thanks for 
any help.



Hi Shiv,

In the layout dropdown box, choose Separator. Does that work?


Scott means: Put a Separator environment between the successive
Problem environments. This is exactly its intended use. Otherwise, LyX
does treat successive environments as a single one.

Richard


Re: Problem environment

2015-05-13 Thread Richard Heck

On 05/13/2015 10:18 AM, Shivkumar Chandrasekaran wrote:
Thanks, Richard. I got it to work. I realize now that I had had the 
same problem with other environments before but did not realize it! It 
would be nice to have this in the manual, or, at least, if it is in 
there I did not find it! Thanks.


I would have thought it was there, but you are right: It isn't. It 
definitely should be.


If you have a few minutes at some point to look at the manual, figure 
out where this should go, and write a paragraph, please feel free. We 
can use all the help we can get.


Richard



Re: Problem environment

2015-05-13 Thread Shivkumar Chandrasekaran
I finally found it in the User guide. It is in section 3.4.6 Separate 
Nestings!


On 2015-05-13 08:29, Richard Heck wrote:

On 05/13/2015 10:18 AM, Shivkumar Chandrasekaran wrote:
Thanks, Richard. I got it to work. I realize now that I had had the 
same problem with other environments before but did not realize it! It 
would be nice to have this in the manual, or, at least, if it is in 
there I did not find it! Thanks.


I would have thought it was there, but you are right: It isn't. It
definitely should be.

If you have a few minutes at some point to look at the manual, figure
out where this should go, and write a paragraph, please feel free. We
can use all the help we can get.

Richard


Re: Problem environment

2015-05-13 Thread Scott Kostyshak
On Wed, May 13, 2015 at 11:55 AM, Shivkumar Chandrasekaran
s...@ece.ucsb.edu wrote:
 I finally found it in the User guide. It is in section 3.4.6 Separate
 Nestings!

Thanks for finding this Shiv. Please let us know if you have any other
ideas for improving the documentation.

(below is for LyX developers or users following the 2.2 development branch)

For master branch, we have:
To split an existing list into two lists, set the cursor at the end
of a list item, press Return and select –Separator– in the pull-down
box for environments in LyX's main toolbar.

But I don't think we have --Separator-- in the pull-down box anymore.
Can this be done with Edit  Start New Environment?

Note that there is still the LFUN separator-insert but I don't think
we have a graphical way to insert it. Is that expected? Actually, what
is the use case for needing separator-insert? I'm sure there is one
since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it.

Also, in aqua.bind, we have a binding for menu-separator-insert.
This LFUN does not seem to exist. Can I remove it or should it be
corrected to something else?

Scott


Re: Problem environment

2015-05-13 Thread Enrico Forestieri
Scott Kostyshak writes:
 
 For master branch, we have:
 To split an existing list into two lists, set the cursor at the end
 of a list item, press Return and select –Separator– in the pull-down
 box for environments in LyX's main toolbar.
 
 But I don't think we have --Separator-- in the pull-down box anymore.
 Can this be done with Edit  Start New Environment?

Yes.

 Note that there is still the LFUN separator-insert but I don't think
 we have a graphical way to insert it. Is that expected?

Yes.

 Actually, what
 is the use case for needing separator-insert? I'm sure there is one
 since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it.

It is used to separate environments. You can do it using
Edit  Start New Environment, but you don't need using the menu.
You start a Problem environment and write something. If you want
to start a new Problem environment, hit the Enter key and go to a
standard environment, hit again the Enter key and LyX automatically
inserts a parbreak separator. Now you can start any other environment.

The parbreak separator will insert a blank line in the latex output.
If you don't want that, use the context menu to change it to a plain
separator. This kind of separators are automatically inserted when
needed in a hopefully intuitive way. If you hit Enter in a standard
environment after a non-standard one, you get a separator and you
are ready to insert again the same non-standard environment.

The small arrow you see, plays the same role of the old --Separator--
and behaves in the same way, because it leaves a blank line in the latex
output. However, now you can also avoid that blank line by turning the
parbreak into a plain separator.

 Also, in aqua.bind, we have a binding for menu-separator-insert.
 This LFUN does not seem to exist. Can I remove it or should it be
 corrected to something else?

Don't know about this one.

-- 
Enrico

Re: "Problem" environment

2015-05-13 Thread Richard Heck

On 05/13/2015 01:31 AM, Scott Kostyshak wrote:

On Tue, May 12, 2015 at 8:54 PM, shiv  wrote:

I am preparing some home work in LyX and would like to have a series of
"Problem"s. I used the "Problem" environment, but, if I have two "Problem"
environments in succession LyX merges them together. I can artifically
insert a Ctrl-space in "Standard" environment between two "Problem"
environments, but I wonder if I am doing something wrong. Thanks for any help.


Hi Shiv,

In the layout dropdown box, choose "Separator". Does that work?


Scott means: Put a Separator environment between the successive Problem 
environments. This is exactly its intended use. Otherwise, LyX does 
treat successive environments as a single one.


Richard



Re: "Problem" environment

2015-05-13 Thread Shivkumar Chandrasekaran

Thanks! That worked beautifully. --shiv--

On 2015-05-12 22:31, Scott Kostyshak wrote:

On Tue, May 12, 2015 at 8:54 PM, shiv  wrote:
I am preparing some home work in LyX and would like to have a series 
of
"Problem"s. I used the "Problem" environment, but, if I have two 
"Problem"

environments in succession LyX merges them together. I can artifically
insert a Ctrl-space in "Standard" environment between two "Problem"
environments, but I wonder if I am doing something wrong. Thanks for 
any help.




Hi Shiv,

In the layout dropdown box, choose "Separator". Does that work?

Scott


Re: "Problem" environment

2015-05-13 Thread Shivkumar Chandrasekaran
Thanks, Richard. I got it to work. I realize now that I had had the same 
problem with other environments before but did not realize it! It would 
be nice to have this in the manual, or, at least, if it is in there I 
did not find it! Thanks.


--shiv--

On 2015-05-13 06:20, Richard Heck wrote:

On 05/13/2015 01:31 AM, Scott Kostyshak wrote:

On Tue, May 12, 2015 at 8:54 PM, shiv  wrote:
I am preparing some home work in LyX and would like to have a series 
of
"Problem"s. I used the "Problem" environment, but, if I have two 
"Problem"
environments in succession LyX merges them together. I can 
artifically

insert a Ctrl-space in "Standard" environment between two "Problem"
environments, but I wonder if I am doing something wrong. Thanks for 
any help.



Hi Shiv,

In the layout dropdown box, choose "Separator". Does that work?


Scott means: Put a Separator environment between the successive
Problem environments. This is exactly its intended use. Otherwise, LyX
does treat successive environments as a single one.

Richard


Re: "Problem" environment

2015-05-13 Thread Richard Heck

On 05/13/2015 10:18 AM, Shivkumar Chandrasekaran wrote:
Thanks, Richard. I got it to work. I realize now that I had had the 
same problem with other environments before but did not realize it! It 
would be nice to have this in the manual, or, at least, if it is in 
there I did not find it! Thanks.


I would have thought it was there, but you are right: It isn't. It 
definitely should be.


If you have a few minutes at some point to look at the manual, figure 
out where this should go, and write a paragraph, please feel free. We 
can use all the help we can get.


Richard



Re: "Problem" environment

2015-05-13 Thread Shivkumar Chandrasekaran
I finally found it in the "User guide". It is in section 3.4.6 "Separate 
Nestings"!


On 2015-05-13 08:29, Richard Heck wrote:

On 05/13/2015 10:18 AM, Shivkumar Chandrasekaran wrote:
Thanks, Richard. I got it to work. I realize now that I had had the 
same problem with other environments before but did not realize it! It 
would be nice to have this in the manual, or, at least, if it is in 
there I did not find it! Thanks.


I would have thought it was there, but you are right: It isn't. It
definitely should be.

If you have a few minutes at some point to look at the manual, figure
out where this should go, and write a paragraph, please feel free. We
can use all the help we can get.

Richard


Re: "Problem" environment

2015-05-13 Thread Scott Kostyshak
On Wed, May 13, 2015 at 11:55 AM, Shivkumar Chandrasekaran
 wrote:
> I finally found it in the "User guide". It is in section 3.4.6 "Separate
> Nestings"!

Thanks for finding this Shiv. Please let us know if you have any other
ideas for improving the documentation.

(below is for LyX developers or users following the 2.2 development branch)

For master branch, we have:
"To split an existing list into two lists, set the cursor at the end
of a list item, press Return and select –Separator– in the pull-down
box for environments in LyX's main toolbar."

But I don't think we have --Separator-- in the pull-down box anymore.
Can this be done with Edit > Start New Environment?

Note that there is still the LFUN separator-insert but I don't think
we have a graphical way to insert it. Is that expected? Actually, what
is the use case for needing separator-insert? I'm sure there is one
since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it.

Also, in aqua.bind, we have a binding for "menu-separator-insert".
This LFUN does not seem to exist. Can I remove it or should it be
corrected to something else?

Scott


Re: "Problem" environment

2015-05-13 Thread Enrico Forestieri
Scott Kostyshak writes:
> 
> For master branch, we have:
> "To split an existing list into two lists, set the cursor at the end
> of a list item, press Return and select –Separator– in the pull-down
> box for environments in LyX's main toolbar."
> 
> But I don't think we have --Separator-- in the pull-down box anymore.
> Can this be done with Edit > Start New Environment?

Yes.

> Note that there is still the LFUN separator-insert but I don't think
> we have a graphical way to insert it. Is that expected?

Yes.

> Actually, what
> is the use case for needing separator-insert? I'm sure there is one
> since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it.

It is used to separate environments. You can do it using
Edit > Start New Environment, but you don't need using the menu.
You start a "Problem" environment and write something. If you want
to start a new "Problem" environment, hit the "Enter" key and go to a
standard environment, hit again the "Enter" key and LyX automatically
inserts a parbreak separator. Now you can start any other environment.

The parbreak separator will insert a blank line in the latex output.
If you don't want that, use the context menu to change it to a plain
separator. This kind of separators are automatically inserted when
needed in a hopefully intuitive way. If you hit "Enter" in a standard
environment after a non-standard one, you get a separator and you
are ready to insert again the same non-standard environment.

The small arrow you see, plays the same role of the old --Separator--
and behaves in the same way, because it leaves a blank line in the latex
output. However, now you can also avoid that blank line by turning the
parbreak into a plain separator.

> Also, in aqua.bind, we have a binding for "menu-separator-insert".
> This LFUN does not seem to exist. Can I remove it or should it be
> corrected to something else?

Don't know about this one.

-- 
Enrico

Re: Problem environment

2015-05-12 Thread Scott Kostyshak
On Tue, May 12, 2015 at 8:54 PM, shiv s...@ece.ucsb.edu wrote:
 I am preparing some home work in LyX and would like to have a series of
 Problems. I used the Problem environment, but, if I have two Problem
 environments in succession LyX merges them together. I can artifically
 insert a Ctrl-space in Standard environment between two Problem
 environments, but I wonder if I am doing something wrong. Thanks for any help.


Hi Shiv,

In the layout dropdown box, choose Separator. Does that work?

Scott


Re: Problem environment

2015-05-12 Thread Scott Kostyshak
On Tue, May 12, 2015 at 8:54 PM, shiv s...@ece.ucsb.edu wrote:
 I am preparing some home work in LyX and would like to have a series of
 Problems. I used the Problem environment, but, if I have two Problem
 environments in succession LyX merges them together. I can artifically
 insert a Ctrl-space in Standard environment between two Problem
 environments, but I wonder if I am doing something wrong. Thanks for any help.


Hi Shiv,

In the layout dropdown box, choose Separator. Does that work?

Scott


Re: "Problem" environment

2015-05-12 Thread Scott Kostyshak
On Tue, May 12, 2015 at 8:54 PM, shiv  wrote:
> I am preparing some home work in LyX and would like to have a series of
> "Problem"s. I used the "Problem" environment, but, if I have two "Problem"
> environments in succession LyX merges them together. I can artifically
> insert a Ctrl-space in "Standard" environment between two "Problem"
> environments, but I wonder if I am doing something wrong. Thanks for any help.
>

Hi Shiv,

In the layout dropdown box, choose "Separator". Does that work?

Scott