Hi all, I'm a Textmate newcomer. I'm using it to write my dissertation in Latex. I ditched TexShop and I really love Textmate. I've watched the video tutorial, read the documentation and have everything setup and working. I have a master file and the compilation works flawlessly.
The one thing I haven't been able to use is the \ref{} and \cite{} completion. I have a bib file linked to the master file and my bibliography shows fine when I compile the document. I just can't get completion to work. Same thing with \ref{}, I added colon (:) to the set of word characters but nothing. When I'm in a \ref{} or \cite{} and press escape, nothing happens, I press option-escape and nothing happens. Type the first few letters and press escape, nothing. If I'm outside of \ref{} or \cite{} and type eq: and then escape I DO get completion to work but not if I'm inside of the {}!!!!
If I'm anywhere outside an {} and press option-escape I get:
Label based on current word.. 1 Citation based on current work... 2
but if I choose either I get a crosshair pointer, what is this for? I'm running Textmate version 1.5.4 (1360) and both the Lattex bundle and support folder are the latest from SVN. Mac os X 10.4.8.
Thanks for your help,
Andres
Hi Andres,
welcome to TextMate!
It is surprising that the \ref commands don't work, for the cite command we've had some problems related to malformed bib files. Can you send me a small test file demonstrating the problem, accompanied by a test bib file, and I can see what is going on?
Does label completion work for you on single files? I.e if you have a file, SAVED, with contents:
\documentclass{article} \label{hi} \ref{}
And you press opt-esc with the caret inside the {} in the ref, what happens? If this works, then please send me some test files that have problems.
Haris Skiadas Department of Mathematics and Computer Science Hanover College
I'm also having problems with Latex label completion!
Charilaos Skiadas wrote:
Does label completion work for you on single files?
Yes. For single files everything works find. But as soon as I have a project with TM_LATEX_MASTER defined the completion does not do anything (not inside the master file itself and not inside any other file that is included). I just get an error-beep.
Ruben
On Apr 13, 2007, at 4:03 AM, Ruben Debeerst wrote:
I'm also having problems with Latex label completion!
Charilaos Skiadas wrote:
Does label completion work for you on single files?
Yes. For single files everything works find. But as soon as I have a project with TM_LATEX_MASTER defined the completion does not do anything (not inside the master file itself and not inside any other file that is included). I just get an error-beep.
Getting back on this a bit late, but is this still a problem? If so can you send me a sample project showing the problem, ideally including a tmproj file, and with the TM_LATEX_MASTER value defined there?
Ruben
Haris Skiadas Department of Mathematics and Computer Science Hanover College