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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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