Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

As the title says I found a particular pdf in wich okular's review function is not working. Whenever I press F the review menu doesn't show, and by trying to access it via tools -> menu it looks like the function is disabled. Why does this happen in a particular pdf (all other pdfs I've read in okular didn't have this problem).

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I believe that there are PDF's that have flags that set them as readonly. Use

pdf2ps foo.pdf; ps2pdf foo.ps foo.pdf

This uses Ghostscript to print the PDF into Postscript and then back into PDF, thus circumventing the readonly mechanism.

share|improve this answer
    
After this transformation review works. However, I was not able to search in or copy text from the new pdf. I recommend the solution of Todd Blumer –  basweber Jul 15 at 10:08

new123456's answer works, I used this method for a long time. The problem I found however was that in the translation from pdf to ps to pdf, the pdf's metadata and bookmarks were lost. A solution that doesn't lose this data:

$ qpdf -decrypt readonly.pdf editable.pdf

If you can read readonly.pdf without a password, but simply can't edit (or okular review) it, this will give you an editable copy of that file.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.