According to Abell, Martin:
> If I try to convert a Wordperfect document using doc2html I get:
> 
> doc2html: barf.html CANNOT DO: (application/wordperfect5.1) is apparently
> binary
> 
> If I enter the command string that doc2html generates ...
> /usr/local/bin/wp2html/wp2html -q -DTitle="[barf.html]" -c doc2html.cfg -s
> doc2html.sty -i '/web/html/labsup/pub/custody.wpd' -O;
>  ... wp2html spits the converted document to my screen.
> 
> I think the mime type is OK (what I expect from our server) and I even
> checked the magic number of the document and it is OK.  So I'm not sure what
> is wrong.  (But doc2html seems not to get beyond the "while (<CAT>) {" line
> in subroutine try_html.)
> 
> Anyone got any thoughts?

Just a hunch, but did you make sure that max_doc_size is greater than the
size of custody.wpd, or of your largest document, to prevent truncation?

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
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

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to