I compile my project using TeXstudio. This works fine except for the index. The idx-file is generated by there is always a warning saying No file MYFILE.ind. If I call makeindex MYFILE.idx from cmd the ind file is generated. Seems to me that makeindex is not called during compilation. How can make makeindex called during compilation process?

Edit: Considering the answer it now compiles indices from within TeXstudio. Hope this helps.

My updated configuration settings

  • 1
    I don't think makeindex is included in the automatic compilation, this answer will show you where to look if you want to change it: tex.stackexchange.com/q/208532/3929, usually it is just easier to hit F12 manually – daleif Mar 10 '16 at 11:31
  • Thank you, I changed "txs:///pdflatex" to "txs:///pdflatex | txs:///makeindex" in order to have it called from within the build chain. This works if I compile twice. I checked the icon the compile it twice automatically but it still does not work in the first run. I guess this is supposed to be like this?! – Michael S. Mar 10 '16 at 12:27
  • Pass, I do not use this editor, for the most part I compile using the latexmk script (direct part of TeX Live), it handles all compilation, bibtex, makeindex whenever needed – daleif Mar 10 '16 at 12:37
  • You probably need to figure out exactly what txs:///compile does. – daleif Mar 10 '16 at 12:41
  • txs:///pdflatex | txs:///makeindex | txs:///pdflatex already works in one run, txs:///latexmk wants me to install Perl. Can you link a post on how to do that properly? – Michael S. Mar 10 '16 at 12:42

I don't know if this is still relevant, but in the latest version of TeXstudio, namely v2.12.6, you can compile the index under >Tools>Index.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.