How to add page numbers to PDF that will persist when document is "saved as" text?
I have a batch of PDF documents that were created from scans and OCR'd. As a next step I need to save them as text, but before I do I'd like to add page numbering (e.g. 'page 1 of 5') that will appear in the text output to identify the location of the text within the larger document.
I did try placing page numbers in the PDF header, but so far I haven't found an export format that retains the header content. (I tried exporting as txt, rtf, and PDF-A. I also tried saving the PDF using the "with comments and document stamp" setting.)
I'd appreciate any advice on how to retain the page numbers in the text output.
