Code: Select all
\newcommand\Index[1]{#1\index{#1}}

Code: Select all
\newcommand\Index[1]{#1\index{#1}}
\input{file}
and \includefile{file}
. Somewhere around page 206 of 'Guide to Latex'. This is what I use for pretty much the same problem. Luck! NEW: TikZ book now 40% off at Amazon.com for a short time.