I should have been using "enumii" instead of "enumi". That piece of
the puzzle is solved, but now another issue arises:
ERT:\newcounter{saveenum}
(a) Environment "a"
1. ....
2. .... ERT:\setcounter{saveenum}{\value{enumii}}
(b) Environment "b" ERT:\setcounter{enumii}{\value{saveenum}}
1. ....
2. ....
If I use it this way, as you can see, it does nothing.
ERT:\newcounter{saveenum}
(a) Environment "a"
1. ....
2. .... ERT:\setcounter{saveenum}{\value{enumii}}
(b) Environment "b"
1. ERT:\setcounter{enumii}{\value{saveenum}} ....
3. ....
And if I use the last ERT before the first line of text in the second
sub-environment, the first line shows "1" and the secon starts with
the following item in the counter.
Any ideas on how can I solve it without doing a huge chunk of LaTeX code?
On 4/17/07, Julio Rojas <[EMAIL PROTECTED]> wrote:
While using a numbering environment I would like to keep the number of
items to start numbering another list from that item on. For example:
(a) Environment "a"
1. ....
2. ....
(b) Environment "b"
3. ....
4. ....
I tried using a counter the following way:
ERT:\newcounter{saveenum}
(a) Environment "a"
1. ....
2. .... ERT:\setcounter{saveenum}{\value{enumi}}
(b) Environment "b" ERT:\setcounter{enumi}{\value{saveenum}}
1. ....
2. ....
The list, as you can see, starts again from one instead of keep the
numbering in the counter. Is this a problem of where the ERT should be
placed? I would really like to solve this with as less LaTeX code as
possible.
Thx in advance...
--
-------------------------------------------------
Julio Rojas
[EMAIL PROTECTED]
--
-------------------------------------------------
Julio Rojas
[EMAIL PROTECTED]