General\href to refer to a local pdf file

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
centguy
Posts: 18
Joined: Tue Jan 06, 2009 5:42 am

\href to refer to a local pdf file

Post by centguy »

Whenever I click on a local pdf file link in xdvik, a message with
"Command "/bin/sh -c acroread /media/ext3-datadisk/a.pdf" exited with error code 127
/bin/sh: acroread: command not found

How can solve this problem ? This is on a MacBook Pro machine.

I have Adobe Acrobat Pro installed.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

bombcar
Posts: 22
Joined: Tue Oct 28, 2008 10:18 pm

Re: \href to refer to a local pdf file

Post by bombcar »

One highly dirty trick would be to create a link for acroread that calls Preview.app or something.

But the real way is to figure out how to set the viewer to call the right application.
Post Reply