I have a simple Latex cod
\documentclass[12pt,oneside]{scrbook}
\usepackage{makeidx}
\makeindex
\renewcommand{\thepage}{%
\thechapter.\arabic{page}}
\begin{document}
\chapter{Sample}
Stuff about eigenvectors\index{eigenvector} and eigenvalues\index{eigenvalue}.
\chapter{Another Sample}
Some more stuff about eigenvectors\index{eigenvector} and
eigenvalues\index{eigenvalue}. Something about eigen decomposition\index{eigen-decomposition}.
\printindex
\end{document}
There is a problem that Makeindex cannot generate index entries. The main problem is that I want to define a page number with period (dot) between the chapter number and the page number.
\renewcommand{\thepage}{\thechapter.\arabic{page}}
In this case Makeindex cannot generate index entries. I get a message:
Scanning input file in1.idx...done (0 entries accepted, 5 rejected).
Nothing written in in1.ind.
Transcript written in in1.ilg.
However, if I put drag (-) instead period(dot),
\renewcommand{\thepage}{\thechapter-\arabic{page}}
Makeindex generate index entries What is the problem and why can not I place a point (dot) between the chapter number and the page number? If someone knows the solution, please help me.
