This new version uses PDFTeX by default, and will try to use TeXShop as the previewer.<br>(Note that TeXShop is part of MacTeX 2007.)<br><br>The bundle is available (for the moment) here:<br><br> <a href="http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.0.dmg">
http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.0.dmg</a><br><br>This version should be almost ready to be incorporated into the LaTeX bundle, so please let<br>me know about any problems.<br><br>The default behaviour can be changed by setting shell variables, as follows:
<br><br>1. If TM_LATEX_VIEWER=TeXniscope, it will use TeXniscope instead of TeXShop<br> (If you should happen to want LaTeX Watch to use a different previewer from 'Compile and View',<br> you can set TM_LATEX_WATCH_VIEWER=TeXShop to override the TM_LATEX_VIEWER setting.)
<br><br>2. If TM_LATEX_WATCH_MODE=PS, then it will compile via DVI, and use GV to preview.<br><br>3. If TM_LATEX_WATCH_DEBUG=console, additional status messages will be printed to the console;<br> if TM_LATEX_WATCH_DEBUG=dialog, these status messages will pop up in dialog boxes.
<br><br><br>Incidentally, there is a utility in Support/bin/check_open that may be more generally useful.<br>It uses the Carbon API to check whether a particular document is open in a particular application.<br>(This is used to stop watching the document when you close its preview window.) Of course
<br>the same thing could be done with AppleScript, but that is too slow. (Another alternative<br>would be to use the Perl-Carbon bindings that are included in 10.4, but that would not work on<br>earlier OS versions.)<br><br>
Since it's a bit of a pain to install GV, and since several widely-distributed versions have<br>irritating bugs, I wondered about including a GV binary in the package. As an experiment,<br>I built gv-3.5.8 as a universal binary with libXaw3d statically linked in, and it comes to
<br>about 3MB. Does anyone have an opinion on this?<br><br>Robin