I have a job interview on Tuesday, and I need to correct a typo "obestiy" [sic] to "obesity" in a PDF from LaTeX that I cannot recompile due to missing images and tables.
I have tried
qpdf general.audience.pdf --object-streams=disable expanded.pdf
,
as suggested by How to view and edit the code of a PDF file, but when I try to edit the file, "obestiy" doesn't appear, so this method didn't work.https://askubuntu.com/questions/803850/find-and-replace-with-on-pdf-file-from-command-line suggests that I can use qpdf thus:
pdftk general.audience.pdf output uncompressed.pdf uncompress
but then the word "obestiy" [sic] never shows up.
Perhaps there is/are some characters in between the letters, explaining why "obestiy" doesn't show up?
How can I edit the PDF to correct the typo?
- LibreOffice Draw distorts and ruins all of the text in the file, making the PDF unusable. Maybe there is a way for LibreOffice Draw to not alter the fonts?
pdf2ps
which is part of ghostscript, then with a text editor you might be able to find the string as(obestiy)
. It might be split into smaller strings. Convert back withps2pdf
. – meuh Apr 22 '23 at 10:07