是的 PDF-tools在mac上体验一般 linux VM里还是不错的 支持4K display
似乎pdf-tools已经加入对retina/hiDPI的支持
是的 PDF-tools在mac上体验一般 linux VM里还是不错的 支持4K display
似乎pdf-tools已经加入对retina/hiDPI的支持
skim也支持打开文件为tab的
在系统设置-dock里将“Prefer tabs when opening documents”设为Always即可
值得看一看,我也觉得两个APP之间切换终究还是麻烦了一些。假如PDF-tools做的可以了我会转过去
嗯嗯全用PDFtools的好处在于 可以在全GUI平台实现双向跳转 而且notes信息可以真的保留在PDF文档本身里而非像skim那样是独立的一个annotation文件
pdf-tools好像没有连续翻页的效果,也是有些难受
是的 这个估计很难解决。。
但我之前想在linux上找skim的替代品 发现完全找不到
PDF浏览功能编辑功能都好说 但是没有一款有足够的command line API, 比如让我能用命令行打开文件并定位到某个annotation这样的操作 最多也就是zathura的打开某一面或者okular的搜索某个string。思来想去还是只能用pdf-tools
pdf-tools 在mac 下的 retina 支持只有在 emacs mac port 中才行。不然显示还是糊糊的。
理想的形式是标注信息既可以保存在PDF本身中「方便保存」,又可以保存成单独的标注文件「方便搜索,最好是org形式」
整合pdf-tools的第一步完成啦~ 参见
你好, 我还在用你之前写的skim+org-mode来写pdf的notes. 有一个问题: 如何给加了org-id的annotation一个单独的颜色, 给没加org-id的annotation另外一个颜色(便于区分)? 我看到 Skim / Wiki / AppleScript 没有color的选项, 你能想到办法实现吗
api不支持就没办法了。。
你可以考虑改用pdftools+org-noter 这个支持改颜色
等下好像能改
你试试把
set theNote to make new note with data theSelection with properties {type:highlight note}
这句改成
set theNote to make new note with data theSelection with properties {type:highlight note, color:red}
谢谢! 可以了. applescript全靠猜……
哈哈,说的太对了
可以打开dictionary看说明呀
兄弟,pdf-tools, no such page *** 这个问题有好的解决办法吗? error:
Debugger entered--Lisp error: (error "No such page: 0")
signal(error ("No such page: 0"))
error("No such page: %d" 0)
pdf-view-goto-page(0)
pdf-view-next-page(-1)
pdf-view-previous-page()
pdf-view-scroll-down-or-previous-page(55)
mwheel-scroll((triple-mouse-4 (#<window 9 on 1705.01156.pdf> 1 (943 . 657) 4905341 nil 1 (0 . 0) (image :type png :data "\211PNG\15\n\32\n\0\0\0\15IHDR\0\0\7\\\0\0\11\206\10\2\0\0\0c\213*\26\0\0 \0IDATx\1\354\335y\370u\325\300..." :scale 1 :width 1884 :map (((rect (183 . 1323) 662 . 1356) link-1-1 (pointer hand help-echo "Link to uri 'http://opensurfaces.cs.cornell.edu/sa...")) ((rect (257 . 1942) 294 . 1969) link-1-2 (pointer hand help-echo "Goto page 9")) ((rect (420 . 1942) 457 . 1969) link-1-3 (pointer hand help-echo "Goto page 9")) ((rect (576 . 1942) 613 . 1969) link-1-4 (pointer hand help-echo "Goto page 10")) ((rect (787 . 1942) 808 . 1969) link-1-5 (pointer hand help-echo "Goto page 9")) ((rect (1133 . 1754) 1170 . 1781) link-1-6 (pointer hand help-echo "Goto page 9")) ((rect (998 . 1975) 1019 . 2002) link-1-7 (pointer hand help-echo "Goto page 1")) ((rect (606 . 323) 1225 . 376) pdf-view-text-region (pointer text)) ((rect (326 . 446) 542 . 489) pdf-view-text-region (pointer text)) ((rect (686 . 446) 831 . 489) pdf-view-text-region (pointer text)) ((rect (976 . 446) 1185 . 489) pdf-view-text-region (pointer text)) ((rect (1330 . 446) 1508 . 489) pdf-view-text-region (pointer text)) ((rect (779 . 489) 1056 . 533) pdf-view-text-region (pointer text)) ((rect (446 . 616) 588 . 659) pdf-view-text-region (pointer text)) ((rect (191 . 696) 884 . 733) pdf-view-text-region (pointer text)) ((rect (154 . 733) 884 . 1062) pdf-view-text-region (pointer text)) ((rect (154 . 1065) 884 . 1099) pdf-view-text-region (pointer text)) ((rect (154 . 1102) 884 . 1136) pdf-view-text-region (pointer text)) ((rect (154 . 1139) 884 . 1157) pdf-view-text-region (pointer text)) ((rect (154 . 1157) 884 . 1173) pdf-view-text-region (pointer text)) ((rect (948 . 1157) 1681 . 1173) pdf-view-text-region (pointer text)) ((rect (948 . 1173) 1681 . 1176) pdf-view-text-region (pointer text)) ((rect (154 . 1176) 884 . 1210) pdf-view-text-region (pointer text)) ((rect (948 . 1176) 1681 . 1210) pdf-view-text-region (pointer text)) ((rect (948 . 1210) 1681 . 1213) pdf-view-text-region (pointer text)) ((rect (154 . 1213) 884 . 1321) pdf-view-text-region (pointer text)) ((rect (948 . 1213) 1681 . 1321) pdf-view-text-region (pointer text)) ((rect (154 . 1321) 668 . 1358) pdf-view-text-region (pointer text)) ((rect (948 . 1321) 1681 . 1358) pdf-view-text-region (pointer text)) ((rect (948 . 1358) 1681 . 1379) pdf-view-text-region (pointer text)) ((rect (948 . 1379) 1604 . 1416) pdf-view-text-region (pointer text)) ((rect (154 . 1431) 391 . 1478) pdf-view-text-region (pointer text)) ((rect (948 . 1496) 1681 . 1499) pdf-view-text-region (pointer text)) ((rect (191 . 1499) 884 . 1536) pdf-view-text-region (pointer text)) ((rect (948 . 1499) 1681 . 1536) pdf-view-text-region (pointer text)) ((rect (154 . 1536) 884 . 2084) pdf-view-text-region (pointer text)) ((rect (948 . 1536) 1681 . 2084) pdf-view-text-region (pointer text)) ((rect (154 . 2084) 884 . 2087) pdf-view-text-region (pointer text)) ((rect (948 . 2084) 1662 . 2087) pdf-view-text-region (pointer text)) ((rect (154 . 2087) 548 . 2121) pdf-view-text-region (pointer text)) ((rect (948 . 2087) 1662 . 2121) pdf-view-text-region (pointer text)) ((rect (154 . 2121) 548 . 2124) pdf-view-text-region (pointer text)) ((rect (191 . 2127) 884 . 2164) pdf-view-text-region (pointer text)) ((rect (985 . 2127) 1681 . 2164) pdf-view-text-region (pointer text)) ((rect (154 . 2164) 884 . 2201) pdf-view-text-region (pointer text)) ((rect (948 . 2164) 1681 . 2201) pdf-view-text-region (pointer text)) ((rect (908 . 2256) 927 . 2293) pdf-view-text-region (pointer text))) :pointer arrow :relief 0) (943 . 657) (1884 . 2438)) 11))
funcall-interactively(mwheel-scroll (triple-mouse-4 (#<window 9 on 1705.01156.pdf> 1 (943 . 657) 4905341 nil 1 (0 . 0) (image :type png :data "\211PNG\15\n\32\n\0\0\0\15IHDR\0\0\7\\\0\0\11\206\10\2\0\0\0c\213*\26\0\0 \0IDATx\1\354\335y\370u\325\300..." :scale 1 :width 1884 :map (((rect (183 . 1323) 662 . 1356) link-1-1 (pointer hand help-echo "Link to uri 'http://opensurfaces.cs.cornell.edu/sa...")) ((rect (257 . 1942) 294 . 1969) link-1-2 (pointer hand help-echo "Goto page 9")) ((rect (420 . 1942) 457 . 1969) link-1-3 (pointer hand help-echo "Goto page 9")) ((rect (576 . 1942) 613 . 1969) link-1-4 (pointer hand help-echo "Goto page 10")) ((rect (787 . 1942) 808 . 1969) link-1-5 (pointer hand help-echo "Goto page 9")) ((rect (1133 . 1754) 1170 . 1781) link-1-6 (pointer hand help-echo "Goto page 9")) ((rect (998 . 1975) 1019 . 2002) link-1-7 (pointer hand help-echo "Goto page 1")) ((rect (606 . 323) 1225 . 376) pdf-view-text-region (pointer text)) ((rect (326 . 446) 542 . 489) pdf-view-text-region (pointer text)) ((rect (686 . 446) 831 . 489) pdf-view-text-region (pointer text)) ((rect (976 . 446) 1185 . 489) pdf-view-text-region (pointer text)) ((rect (1330 . 446) 1508 . 489) pdf-view-text-region (pointer text)) ((rect (779 . 489) 1056 . 533) pdf-view-text-region (pointer text)) ((rect (446 . 616) 588 . 659) pdf-view-text-region (pointer text)) ((rect (191 . 696) 884 . 733) pdf-view-text-region (pointer text)) ((rect (154 . 733) 884 . 1062) pdf-view-text-region (pointer text)) ((rect (154 . 1065) 884 . 1099) pdf-view-text-region (pointer text)) ((rect (154 . 1102) 884 . 1136) pdf-view-text-region (pointer text)) ((rect (154 . 1139) 884 . 1157) pdf-view-text-region (pointer text)) ((rect (154 . 1157) 884 . 1173) pdf-view-text-region (pointer text)) ((rect (948 . 1157) 1681 . 1173) pdf-view-text-region (pointer text)) ((rect (948 . 1173) 1681 . 1176) pdf-view-text-region (pointer text)) ((rect (154 . 1176) 884 . 1210) pdf-view-text-region (pointer text)) ((rect (948 . 1176) 1681 . 1210) pdf-view-text-region (pointer text)) ((rect (948 . 1210) 1681 . 1213) pdf-view-text-region (pointer text)) ((rect (154 . 1213) 884 . 1321) pdf-view-text-region (pointer text)) ((rect (948 . 1213) 1681 . 1321) pdf-view-text-region (pointer text)) ((rect (154 . 1321) 668 . 1358) pdf-view-text-region (pointer text)) ((rect (948 . 1321) 1681 . 1358) pdf-view-text-region (pointer text)) ((rect (948 . 1358) 1681 . 1379) pdf-view-text-region (pointer text)) ((rect (948 . 1379) 1604 . 1416) pdf-view-text-region (pointer text)) ((rect (154 . 1431) 391 . 1478) pdf-view-text-region (pointer text)) ((rect (948 . 1496) 1681 . 1499) pdf-view-text-region (pointer text)) ((rect (191 . 1499) 884 . 1536) pdf-view-text-region (pointer text)) ((rect (948 . 1499) 1681 . 1536) pdf-view-text-region (pointer text)) ((rect (154 . 1536) 884 . 2084) pdf-view-text-region (pointer text)) ((rect (948 . 1536) 1681 . 2084) pdf-view-text-region (pointer text)) ((rect (154 . 2084) 884 . 2087) pdf-view-text-region (pointer text)) ((rect (948 . 2084) 1662 . 2087) pdf-view-text-region (pointer text)) ((rect (154 . 2087) 548 . 2121) pdf-view-text-region (pointer text)) ((rect (948 . 2087) 1662 . 2121) pdf-view-text-region (pointer text)) ((rect (154 . 2121) 548 . 2124) pdf-view-text-region (pointer text)) ((rect (191 . 2127) 884 . 2164) pdf-view-text-region (pointer text)) ((rect (985 . 2127) 1681 . 2164) pdf-view-text-region (pointer text)) ((rect (154 . 2164) 884 . 2201) pdf-view-text-region (pointer text)) ((rect (948 . 2164) 1681 . 2201) pdf-view-text-region (pointer text)) ((rect (908 . 2256) 927 . 2293) pdf-view-text-region (pointer text))) :pointer arrow :relief 0) (943 . 657) (1884 . 2438)) 11))
call-interactively(mwheel-scroll nil nil)
command-execute(mwheel-scroll)
你不开toggle-debug-on-error就没事。。。
难道我emacs配置问题?一直关闭,还执行了toggle-debug-on-quit,一直出现这个问题,最近使用裸emacs来重新搭建我的环境,原来一直使用spacemacs,发现有一些问题,放弃了。
已经彻底关闭,可以。