<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body style="font-family: Helvetica Neue;" bgcolor="#FFFFFF"
text="#000000"><div style="font-family: Helvetica Neue;"><span
style="font-family: Helvetica Neue;">Hi René,<br>I tried your
suggestions. I've added the snippet, both in addition and in replacement
of the previous lines regarding TeXShop in refresh_viewer.scpt, and in
both cases at the second and successive uses of "Typeset & View
(PDF)", TeXShop opens with no alert dialog. For me the command<br><br>defaults
read com.macromates.textmate.preview latexViewer<br><br>shows that I'm
using Skim, which is my current viewer. </span><span><span
style="font-family: Helvetica Neue;">I have the latest version of
TeXShop (3.48.1) on my computer.</span> </span><span><span
style="font-family: Helvetica Neue;">In my case</span> I had an extra
LaTeX bundle in the Avian</span> directory, but the behavior has
persisted even after removing the bundle.<br><br>Cheers,<br>Angelo<br><br>René
Schwaiger wrote:<blockquote
cite="mid:72C09626-2C6F-4066-ABF0-9A25448A93FB@f-m.fm" type="cite"><pre wrap="">Hi Jim,
</pre><blockquote type="cite"><pre wrap="">On 06 Jan 2015, at 20:39 , Starx <a class="moz-txt-link-rfc2396E" href="mailto:jstarx@gmail.com"><jstarx@gmail.com></a> wrote:
It seems I spoke too soon. TeXShop has now started to open again when I type set and view files. I don't know what I could have done to cause this so I'm not sure how to have you recreate this behavior. I have noticed that it is opening the .bib file from my project. I wonder if maybe the bibtex interface also refreshes the viewer somehow?
</pre></blockquote><pre wrap=""><!---->
by bibtex interface, you refer to the command “Create Bibliography”? Normally it should not not refresh the viewer.
I guess we can try to fix this step by step if that is okay with you. Could you please change `refresh_viewer.scpt` by adding a `display alert`:
...
else if viewer is "TeXShop" then
display alert "Refresh PDF in TeXShop"
tell application "TeXShop"
...
If the refresh of the viewer is really caused by `texmate` then you should now get an alert dialog every time TeXShop opens after you used “Typeset & View (PDF)” more than once. If that is the case, then maybe the viewer is set incorrectly. Please check the selected PDF viewer by pasting the following command into “Terminal”:
defaults read com.macromates.textmate.preview latexViewer
The command should return the string `Skim`. Is this the case?
</pre><blockquote type="cite"><pre wrap="">-Jim
</pre></blockquote><pre wrap=""><!---->
Kind regards,
René
_______________________________________________
textmate mailing list
<a class="moz-txt-link-abbreviated" href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>
<a class="moz-txt-link-freetext" href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></pre></blockquote></div></body></html>