\begin{theindex}

  \item foo, 27--28

\end{theindex}