I have my project configured in Texlipse to create an index and I am issuing the \printindex command towards the bottom of my root TEX file. I have my files organized in a tree structure as indicated in my question here. When the project builds, the IDX file is properly generated and contains the terms I have placed in the index. The tool places the file however not in the intermediate folder but in the same folder where my root TEX file resides. I could live with that but, unfortunately, no index appears in the compiled document. Is this possibly a bug in Texlipse or do I need to do something else in order to include the index in my output document?

  • Do you (or TeXlipse, automatically) run makeindex on the .idx file? Commented Nov 18, 2011 at 15:29
  • @TorbjørnT. I don't run it manually; I assume that TeXlipse is supposed to do that. It has an option for "Make Index Style File" in the project properties that I have set to "texfiles/makeidx.sty" which lives in my project but other than that I don't see any other makeindex options other than the path to the EXE which I have specified in my environment settings.
    – 3Sphere
    Commented Nov 18, 2011 at 15:38
  • Well, I'm not familiar with TeXlipse, so I'm afraid I cannot help. Commented Nov 18, 2011 at 15:50
  • Does TeXlipse do the required multiple runs? If you are not sure, remove the index file, run it once to make sure it generated the index file, then leave all the auxiliary files, and rerun. Commented Nov 27, 2011 at 1:42

2 Answers 2


The makeindex problem in TeXlipse is well-known. I guess that it is a bug in TeXlipse.

I found a solution in my environment: Clean your project, here is important that no output.pdf file exits after that! Than build it again, for some unknown reasons now I have a index in my new pdf.

Another solution is to replace the pdflatex.exe in your build settings with an batch-script witch calls pdflatex - makeindex - pdflatex. There you can control witch files are used but of course it is not the right way to bypass TeXlipse here.


I found another nice way to run additional programs during the build process in this Question: https://tex.stackexchange.com/a/52549/11363

You can use it to run a makeindex manually for several conditions.

  • solution 1 does not work for me. for solution 2, how do you replace pdflatex with a batch script in TeXlipse?
    – sma
    Commented Sep 3, 2012 at 13:31
  • You can find the Texlipse Builder Settings in the Eclipse Prefereces. There you find a list of programs and can replace the "PdfLatex program" with the batch script by editing its program-path.
    – Indimental
    Commented Sep 6, 2012 at 12:34

It's not clear where the .idx file is created. When xelatex is called with the option

xelatex -output-dir=./subdir file

then the .idx file is created inside subdir.

You should configure the call to MakeIndex to look for the file inside subdir:

makeindex -s mystyle.ist -o ./subdir/filename.ind -t ./subdir1/filename.ilg ./subdir/filename

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .