Re: makeindex stopped working

Marius Pfeifer <[email protected]> Wed, 19 Jul 2017 12:11:17 +0200
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Hi,

so I tried to produce a minimal complete example. This is the result:


\documentclass[fontsize=11pt,a4paper,draft=false,twoside=semi]{scrbook}



\makeatletter
\renewenvironment{theindex}
{\raggedright\small\let\item\@idxitem \parskip .0pt\@plus .3\p@\relax}{}
\makeatother

\usepackage[makeindex]{splitidx}

\makeatletter
\newcommand\subIIIitem{\@idxitem \hspace*{30\p@}} %Einzug der dritten Unterebene
\makeatother

\usepackage[xindy, splitindex]{imakeidx}
\def\xindylangopt{-M lang/english/utf8}

\makeindex[name=stellen,title = Stellenregister (in Auswahl),  options=\xindylangopt]
\makeindex[name=namen,title = Namens- und Sachregister,  options=\xindylangopt]

\usepackage[indentunit=0.5cm,itemlayout=relhang]{idxlayout}






\begin{document}
	
	
	\section{Philon von Alexandria: eine kurze Biographie}

		Philon\index[namen]{Philon} ist sehr sparsam mit autobiographischen Äußerungen, so dass wir kaum etwas über seine Person wissen. Josephos\index[namen]{Josephos} teilt uns mit, dass er einer der wohlhabendsten Familien Alexandrias\index[namen]{Alexandria} angehörte, die beste Beziehungen zur römischen Kaiserfamilie und Handelsbeziehungen bis nach Indien pflegte. Sein Bruder war Alexander der Alabarch\index[namen]{Alexander der Alabarch}, einer der reichsten Geschäftsleute seiner Zeit, der sogar Prinzen Geld lieh und das ägyptische Anwesen des römischen Kaiserhauses verwaltete.
		
	\cleardoublepage
	
	
	\printindex[stellen] 
	
	\printindex[namen]


\end{document}


I tried to leave out all the unnecessary things. This version should still compile but not produce any index files. I found that if I chose to compile the index files only, I get the following error message:

„This is makeindex, version 2.15 [MiKTeX 2.9.6350 64-bit] (kpathsea + Thai support). Scanning input file Philon.idx...done (0 entries accepted, 4 rejected). Nothing written in Philon.ind. Transcript written in Philon.ilg.“

Maybe this helps as well.

Also, as Saravanan Murugaiah mentioned (thank you for that!), xindy may require “-shell-escape” mode. So we noticed that on the PC where the indexing still works, a user defined command is added (see attached screenshot). So I used this command as well and the compiler actually starts to create the index files but encounters some errors at the end:

splitindex: The script engine could not be found. splitindex: Data: scriptEngine="perl.exe"

texindy: The script engine could not be found. texindy: Data: scriptEngine="perl.exe"

texindy: The script engine could not be found. texindy: Data: scriptEngine="perl.exe"

No file Philon-stellen.ind.
No file Philon-namen.ind.


So does that basically mean we would need perl for it to work?



Cheers and thanks again for your help,
Marius








Von: Ulrike Fischer
Gesendet: Montag, 17. Juli 2017 14:00
An: [email protected]
Betreff: Re: [MiKTeX] makeindex stopped working

Am Mon, 17 Jul 2017 13:54:22 +0200 schrieb Marius Pfeifer:

> Thank you so much for your quick reply! Iʼm not sure if I can give a complete example. What would that include? 

Everything that is needed to compile (on another PC!) and reproduce
your problem. 

>I just donʼt know what code is important and which I can leave out.

Test it. If you can remove it and still compile and see the issue it
is probably not important. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml