[OS X TeX] Autocompletion in TeXShop

Julian Aguirre julian.aguirre at ehu.es
Mon Oct 1 11:26:24 CEST 2007


El 30/09/2007, a las 14:54, Themis Matsoukas escribió:

> On Sep 28, 2007, at 11:54 AM, Julian Aguirre wrote:
>
>> Hi,
>>
>> I am having a problem with autocompletion (TeXShop 2.14, spanish  
>> localization) and the character ^. When I stroke the ^ key, the  
>> symbol appears in a yellow box. If the next key is a letter, say  
>> x, I get ^x, with no braces. But if the next stoke is a space, I  
>> get ^^{|} with the cursor | between the braces. Something similar  
>> happens with the umlauts. ä is converted into ¨\"a, with the  
>> umault before the backslash.
>>
>> On the other hand, _ produces _{|}, as expected.
>
> The yellow box you're referring to appears in international  
> keyboard layouts to give you access to accented characters.  
> Apparently, your keyboard is trying to place a "^" or "¨" on top of  
> the next character you are typing but instead, it prints that  
> character in front of the autocompletion string. Since I don't have  
> this situation on my keyboard I don't know what the solution is.  
> Have you tried to redefine the autocompletion commands in  
> autocompletion.plist?
>
> Themis

I have edited the line corresponding to the carachter ^

	<key>^</key>
	<string>{#SEL##INS#}</string>

Now ^followed by space gives ^{!}, but ^ alone is not substituted.

Julián
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list