2

I'm trying to run a document with multiple indices after reading this and its reference, but my pdf's indices have no content. I've even run MakeIndex on the file, although I don't know if that applies when using multind. A short example I'm not able to run successfully is:

\documentclass{article}
\usepackage[utf8]{inputenc}

\usepackage{multind}
\makeindex{books}
\makeindex{authors}

\begin{document}
Text\index{books}{b1}, text\index{authors}{a1}.

Text\index{books}{b2}\index{authors}{a2}. End of text.

\printindex{books}{The Books index}
\printindex{authors}{The Authors index}
\end{document}

The idx files are there and they have the info. What little trick am I missing?

3

From this you have to run

makeindex books.idx
makeindex authors.idx

The problem is that when you call makeindex from editor it runs on main.idx, where main is the name of your current tex file.

enter image description here

Edit: To configure TeXstudio (TeXmaker is similar, I guess) to run makeindex on all idx files on the current folder, pass ?*.idx to the command, as shown in the image

enter image description here

  • My problem now is to use a wildcard or to pass multiple idx input to MakeIndex through command configuration in TexMaker... any idea? – Andrestand Jan 8 '14 at 19:12
  • I'm afraid TexMaker does not accept * nor ?* – Andrestand Jan 8 '14 at 19:32
  • Install TeXstudio. It's very similar and much better than TeXmaker. – Sigur Jan 8 '14 at 19:34
  • I don't think I'm in the right moment to change, but thanks anyway. By now I think I'll use a .bat to process every .idx – Andrestand Jan 8 '14 at 19:37
  • You don't need a bat. Just open the prompt windows and go to the folder containing the idx files and then guess that you can type makeindex *.idx. – Sigur Jan 8 '14 at 19:41

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.