Given a PDF file, I would like to search for a string in its text, and I know pdfgrep
can do that.
I further would like to have the physical page number of each page where the string appears (as opposed to the page number printed on each page).
Is there some program that can do this?