In the following paper in the PracTeX journal that
LATEXing with TextMate Charilaos Skiadas and Thomas Kjosmoen
I read that autocompletion works for \ref and \label. Presumably, if I put the caret within the braces of a \ref{} command and press Esc, I should get a list of defined labels.
This does not work on my machines. What am I doing wrong?
On 26/06/2010, at 5:03 AM, Erich Neuwirth wrote:
I read that autocompletion works for \ref and \label. Presumably, if I put the caret within the braces of a \ref{} command and press Esc, I should get a list of defined labels.
This does not work on my machines. What am I doing wrong?
You'll want to use the LaTeX bundle's completion command, Option-Esc. Also, make sure you have this declaration defined at the top of the file (without this, Option-Esc gave me an error):
%!TEX root = /path/to/document.tex
Best regards,
Thanks. Where could I have found this information? I have to learn where to search ;-)
On Jun 25, 2010, at 11:58 PM, Adam Sharp wrote:
On 26/06/2010, at 5:03 AM, Erich Neuwirth wrote:
I read that autocompletion works for \ref and \label. Presumably, if I put the caret within the braces of a \ref{} command and press Esc, I should get a list of defined labels.
This does not work on my machines. What am I doing wrong?
You'll want to use the LaTeX bundle's completion command, Option-Esc. Also, make sure you have this declaration defined at the top of the file (without this, Option-Esc gave me an error):
%!TEX root = /path/to/document.tex
Best regards,
-- Adam
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I found the documentation for bundles. I still have to get used to searching for things in unexpected places.
On Jun 26, 2010, at 2:58 AM, Erich Neuwirth wrote:
Thanks. Where could I have found this information? I have to learn where to search ;-)
On Jun 25, 2010, at 11:58 PM, Adam Sharp wrote:
On 26/06/2010, at 5:03 AM, Erich Neuwirth wrote:
I read that autocompletion works for \ref and \label. Presumably, if I put the caret within the braces of a \ref{} command and press Esc, I should get a list of defined labels.
This does not work on my machines. What am I doing wrong?
You'll want to use the LaTeX bundle's completion command, Option-Esc. Also, make sure you have this declaration defined at the top of the file (without this, Option-Esc gave me an error):
%!TEX root = /path/to/document.tex
Best regards,
-- Adam
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 26/06/2010, at 8:16 PM, Erich Neuwirth wrote:
On Jun 26, 2010, at 2:58 AM, Erich Neuwirth wrote:
Thanks. Where could I have found this information? I have to learn where to search ;-)
I found the documentation for bundles. I still have to get used to searching for things in unexpected places.
Many bundles have a Help or Documentation command somewhere (often bound to Ctrl-H). Besides that, Option-Esc seems to be the convention for bundle-specific completions, and many different language bundles provide useful completion commands.
Other than that, Google, and then of course this list is a great place for further help. ;)