|
|
#1 |
|
Triple-A Player
Join Date: Aug 2004
Posts: 52
|
preview.app and reloading files
hi,
i do quiet a lot of pdf work with latex. i like using Preview.app to preview my pdfs, however, it becomes tiresome when i have to keep on closing Preview to reopen the update file. is there anyway that preview can be forced to reopen the file? more importantly, is it possible (should a reload be possible) to go directly to the last page viewed? Cheers, Yee. |
|
|
|
|
|
#2 |
|
Prospect
Join Date: Jul 2004
Posts: 6
|
i do quiet a lot of pdf work with latex. i like using Preview.app to preview my pdfs, however, it becomes tiresome when i have to keep on closing Preview to reopen the update file. is there anyway that preview can be forced to reopen the file?
I was in the exact same situation, and I solved it with an AppleScript. I've attached it to this message. It's basically a hack to Preview that forces the document in question to close and then reload. So, if your LaTeX command is generating a document called document.pdf, you can use the following command to view it. Code:
osascript "Reload Preview Document.scpt" document.pdf This is already possible. Preview remembers the page it was on before when opening a document the next time. At least, this is the behavior I'm seeing, so the script should work just the way you want it to. |
|
|
|
![]() |
|
|