Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer
    
Shame on me, thanks! –  Andrestand Jan 8 at 18:54
    
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 at 19:12
    
I'm afraid TexMaker does not accept * nor ?* –  Andrestand Jan 8 at 19:32
    
Install TeXstudio. It's very similar and much better than TeXmaker. –  Sigur Jan 8 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 at 19:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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