htdig: Indexing PDFs using 'xpdf' instead of Acroread

Rick Wiggins (
Mon, 11 Jan 1999 10:35:52 -0500


I tried using Acroread on my FreeBSD system (using Linux compatibility mode
since Acroread isn't available for FreeBSD), but wasn't having any luck. I
found the 'xpdf' program available at which
comes with a 'pdftops' utility program. To use this program, I had to
modify 'htdig' so that it wouldn't include the '-toPostScript' command
option and would completely specify the output filename, like this:

# diff
< acroread << " -toPostScript " << pdfName << " " << tmpdir << " 2>&1";

>     acroread << " " << pdfName << " " << psName << " 2>&1";

Perhaps future versions of 'htdig' can generalize the 'pdf_parser' attribute such that this modification would not be necessary when using programs other than Acroread. Just a thought...


---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in the body of the message.

This archive was generated by hypermail 2.0b3 on Wed Jan 13 1999 - 09:13:04 PST