\printindex command should be in the main.tex
file, because we only want this index to appear in the stand-alone
documentation for this package. When we the comprehensive
documentation is built, only the all-encompassing index will appear
at the end of the entire document.