[OS X TeX] Shortcuts

Mads Elmelund Hjadstrup Hansen mads-elmelund at hotmail.com
Thu Mar 19 14:47:07 EDT 2015


Hi again,

Using '% !TEX encoding = MacOSRoman’ solved it all. 
Thanks a lot for all the inputs :)

Mads Elmelund


> Den 19/03/2015 kl. 14.30 skrev Herbert Schulz <herbs at wideopenwest.com>:
> 
>> 
>> 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 <https://dl.dropboxusercontent.com/u/10932738/index.html>>. Comments are more than welcome!
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 
> 
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq <http://www.tex.ac.uk/faq>
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/ <http://email.esm.psu.edu/mac-tex/>
> List Archive: http://tug.org/pipermail/macostex-archives/ <http://tug.org/pipermail/macostex-archives/>
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/ <http://mactex-wiki.tug.org/>
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex <https://email.esm.psu.edu/mailman/listinfo/macosx-tex>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20150319/97e87865/attachment.html>


More information about the MacOSX-TeX mailing list