Score:-1

how do I search for text in a pdf file

sa flag

I am running ubuntu 22.0.4

how do I search for text within a PDF file ?

I have tried evince, but it doesn't find the text I have tried okular, but it doesn't find the text I have tried pdfgrep, but it doesn't find the text

vn flag
PDF is just a container, could be just images, in which case I would try to apply OCR with something like `pdfsandwich`
C.S.Cameron avatar
cn flag
To do a text search in a PDF file, open the PDF in **LibreOffice Draw**, go to **Edit**, and click **Find**. Type the word you want to find in the box in the lower left corner.
Score:0
cn flag

If all of these tools do not find the text, then the text is not there.

Note that a PDF may consist merely of graphics of the page. The graphic represents the page which you can read, but it is not the actual text that is contained in the file. Instead, the PDF file contains images of the page. In that case, neither the PDF program nor other tools will find text because the actual text characters are not there.

Such PDF files are typically created by scanning software. The scanner creates a digital image of the page. Because graphics, not text, are in the file, the text cannot be found.

Such files can be made to be searchable by optical character recognition. With that process, the text on the graphics is converted to real text, which also is stored in the file, making it searchable. When finding text, the software searches in the added, real text while the user sees the graphics representation of it.

The best quality PDF contains actual text, used to render the text on screen with the dedicated fonts, and images to represent images in the text. These are typically created from application software, e.g., when exporting a Writer word processing file to PDF. These files render in very good quality, and are at the same time much smaller than PDF files created using scanning software.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.