1

I am trying to compile a book with multiple indexes. I am using indextools package with splitindex. I need to modify the index delimiter so I have created a .ist file with this content:

delim_0 ": \\ "  
delim_1 ": \\ "  
delim_2 ": \\ "  

here is also my functional example:

\documentclass[a4paper,11pt,twoside,openright]{scrbook}
\usepackage[makeindex,splitindex]{indextools}
\makeindex[
      name=person, 
      title=INDEX of Persons, 
      program=makeindex,
      options={-s idxconf.ist},
          ]
\makeindex[
      name=word,
      title=Index of Words,
      program=makeindex,
      options={-s idxconf.ist},
          ]
\usepackage{blindtext}

\begin{document}

Einstein\index[person]{Einstein}
\blindtext
\newpage

Heisenberg\index[person]{Heisenberg} % Person index
\blindtext[3]
\index[word]{foo}\index[person]{Bohr}
\index[word]{bar}
\blindtext

\printindex[person] 
\printindex[word] 

\end{document}

I am using Mactex with Texlive and the delimiter is not changed. Same code compiled on a windows pc is working just fine. Is there a way to make it work on mac?

  • If your aim is to print the entry followed by a colon and a double space, use ": \\ " (colon, space, double backslash, space). Of course, no </br>. – egreg Sep 26 '16 at 17:13
  • I am sorry the </br> was an error from my side while inserting the code. the delim is as you mentioned ": \\ "(quote, colon, space, double blackslash, space, quotes). – Paul BRINZEI Sep 26 '16 at 19:31
  • Where are you saving idxconf.ist? – egreg Sep 26 '16 at 19:32
  • 1
    Did you use the --shell-escape option when running latex? It doesn't work for me (even on windows) without that. – Dan Sep 26 '16 at 19:36
  • @egreg idxconf.ist is in the same folder with the tex file. – Paul BRINZEI Sep 26 '16 at 19:50

Your Answer

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

Browse other questions tagged or ask your own question.