I'm trying to resume a list by storing and restoring the counter. This works fine (as described here), but I fail to do it for a nested list. Here's my code:
\documentclass{article}
\usepackage{multicol}
\begin{document}
\newcounter{stoppedhere}
% \begin{enumerate} % <- outer list commented out
% \item Outer list
\begin{multicols}{3}
\begin{enumerate}
\item $e$
\item $\gamma$
\item $\mu$
\item $p$
\item $n$
\item $\pi^+$
\item $\pi^0$
\item $\nu_\mu$
\setcounter{stoppedhere}{\theenumi}
\end{enumerate}
\end{multicols}
\begin{enumerate}
\setcounter{enumi}{\thestoppedhere}
\item much longer item 1
\item another much longer item
\end{enumerate}
% \end{enumerate}
\end{document}
The code above first lists 1. - 9. and then continues with 10., so that works.
Now if I add back the outer list, the resumed list starts with the wrong value (as expected). I thought I could solve this by using enumii, but trying to do
\setcounter{stoppedhere}{\theenumii}
gives an error (! Missing number, treated as zero.). What need I do instead?
(The multicol environment is not part of the problem, unless I try to use the package enumitem instead of modifying the counters myself: then it only works without the multicol environment.)


enumitem. Then you can useresumeto continue an enumerated list. – cfr Jun 27 '15 at 16:31multicolsenvironment does indeed work badly here – Jun 27 '15 at 16:33multicolsfault.... – cfr Jun 27 '15 at 16:46enumitemloses the track which nesting level was valid – Jun 27 '15 at 16:48