[OS X TeX] Re:LaTeX editing environments

Charilaos Skiadas skiadas at hanover.edu
Sat Dec 9 07:11:01 EST 2006

On Dec 9, 2006, at 5:41 AM, Alexander Mehlmann wrote:
> Dear Haris,
> thank you very much inded for the TextMate tutorial.
> Some shortcuts, however, do not work properly in German keyboards.
> "command-{ "  (as an example) generates only a desperate peep  
> without doing its job.
> Is  switching  to the US keyboard the only practicable workaround?

No, you can also simply change the shortcuts. But first, to check  
that the problem is with the shortcut and not with the command  
itself, type ctrl+command+t, followed by "envba". Then you should be  
seeing "Insert -> Environment Based On Current Word" as the only  
option. If you don't, that probably means the language is not set to  
LaTeX, and you can fix that by shift-control-option-L (or by clicking  
the area near the bottom of the window, that has a little L in a  
circle, and selecting LaTeX from the list that pops up). If it does  
show up, pressing enter will execute it, and if it does work then  
then this tells us the problem is indeed simply with the shortcut.

To change the shortcut, open the Bundle editor by going to Bundles ->  
Bundle Editor -> Show Bundle Editor. Then find the LaTeX bundle and  
click on the arrow to its left, to disclose all the items in it  
(quite a lot of them). Look for the "Environment Based On Current  
Word" item, and select it. To the right, you'll see a line saying:  
"Activation: Key Equivalent" followed by the key equivalent in a  
field. Click on the field, and just press the key combination you  
want to be using instead of command-{. Then close the window, and do  
the same with "Command Based On Current Word" or any other command  
whose trigger you want to change. TextMate will remember your changes  
next time, and when you update it as well.

> Best
> Alex


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list