%!TeX jobNames = job-1, job-2
%!TeX job-2:outputDirectory = output
\documentclass{article}

\usepackage{splitidx}

\makeindex

\newindex[Index of theories]{theories}
\newindex[Index of names]{persons}

\begin{document}

Special and General Relativity\sindex[theories]{relativity}...
Einstein\sindex[persons]{Einstein, Albert}...
And this is the end of the story.
\printindex*

\end{document}

%!TeX jobNames = job-1, job-2
%!TeX job-2:outputDirectory = output
%!TeX check = splitindex --version
\documentclass{article}

\usepackage{splitidx}

\makeindex

\newindex[Index of theories]{theories}
\newindex[Index of names]{persons}

\begin{document}

Special and General Relativity\sindex[theories]{relativity}...
Einstein\sindex[persons]{Einstein, Albert}...
And this is the end of the story.
\printindex*

\end{document}

Add splitindex check to work around MiKTeX bug
Add splitindex check to work around MiKTeX bug

https://sourceforge.net/p/miktex/bugs/2615/

Previous experience indicates that this bug will soon be
un-reproducible.
