\newcommand{\mainschindex}[1]{\cindex[#1]{{\tt #1}}}
\newcommand{\mainindex}[1]{\cindex[1]{{\rm #1}}}
\newcommand{\schindex}[1]{}
\newcommand{\sharpindex}[1]{}

\newcommand{\codemainindex}[1]{{\mainschindex{#1}\code{#1}}}
\newcommand{\codeindex}[1]{{\mainschindex{#1}\code{#1}}}
