I'm creating an index using makeindex and I can't get the output to look the way I want. Basically, I would like to create an entry formatted as follows:
entry1
~~~subentry1, 2
~~~subentry2, 3
~~~see also entry2
I can't figure out how to format the \index command so that the last line appears properly. The best I've come up with is \index{entry1!z@{}|seealso{entry2}}, but starts the entry off with a comma.
Anyone else encounter this incredibly specific and OCD problem?
EDIT: Ok, here's an example that demonstrates the issue:
\documentclass[12pt]{memoir}
\makeindex
\begin{document}
Lorem ipsum
\index{entry1!subentry1}
\index{entry1!subentry2}
\index{entry1!z@{}|seealso{entry2}}
\printindex
\end{document}

\renewcommand*\seealso[2]{\subitem \emph{\alsoname} #1}will force the 'seealso' macro to start a new 'subitem', but the that will sort under '\emph' and therefore ahead of virtually all sub-entries. – jon Dec 12 '12 at 04:31