I'd like to translate a picture dictionary into ancient Greek. Can the index have the section and list-item numbers instead of the page numbers? The current example (below) produces an index like this:
βάθρον, τό, 1
κεφαλή, ἡ, 1
σκέλος , εος, τό, 1
συμμαθητής, οῦ, ὁ, 1
Instead I would like to have an index like this
βάθρον, τό, 2, 1
κεφαλή, ἡ, 1, 1
σκέλος , εος, τό, 1, 2
συμμαθητής, οῦ, ὁ, 2, 2
Thanks!
\documentclass{book}
\usepackage[margin=0.5in, paperwidth=6in, paperheight=9in]{geometry}
\usepackage{times}
\usepackage{polyglossia}
\setmainlanguage[variant=ancient]{greek}
\usepackage{makeidx}
\setromanfont{FreeSerif}
\setsansfont{FreeSans}
\setmonofont{FreeMono}
\setmainfont{DejaVuSerif}
%
\usepackage{chngcntr}
\counterwithout{section}{chapter}
\makeindex
\begin{document}
\renewcommand\indexname{εὑρετήριον}
\section{τὸ σῶμα}
\begin{enumerate}
\item κεφαλή, ἡ \index{κεφαλή, ἡ}
\item σκέλος, εος, τό \index{σκέλος, εος, τό}
\end{enumerate}
\section{τὸ γυμνάσιον}
\begin{enumerate}
\item βάθρον, τό \index{βάθρον, τό}
\item συμμαθητής, οῦ, ὁ \index{συμμαθητής, οῦ, ὁ}
\end{enumerate}
\printindex
\end{document}
makeindexis not well defined to sort anything other than plain numbers – Jan 20 '18 at 09:24