generating an index in the pdf