Repair a PDF

Rebuild a PDF that will not open, or opens with errors, and recover the pages that can still be read.

What it does

The file is rebuilt from what survives; a file with nothing to recover is said to be so.