# [OS X TeX] Suddenly, I'm Italian

Herbert Schulz herbs at wideopenwest.com
Fri Dec 2 15:15:12 CET 2011

On Dec 2, 2011, at 7:11 AM, Herbert Schulz wrote:

>
> On Dec 2, 2011, at 6:56 AM, Themis Matsoukas wrote:
>
>>
>> On Dec 1, 2011, at 6:46 PM, Herbert Schulz wrote:
>>> Looks like you are using a combination of TeXShop's Command Completion (e.g., \be+TAB --- you appear to have set TAB as the trigger) and Apple's Completion (e.g., definit+ESC).
>>
>> In TS's preferences you can choose either ESC or TAB to trigger command autocompletion. No matter which one you choose, def+ESC will open Apple's dictionary but def+TAB will not. This does not seem consistent. By the way, I only got the english dictionary to show up.
>>
>> Themis
>
> Howdy,
>
> You are looking at two completely separate things. TeXShop's Command Completion is built into TeXShop while Apple's Auto-Completion (of words) is part of Apple's Text Frameworks. They are meant for two completely different purposes; one for LaTeX Command structures and the other for Spelling choices. The reason they can coexist when the Command Completion trigger is ESC is that TeXShop's Command Completion gets first crack at looking at the item when you press the trigger and then passes it onto the Framework if there is no match.
>
> I happen to prefer that Command Completion is triggered by ESC (probably out of habit) but that also means that there could be some (rare) cases where I wish to complete a word that also happens to be part of a command so the Framework never sees it.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)

Howdy,

One more thing... if you could set TAB to execute Apple's Auto-Completion (if Command Completion finds no completion first) how would you enter a TAB into a document? The ESC key is not something one enters into a text document.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)