[TxMt] Re: LaTeX bundle wont stop opening TeXShop

René Schwaiger sanssecours at f-m.fm
Wed Jan 7 23:58:19 UTC 2015


Hi Jim,

> On 07 Jan 2015, at 20:35 , Starx <jstarx at gmail.com> wrote:
> 
> >Could you please change `refresh_viewer.scpt` by adding a `display alert`
> 
> Ren,
> 
> I actually did some checking along those lines before I got your message.  I used a notification instead of a display alert, but the result is that the "TeXShop" block of code is definitely not being executed.  Never the less, deleting the tell block from that code will still stop TeXShop from opening.  I noticed you had to delete the tell block and not just the code within the tell block.  Some online searching led me to the following which seems likely to be the root of the problem:
> 
> http://stackoverflow.com/questions/12431811/how-to-make-applescript-not-automatically-open-applications-in-tell-blocks
> 
> Apparently the script should be compiled so that Skim and TeXShop are not both automatically opened.

that is very valuable information. Thank you.

I compiled the script and updated the bundle accordingly. Could you please check if the changes work for you by following these steps:

1. Uninstall the LaTeX bundle inside TextMate
2. Clone the newest version of the bundle from GitHub in “Terminal”:

   cd ~/Library/Application\ Support/TextMate/Managed/Bundles/
   git clone https://github.com/textmate/latex.tmbundle.git

> I am not sure why Angelo and I seem to be the only ones having this issue.  If the above is correct then this behavior should happen to everyone.

Maybe Apple changed the behaviour in OS X 10.10. This would also explain why I am not able to reproduce the problem.

> -Jim

Kind regards,
  René


More information about the textmate mailing list