Re: netscape problem with pdf files

James Amundson (amundson@fnal.gov)
Wed, 28 Oct 1998 10:23:37 -0600

Jeffrey McDonald wrote:

> when I click on a PDF document, the file is downloaded but the acroread
> viewer never comes up.

There is an extremely subtle interaction between the Motif 2.x in Netscape and
Motif 1.2 in Acroread. I'm omitting the gory details -- I'll be happy to
supply them if anyone would like to understand. The bottom line is that you
need to use a wrapper script for acroread if you want to call it from
Netscape. Here's the minimal version:

-----------------------cut---------------------------
#!/bin/sh
unset LD_PRELOAD
/bin/acroread $*
-----------------------cut---------------------------

Call the script acrowrapper, tell Netscape to open pdf files with acrowrapper
instead of acroread, and you'll be all set.

--Jim Amundson

P.S. This should probably be added to some FAQ list somewhere.