Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
444 views
in Technique[技术] by (71.8m points)

macos - 链接到pdf文档的外部多媒体文件可以在macOS pdf-viewer预览版中启动外部应用程序吗?(Can external multimedia files linked to pdf documents launch external applications in the macOS pdf-viewer Preview?)

I have generated a beamer pdf containing a link to an external player in order to play a sound.

(我已经生成了包含与外部播放器的链接的Beamer PDF,以便播放声音。)

I am opening it with the macOS pdf viewer preview and when I hover the mouse pointer over the clickable text, the location of the .wav file is shown but when I click on the text nothing happens.

(我使用macOS pdf查看器preview打开它,当我将鼠标指针悬停在可点击的文本上时,将显示.wav文件的位置,但是当我单击该文本时什么也没有发生。)

Here is the minimal working example:

(这是最小的工作示例:)

documentclass{beamer}
usepackage{multimedia}

egin{document}
sound[externalviewer]{test}{sound.wav}
end{document}
  ask by Leptoceratops translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Macs Preview.app is known to not play nicely with the multimedia package.

(Macs Preview.app不能很好地与multimedia包一起播放。)

I suggest to use another pdf viewer instead.

(我建议改用另一个pdf查看器。)

For example, your code works fine with

(例如,您的代码可以与)

  • adobe reader

    (Adobe Reader)

  • skim

    (撇去)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...