Sig*_*ius 13
我自己也很生气,(不幸的是)我只有一个"黑客"解决方案.
您可以在单页模式(cmd 2
)中查看pdf,以便在排版后保持在同一页面上.
我希望有人发布一个永久解决方案,适用于连续滚动.
我相信有几种选择......
安装Skim
,请看这里.
将fswatch
您可以安装的东西放在一起使用,homebrew
以提供类似于Linux的东西,inotify
并设置运行监视PDF,并在修改一个时,使用一些Applecript刷新预览.
它看起来像这样:
fswatch -iI ./*.pdf | xargs -I{} ./RefreshPreview {}
Run Code Online (Sandbox Code Playgroud)
并且RefreshPreview
是这样的:
#!/bin/bash
osascript -e 'tell application "Preview" to quit'
sleep 1
open -a Preview "$1"
# If you don't want Preview to come forwards and get focus, use the following
# open -g -a Preview "$1"
Run Code Online (Sandbox Code Playgroud)
如果您不熟悉脚本,则需要在Terminal中使脚本可执行
chmod +x RefreshPreview
Run Code Online (Sandbox Code Playgroud)
我刚刚发现更简单,更优雅的脚本会更好用:
#!/bin/bash
osascript<<EOF
tell application "Preview" to open POSIX file "$1"
EOF
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
5219 次 |
最近记录: |