[TxMt] howto update: make bibliography completion work in TM

Oliver Hagmann lists at interdisco.net
Mon Feb 19 17:12:31 UTC 2007


Hi there

I didn't use LaTeX for some time with TM and started to use it again  
today. I noticed the bibliography completion stopped working. I  
remember some message by Haris on the list about removing an  
environment.plist file which was necessary once. So I removed the  
file but didn't use LaTeX until today. Now when using escape in a  
cite scope, I get a spinning beach ball and I have to kill the  
command via Command-. . If I use Alt+Esc I also get the spinning  
beach ball and after killing the command I get this error message:

/Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:84:in  
`parse_bibfile': Interrupt
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
71:in `map'
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
71:in `parse_bibfile'
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
193:in `cite_scan'
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
191:in `call'
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
163:in `recursive_scan'
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
162:in `each'
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
162:in `recursive_scan'
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
161:in `each_pair'
	 ... 6 levels...
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
153:in `recursive_scan'
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
196:in `cite_scan'
	from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 
23:in `get_citations'
	from /tmp/temp_textmate.vAzA1V:8
}

Another thing, which stopped working, is the template insertion  
command. When I write 'temp' and hit tab I get the following error:

sh: line 1: ls: command not found
/tmp/temp_textmate.NvRU8j:14: undefined method

So could someone please update me on the current way of making the  
Bib-completion and template insertion work (variables, plist-files,  
or similar) and/or maybe add it to the LaTeX help-file? I'm updating  
my bundles via svn so I should have the most recent commands etc. I'm  
also using the latest cutting edge build of TM.

Big Thanks in advance!
Best. Oliver





More information about the textmate mailing list