I want to use author index with natbib. An example below (with the fix of the author index package) does not work. The fix of Index both authors and subjects with authorindex and makeindex does not work either (with \cite the .idx and .ind files are empty and \aicite gives "Paragraph ended before \@citex was complete.")

% natbib.cfg (copy/pasted from authorindex 2005/03/22 user manual)
    \typeout{indexing: [#1][#2]{#3}}%
Infinite descent \cite{Fermat1659-DescInf}




xeLatex, bibtex, xeLatex, xeLatex works without authorindex
the following lines being commented out:

xeLatex produces the following error with authorindex after

Runaway argument?
]{Fermat1659-DescInf}\@aicitey {Fermat1659-DescInf} 
./authorindex-natbib.tex:27: Paragraph ended before \@citex was complete.
<to be read again> 

%%% File authorindex-natbib.bib %%%
   author =  {De Fermat, Pierre},
   title =   {Relation des nouvelles d\'ecouvertes en la science des nombres},
   month =   {August },
   year =    1659,
   note = {Lettre \`a {Pierre de Carcavi}},
  • \@citex has three arguments but authorindex assumes two in its own code. Are you stuck with natbib or would you consider to switch to biblatex/biber? See here for an example of an index: tex.stackexchange.com/questions/377983/… – Ulrike Fischer Oct 7 '17 at 18:12
  • It worked well with biblatex/bibte, hyperref, and indextools for multiple indexes EXCEPT that \begin{refsection} ... \printbibliography[heading=subbibliography]\end{refsection} produces NO BIBLIOGRAPHY at all! – PCofNYC Oct 9 '17 at 14:58
  • Did you run biber? What does the .blg-file say? – Ulrike Fischer Oct 9 '17 at 15:02
  • tex.stackexchange.com/questions/128196/problem-with-refsection says biber solves the problem and it does! – PCofNYC Oct 9 '17 at 15:03