Re: Re[2]: Re[2]: [htdig] Accents erratic conduct

Subject: Re: Re[2]: Re[2]: [htdig] Accents erratic conduct
From: Gilles Detillieux (
Date: Mon Jun 05 2000 - 08:20:48 PDT

According to Andoni Ayala:
> El Thu, 1 Jun 2000 10:35:28 -0500 (CDT)
> Gilles Detillieux <> escribiste:
> > No. I want to know how you've set the external_parsers attribute in your
> > htdig.conf. The output looks fine, and I took your word for
> > that earlier. What I want to know is, if htdig is having problems when
> >'s output looks fine, how is htdig calling (or even
> > if it's calling it at all). If your external_parsers setting is incorrect,
> > that could be part of the problem - it may even cause htdig to fall back on
> > the pdf_parser (acroread) rather than using an external converter.
> >
> Ok,
> external_parsers: application/msword /opt/htdig/bin/ \
> application/postscript /opt/htdig/bin/ \
> application/pdf /opt/htdig/bin/ \
> application/rtf->text/html /opt/htdig/bin/ \
> text/rtf->text/html /opt/htdig/bin/ \
> application/Wordperfect5.1->text/html /opt/htdig/bin/doc2html

That's the problem right there! You're not using conv_doc.pld or to deal with PDFs. You're using the script.
It does seem to have problems with accents, and I'm not sure exactly why.
I'd guess that the most recent changes to it are locale-sensitive,
so you might need to set the locale for it.

However, if you have installed and configured correctly,
you're far better off using it for all the document types you're currently
passing to, and not bothering with at all.
Use something like the following, and make sure you have all the paths
configured correctly in doc2html.

external_parsers: application/msword->text/html /opt/htdig/bin/ \
                  application/postscript->text/html /opt/htdig/bin/ \
                  application/pdf->text/html /opt/htdig/bin/ \
                  application/rtf->text/html /opt/htdig/bin/ \
                  text/rtf->text/html /opt/htdig/bin/ \
                  application/Wordperfect5.1->text/html /opt/htdig/bin/

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Mon Jun 05 2000 - 06:11:33 PDT