Re: bug in nested case environment?

2011-06-03 Thread Paul Rubin
Ernesto,

I have hacked versions of the theorem layouts that I think fix the problem
(allowing you to nest up to four levels of Case environments). If you write me
at rubin  msu  edu and tell me which version of LyX you use, I'll send
you the corresponding files and you can give them a try.

Paul







Re: bug in nested case environment?

2011-06-01 Thread Paul Rubin
It's a bug -- or at least undesired behavior. Don't have a fix off-hand, but if
nobody beats me to it, I'll try to find one.

Paul




bug in nested case environment?

2011-06-01 Thread Ernesto Posse
I ran into a problem with nested cases (caseenv). I want to write
something like this:

Case 1: a
  1. b
Case 1: c
Case 2: d
  2. e
Case 2: f

where there are sub-cases in the list. The enumerated list and
sub-cases are nested in the lyx document (see attached). However, the
output I get is:

Case 1: a
  1. b
Case 1: c
Case 2: d
  2. e
Case 3: f

Apparently the case counter from the outer list is the same as the one
for the inner list! Checking the generated latex, the nesting of
environments is correct. Is this a bug?


-- 
Ernesto Posse

Modelling and Analysis in Software Engineering
School of Computing
Queen's University - Kingston, Ontario, Canada


a.lyx
Description: application/lyx