From: KEVIN ZEMBOWER <KZEMBOWER@jhuccp.org> - 2002-01-25 20:16:11
I'm running into problems trying to use doc2html.pl to index .pdf files.
If I run pdf2html.pl by itself, I seem to get normal output:
www:~ # /usr/local/scripts/pdf2html.pl
of Peer-Reviewed or Invited Articles
by the Faculty and Staff at the Johns Hopkins University
Center for Communication Programs 1994 - 2000
But if I run doc2html.pl, I get:
www:~ # /usr/local/scripts/doc2html.pl
! UNABLE to convert
(Output somewhat different, because I had DOC2HTML_LOG set)
Any ideas what I can do to track down this problem?
Thanks in advance for your help.
E. Kevin Zembower
Johns Hopkins University/Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD 21202
According to KEVIN ZEMBOWER:
> I'm running into problems trying to use doc2html.pl to index .pdf files.
> If I run pdf2html.pl by itself, I seem to get normal output:
> But if I run doc2html.pl, I get:
> www:~ # /usr/local/scripts/doc2html.pl
> doc2html: [?]
> ! UNABLE to convert
> www:~ #
> (Output somewhat different, because I had DOC2HTML_LOG set)
> Any ideas what I can do to track down this problem?
Yes, give doc2html.pl the arguments it requires. It needs, at the very
least, a second argument which is the content-type, i.e. application/pdf.
Actually, htdig calls external parsers and converters with 4 arguments.
Gilles R. Detillieux E-mail: <grdetil@...>
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