> When I run "htdig -i" I get this error for every single .pdf file:
> Error: Page count in top-level pages object is incorrect
You say that you get the error for every single PDF file. So here's what
I'd do. First, I'd make sure that XPDF reads the files normally without
error messages. Just run "xpdf [file]" and see what happens.
If that works, I'd try "simulating" what htdig does when it calls an
external parser. Try running doc2html.pl on the file and see what happens.
doc2html.pl [file] application/pdf http://path.to/file /path/to/htdig.conf
where the first argument is the actual path to the PDF file, the third is
a made-up URL and the last is the path to your configuration file.
Williams Students Online