Since I have never used BibDesk in conjunction with TextMate before, we can rule out #3 and I use option #2 only if #1 doesn't work or turn up the option I like.
I'm definitely talking about #1, although I was a bit confused myself, to be honest.
So here are some more details: (1) I have set the variable TM_LATEX_BIB (there are spaces in the path, not sure whether that is important). (2) I type \cite{ and start with the first few letters of a citation (e. g. King for KingSmithVanderbilt:blablabla). The scope is text.tex.latex, meta.citation.latex and constant.other.reference.citation.latex. Sounds alright to me, although you are clearly the expert here. (3) I hit escape and nothing happens, no autocompletion or toggling through my options. Instead, I get OS X' alarm bell. (4) I hit option + escape and everything works just fine. So TextMate definitely finds my bibliography file …
If there is anything I can do for regression, just let me know.
Max
PS I will be on a conference Monday through Thursday, so I won't reply as quickly as I usually do.
On Sep 24, 2006, at 6:42 PM, Max Lein wrote:
(1) I have set the variable TM_LATEX_BIB (there are spaces in the path, not sure whether that is important).
That was it! I was not handling spaces in filenames correctly. I just committed a fix. This is a function residing in the global Support directory, not the LaTeX bundle, so you would need to update the checkout you have for your global support directory. (depending on where your checkout is, or whether you don't have one, this might look something like: .../TextMate/Support/bin/ LatexCiteCompletions.sh, while your LaTeX bundle would have been .../ TextMate/Bundles/Latex.tmBundle )
Haris
On Sep 25, 2006, at 1:07 AM, Charilaos Skiadas wrote:
On Sep 24, 2006, at 6:42 PM, Max Lein wrote:
(1) I have set the variable TM_LATEX_BIB (there are spaces in the path, not sure whether that is important).
That was it! I was not handling spaces in filenames correctly. I just committed a fix. This is a function residing in the global Support directory, not the LaTeX bundle, so you would need to update the checkout you have for your global support directory. (depending on where your checkout is, or whether you don't have one, this might look something like: .../TextMate/Support/bin/ LatexCiteCompletions.sh, while your LaTeX bundle would have been .../TextMate/Bundles/Latex.tmBundle )
It works now - setting the variable helped, didn't now that it exists Btw. it would be cool if the completion would work in \nocite{} as well :)
Thanks a lot for helping
Niels
-- Jack Sparrow: How did you get here? Will Turner: Sea turtles, mate. A pair of them strapped to my feet. Jack Sparrow: Not so easy, is it? -- Pirates of the Carribean: Dead Man's Chest