On Wed, Aug 28, 2002 at 09:11:09AM +0200, Guenter Milde wrote:
> You need a separate environment for the enumerate_continuously.
>
> > Not only that, the second level of some of my
> > enumeration has been reset and starts as 1 and not 1.1 for example. And if
> > I tried it as a TeX command, I got so many errors. Any other ideas on how I
> > can enumerate without reset in a particular part of my documentation?
>
> For the second level (and subsequent ones) I suppose things get more
> complicated: you might need a good LaTeX book to see how to solve this...
If you want to define a new environment, use the following code
\newcounter{enumisave}
\def\myenumerate{%
\ifnum \@enumdepth >\thr@@\@toodeep\else
\advance\@enumdepth\@ne
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
\expandafter
\list
\csname label\@enumctr\endcsname
{\usecounter\@enumctr%
\ifnum\@enumdepth=1 \setcounter{enumi}{\value{enumisave}}\fi%
\def\makelabel##1{\hss\llap{##1}}}%
\fi}
\def\endmyenumerate{%
\ifnum\@enumdepth=1 \setcounter{enumisave}{\value{enumi}}\fi%
\endlist}
Another solution is not use a separate environment, but to put
an ERT macro (e.g. \noreset) before each enumerate you don't want its number
to reset.
If you prefer this solution, I can provide the necessary tex code.