Re: htdig: Indexing PDFs using 'xpdf' instead of Acroread


Fabrizio Pivari (pivari@geocities.com)
Mon, 11 Jan 1999 17:34:14 +0000


Rick Wiggins wrote:

> All,
>
> 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 http://www.foolabs.com/xpdf/ 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 PDF.cc.orig PDF.cc
> 149c149
> < 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...

Probably better to inglobe the xpdf code directly in htdig code!

Ciao

Fabrizio

--
Fabrizio Pivari
mailto:pivari@geocities.com
http://www.geocities.com/CapeCanaveral/Lab/3469/
Member of ANFACE Software
http://fly.to/anface  Fly to Anface!

---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to htdig-request@sdsu.edu 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