[OS X TeX] Shortcuts

Herbert Schulz herbs at wideopenwest.com
Thu Mar 19 09:30:57 EDT 2015


> On Mar 19, 2015, at 8:19 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
> 
>> On Mar 19, 2015, at 1:19 AM, Mads Elmelund Hjadstrup Hansen <mads-elmelund at hotmail.com> wrote:
>> 
>> Hi MacOSX-TeX,
>> 
>> I have been using TeXShop for a few years now, and I have recently acquired a new MacBook Pro and installed TeXShop.
>> The problem is; when I used the packages
>> 
>> \usepackage[T1]{fontenc}
>> \usepackage[applemac]{inputenc}
>> \usepackage[danish]{babel}
>> 
>> on my previous MacBook, I was able to use the danish characters ‘æ’, ‘ø’ and ‘å’ and also use option shortcuts like option+d=∂ instead of writing \partial.
>> Now the ‘applemac’ does not understand neither ‘æ’, ‘ø’, ‘å’ nor the shortcuts.
>> Is there any way to fix this? Using the ‘latin1’ instead accepts ‘æ’, ‘ø’ and ‘å’ but not the shortcuts.
>> 
>> Sincerely 
>> Mads Elmelund
> 
> Howdy,
> 
> The default encoding for TeXShop used to be MacOSRoman (applemac for inputenc) and you old files probably are saved in that encoding. Newer versions of TeXShop default to IsoLatin9. You can change the default in TeXShop->Preferences->Source->Encoding. You can also tell TeXShop to use MacOSRoman encoding when opening a given file by placing the line
> 
> % !TEX encoding = MacOSRoman
> 
> near the top of the source file; TeXShop will then open that file using MacOSRoman encoding no matter what default encoding.
> 
> When you say typing Opt-d (∂) doesn't work I assume you mean that ∂ isn't automatically replaced by \partial. This is known as a Key Binding. Make sure that TeXShop->Preferences->Source->Editor->Key Bindings is checked.
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)

Howdy,

By the way, I'm (slowly) putting together a document about three features of TeXShop that too often get confused; Key Bindings (previously called Auto-Completion), Macros and Command Completion.

If you wish, you can get a preliminary version of the document as TeXShopFeatureConfusion.pdf.zip from my download site, <https://dl.dropboxusercontent.com/u/10932738/index.html>. Comments are more than welcome!

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)







More information about the MacOSX-TeX mailing list