Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 03-02-2005, 05:02 PM   #1
yee379
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.
yee379 is offline   Reply With Quote
Old 01-02-2006, 01:34 AM   #2
vocaro
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
more importantly, is it possible (should a reload be possible) to go directly to the last page viewed?

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.
Attached Files
File Type: zip Reload Preview Document.zip (4.3 KB, 335 views)
vocaro is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:29 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.