Hi Jim,

On 08 Jan 2015, at 21:49 , Starx <jstarx@gmail.com> wrote:

Rene,

LaTeX is indeed checked under bundle preferences, but it was checked as soon as I cloned the latex bundle, I assumed this just indicated that Textmate knew that a latex bundle was present.  

I tried it out myself and indeed the LaTeX bundle was checked after I cloned the bundle. So it might indeed be the case that TextMate has overwritten the cloned bundle — especially since the preferences showed that the cloned bundle was updated 14 years [sic] ago. Sorry, for providing flawed instructions. Here are hopefully correct ones:

1. Uninstall the LaTeX bundle inside TextMate preferences

2. There should be no `latex.tmbundle` or `LaTeX.tmbundle` in `~/Library/Application Support/TextMate/Managed/Bundles/`. If there still is a bundle with such a name please delete it.

3. Create the folder `~/Library/Application Support/Avian/Bundles/` if it does not already exist. You can use the following Terminal command:

    mkdir -p ~/Library/Application\ Support/Avian/Bundles/

4. Clone the LaTeX bundle into `Avian/Bundles`:

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

After the bundle inside preferences is update the next time you can remove the cloned bundle, and install the one from preferences. 

The refresh_viewer.scpt can be opened by the apple script editor and by textedit as well.  When I do this I can see the code in the script.  I assume this means it's not compiled.

I assume so too. Just for reference, here is the alert dialog I get:


-Jim

Kind regards,
  René