true page numbers? page-number offsets?
Yesterday I was using pdfgrep to search some terms in a directory of per-chapter PDFs for a large book. This worked pretty well, but I had to roll my own ability to translate page numbers based on which book page each chapter started on.
When I open these in acrobat reader or preview, the thumbnails show the correct page numbers--but I realize pdfgrep may be limited by whether the underlying library exposes these numbers...
- If they are exposed, a flag to use these instead would be nice.
- If these aren't exposed, it would be nice to be able to write a key-value file in the directory to specify the first page number for each file, and have a flag for specifying this page-map file.