[Tex/LaTex] Makeindex in TeXnicCenter

indexingtexniccenter

I need to create an index in my document, so I put the following lines in my preambel

\usepackage{makeidx}
\usepackage{showidx}
\makeindex

So, when compiling with TeXnicCenter, I noticed the following line in the log

Can't create output index file E:\...\doc.ind

No further information on why – just this line. Of course, in the compiled document, there is no index (duh!) – So, why does this error ocurr and how can I get TeXnicCenter to produce the index file?

If I run makeindex myself over cmd, it runs smoothly and creates the index without a problem.

Best Answer

In current versions of the common TeX distributions (MiKTeX 2.9, TeX Live 2010) MakeIndex as well as BibTeX have got a security mechanism that prevents them from processing files with absolute paths. Therefore you have to modify the settings in TeXnicCenter (TXC) as shown in the picture. Replace "%bm" with "%tm" wherever you can find it in your build profiles.


enter image description here

Related Question