Limit PDF contents based on lines of source
Generate an index file with contents of output PDFs