Hi,<div><br></div><div>I've had several problems with the LaTeX bundle and PDF Sync using Skim.  In the end I manually setup Skim (in Skim Preferences) to call a python script which then opens TM2 using txmt:// url scheme (TM2 claims this url scheme everytime you open the Terminal tab of the preferences).</div>
<div><br></div><div>Here is my scrip:</div><div><br></div><div><div>#!/usr/bin/env python</div><div><br></div><div>import urllib</div><div>import os</div><div>import sys</div><div><br></div><div>commandString = "open \"txmt://open?url=file://%s&line=%s\"" % (urllib.quote(sys.argv[1]), sys.argv[2])</div>
<div><br></div><div>os.system(commandString)</div></div><div><br></div><div>I have made several changes to the avian LaTeX bundle to fix other problems, so I would recommend that you start a fresh with my version (I have been waiting for a pull from the official repo for several months now).</div>
<div><br></div><div><a href="http://github.com/dhowden/latex.tmbundle">http://github.com/dhowden/latex.tmbundle</a></div><div><br></div><div>Make sure that you uninstall the default avian LaTeX bundle from the TM2 Preferences before manually installing this one.</div>
<div><br></div><div>David.</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Fri, Mar 9, 2012 at 2:57 PM, vonera <span dir="ltr"><<a href="mailto:vonera@gmail.com">vonera@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi all,<br>
<br>
i have an issue with TM2 and LaTex.<br>
I've used TM1 with Skim, then i've installed TM2 and after some<br>
modifications it was working fine.<br>
the only remaining problem was the Sync with Skim. Every time i tried to go<br>
back from Skim to tex file, it opened TM1.<br>
I removed TM1 with AppCleaner (this was a mistake as i read<br>
<a href="http://old.nabble.com/TM2-LaTeX-Woes-to32981904.html#a32984513" target="_blank">http://old.nabble.com/TM2-LaTeX-Woes-to32981904.html#a32984513</a> here )<br>
After that i've removed TM2 and did everything the same as before.<br>
I've installed TM1, set the path, compiled some tex file, configured Skim,<br>
compiled tex file again.<br>
then i've installed TM2. At first time i tried to open a tex file it asked<br>
me like the first time to install the LaTex bundle.<br>
After downloading 4 packages and "installing" them it opened the tex file<br>
but the active bundle was PlainText.<br>
In the Bundle editor i can see the LaTex but it is grayed-out.<br>
<br>
Does anybody have an idea how to proceed?<br>
<br>
Cheers<br>
    dim<br>
<span class="HOEnZb"><font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/TM2-LaTeX-Problem-tp33472319p33472319.html" target="_blank">http://old.nabble.com/TM2-LaTeX-Problem-tp33472319p33472319.html</a><br>
Sent from the textmate users mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</font></span></blockquote></div><br></div>