Subject: Re: [htdig3-dev] acroread via external_parser?
From: Erik Lyons (email@example.com)
Date: Fri Nov 17 2000 - 12:26:21 PST
OK, got it. I did have a syntax error in the config.
Seems to be working now.
Gilles Detillieux wrote:
> According to Erik Lyons:
> > Thanks Gilles,
> > Tried this and got "not Parsable" on every pdf.
> > What does htdig send to this as $ARGV? Shouldn't the args to the ln
> > system command be reversed?
> > BTW, it could use a "close(INP);" somewhere toward the end.
> Yes, there probably should be a close(INP); before the system("rm -f ...");
> call. It's not overly critical, though, as the file does get closed
> when the script exits. The only side-effect is that the rm will only
> unlink the ".ps" file, and it isn't actually destroyed until the file
> is implicitly closed on exit.
> The arguments to the ln command should definitely not be reversed.
> The whole point of the ln command is to add a ".pdf" suffix to the
> temporary file name generated by htdig, to keep acroread happy with the
> file. In Perl, $ARGV represents the first argument, not the program
> name (unlike C & sh). The arguments to the script are described in
> When you get a "not Parsable" error, it's because htdig can't find
> a parser or converter for the Content-Type of the document, so it's
> not even calling the acroconv.pl script. You probably don't have the
> external_parsers attribute defined correctly in your htdig.conf, or else
> your server isn't tagging PDFs correctly.
> > Gilles Detillieux wrote:
> > > According to Erik Lyons:
> > > > I was using acroread on 3.1.5 with pretty decent results. Now I'm trying
> > > > 3.2.0b2. Installing xpdf on this particular Solaris system has been
> > > > problematic and will likely be a major project. So, is there a way I can
> > > > continue to use acroread via the external_parser variable?
> > >
> > > http://www.htdig.org/files/contrib/parsers/README.acroconv.pl.txt
> > > http://www.htdig.org/files/contrib/parsers/acroconv.pl.gz
> Gilles R. Detillieux E-mail: <firstname.lastname@example.org>
> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
> Dept. Physiology, U. of Manitoba Phone: (204)789-3766
> Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
To unsubscribe from the htdig3-dev mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Fri Nov 17 2000 - 12:33:48 PST