On 21.11.08, Jean-Marc Lasgouttes wrote: > Guenter Milde <[EMAIL PROTECTED]> writes: > > I wonder whether it would be better to put the "intelligence" into lyx: > > > > let lyx compute the start number of a resumed enumeration and use this to > > set the label and the correct `enum*' counter.
> I would not do that, since we are not sure enough that our computations > are correct. It is better to leave the intelligence to LaTeX IMO. But the construction used in mdwlists, with \begin{enumerate} \item \suspend{enumerate} \regular text \resume{enumerate} \item \end{enumerate} looks also not failsave and might lead to hard to find LaTeX errors. Also, it requires a "backtracking" whether an enumeration will be resumed or not. Using LaTeX logic without "backtracking" is possible if for all enumeration levels a "backup counter" (like lastenumi ... lastenumiv) stores the last value of the relevant counter at *every* \end{enumeration}. Alternatively, the reset of the counter at \begin{enumeration} could be made optional. However, in any case the LyX-Gui should show the correct numbers to give feedback. Günter