Registered Member
|
Hi All.
Newbie here. I like to highlight certain words in a PDF document via the command line in Ubuntu. I have a lot of words I like to highlight in a PDF document. Better yet if available: I have a text file with words, one word per line. Is there a way to tell Okular to read the words in the text file and highlight all these words in the PDF document in yellow? If not, I can do it one word at a time but I need to do it via the command line - one word at a time. Or is this not possible with Okular? Thank you! |
Registered Member
|
Hello! You can search and highlight any phrase from the command line:
Other available command line options can be viewed via
|
Registered Member
|
Perhaps the annotation mechanism in PDF would be suitable for your task. It is not difficult to add annotations to a PDF file programmatically, for example with a Python script:
https://pymupdf.readthedocs.io/en/lates ... tions.html |
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]