Set up index building for PDF output