Resetting column-formatted margins after \printindex

When I make an index, or two, and print them at the end of a document, they show up in columns, just I would like. However, when adding further sections after the printed index, they continue formatting under the two-column format. How can I reset the margins and layot settings to normal?

-
\onecolumn after the index? –  David Carlisle Sep 27 '12 at 23:36
How do you get the index? What package are you using for multiple indices? –  egreg Sep 28 '12 at 7:48
you might try adding \begingroup before the first index and \endgroup after the second. (the fact that the original page format isn't restored after an index sounds like a design flaw to me.) –  barbara beeton Sep 28 '12 at 12:33

You can use the idxlayout or imakeidx packages, that modify the definition of the index related macros so that the problem of restarting to write in one column is overcome.
The imakeidx package also supports more than one index; its automatic feature should be disabled, though, if the further section after the indices add material to them.