[texhax] href{run... in pdf with acroread

Sasha Panfilov A.V.Panfilov at bio.uu.nl
Mon Nov 28 15:50:43 CET 2005

Dear Steve,
Did you find a fix to that bug.
I have it on in my system after acroread upgrade.

Thank you very much Sasha

Sasha Panfilov
Prof., Ph.D,
Theoretical Biology
University of Utrecht
Padualaan 8
3584 CH, Utrecht
The Netherlands


A.V.Panfilov at bio.uu.nl
phone: 31-(0)30-2533694
fax: 31-30-2513655

Steve Schwartz s.schwartz at imperial.ac.uk
Fri Sep 9 19:05:25 CEST 2005

     * Previous message: [texhax] roman page numbers in acrobat
     * Next message: [texhax] stix fonts license and TeX
     * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

This is really an acrobat reader problem (bug?) but perhaps someone has
seen it. It appears to be new in acrobat reader 7.0 (and the quick fix
is to roll back to reader 6).

I use hyperref to insert run commands into a pdf using pdflatex, so that
I can show movies within beamer presentations. The syntax is:

\href{run:/movie_script.sh}{Click Here}

where movie_script.sh is a shell script to play the movie (I have it run
mplayer on my linux laptop, with various options).

On clicking the hyperlink, acroread 7.0 throws up a box complaining that
"Adobe Reader could not open 'movie_script.sh' because it is either not
a supported file type or because the file has been damaged..." On
clicking the OK button, the movie then plays! Not very slick.

Other pdf viewers either don't understand the run hyperref or aren't as
good at full screen display. xpdf throws up a dialog "About to execute
the command movie_script.sh &" and likewise forces an OK button to be
pressed. It also doesn't have a proper full-screen mode.

Maybe there's a way to change the syntax of the \href instruction to
change the way acroread handles it.

Any ideas?


Professor Steven J Schwartz      Phone: +44-(0)20-7594-7660
Space and Atmospheric Physics    Fax:   +44-(0)20-7594-7772
The Blackett Laboratory          E-mail: s.schwartz at imperial.ac.uk
Imperial College London          Office: Huxley 6M70
London SW7 2BW, U.K.             Web: http://www.sp.ph.ic.ac.uk/~sjs

More information about the texhax mailing list