[OS X TeX] Preview.app automatic refresh when PDF changes?
maarten.sneep at xs4all.nl
Thu Feb 24 23:27:54 CET 2005
On 24 feb 2005, at 22:04, Curtis Clifton wrote:
> Preview.app doesn't have this capability (though some folks simulated
> by using AppleScript to close and reopen the file in Preview).
Which requires GUI scripting (not pretty) and you'll end up on a
different page than were you started.
> I use TeXniscope for previewing PDFs and it does have an option to
> automatically refresh. It works well in my experience.
TeXniscope can be used in two modes: You can ask it to check for
updates automatically (it will then update its display while remaining
in the background), but depending on the length of your pdftex run, it
may try to refresh too early. The other mode is to switch that option
off, and simply bring the viewer to the foreground. At that moment it
will check the pdf file for its modification date, and update the
display if needed. Also asking it to (re)open a file (open -a
TeXniscope file.pdf) will refresh the display.
pdflatex file && open -a TeXniscope file.pdf should automate it all.
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives