rule makeindex is now more flexible