<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br class=""><blockquote type="cite" class="">Am 12.02.2016 um 17:22 schrieb Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a>>:<br class=""><br class=""><blockquote type="cite" class="">On Feb 12, 2016, at 1:59 AM, Rolf Schmolling <<a href="mailto:rolf.schmolling@alumni.TU-Berlin.de" class="">rolf.schmolling@alumni.TU-Berlin.de</a>> wrote:<br class=""><br class="">%!TEX TS-program = pdflatex<br class="">%!TEX encoding = utf8<br class=""><br class="">\documentclass[DIV=calc,fontsize=10pt, paper=a4, enlargefirstpage,%DINmtext<br class="">%,BCOR=1cm<br class="">]{scrlttr2}<br class="">\KOMAoptions{<br class="">fromalign=right,%Ausrichtung des Absenderbriefkopfes<br class="">fromphone=true,%Eigene Telefonnummer im Briefkopf<br class="">fromurl=true,%Homepageadresse im Briefkopf<br class="">fromemail=true,%Eigene E-Mailadresse im Briefkopf<br class="">%parskip=half, %für Absätze ohne Ersteinzug aber 1/3 Zeile Absatzabstand<br class="">fromrule=aftername%für unter dem Absendernamen, alternativ: true,für Linie unter dem Absenderbriefkopf<br class="">}<br class="">\usepackage[ngerman]{babel}<br class="">\usepackage[applemac]{inputenc}<br class="">\usepackage[T1]{fontenc}<br class=""></blockquote><br class="">Howdy,<br class=""><br class="">You have several incompatible and incorrect things going here.<br class=""><br class="">1)The line<br class=""><br class="">\usepackage[applemac]{inputenc}<br class=""><br class="">is telling LaTeX that you are using MacOSRoman encoding for the file.<br class=""><br class="">2)The line<br class=""><br class="">%!TEX encoding = utf8<br class=""><br class="">is incorrect but is trying (unsuccessfully) to tell TeXShop to use UTF-8 Unicode encoding. UTF-8 Unicode and MacOSRoman encodings are incompatible if you include accented characters. However, since the line is formed incorrectly (it should be<br class=""><br class="">%!TEX encoding = UTF-8 Unicode<br class=""><br class="">if that's what you really wanted---but wait, don't do that) it is ignored by TeXShop and TeXShop's factory default encoding is used. Until recently the factory default encoding was MacOSRoman (so the inputenc line worked!!!) but recent versions of TeXshop have changed the factory default to IsoLatin9. If you change the the default encoding on the Source tab in TeXShop->Preferences to `Western (Mac OS Roman)' you should be ok. </blockquote><div class=""><br class=""></div><div class="">I am having a problem here, as „Western (Mac OS Roman)“ is not listed as available at all in the TexShop pref pane. </div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="2381DE3E-4126-4214-A944-A2680FC5A105" height="540" width="314" apple-width="yes" apple-height="yes" src="cid:227C7E25-0D42-41E7-BA18-E65E1ABBFBDF@localdomain" class=""></div><div class=""><br class=""></div><div class=""> I am on OSX 10.10.5 and really wonder if this is related in any way? </div><div class=""><br class=""></div><div class="">I have tried „westeuropäisch (lateinisch)“ (first entry) and changed the lines in the template as you recommended below.</div><br class=""><blockquote type="cite" class="">THEN, and only then, open your template and change the TeXShop encoding directive to<br class=""><br class="">% !TEX encoding = MacOSRoman<br class=""><br class="">so TeXShop will always open that template in MacOSRoman from then on, no matter what the default is set to.<br class=""><br class="">Good Luck,<br class=""><br class="">Herb Schulz<br class="">(herbs at wideopenwest dot com)<br class=""><br class="">…</blockquote><br class=""><blockquote type="cite" class="">List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" class="">https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a></blockquote><br class=""><div class="">I saved the template for a test with the same encoding, imported it into a new document – no complaints from TexShop, umlauts still visible – but when typesetting</div><div class="">I get this:</div><div class=""><br class=""></div><div class="">„</div><div class="">(/usr/local/texlive/2015/texmf-dist/tex/generic/babel/babel.sty<br class="">(/usr/local/texlive/2015/texmf-dist/tex/generic/babel-german/ngerman.ldf<br class="">(/usr/local/texlive/2015/texmf-dist/tex/generic/babel-german/ngermanb.ldf<br class="">(/usr/local/texlive/2015/texmf-dist/tex/generic/babel/babel.def))))<br class="">(/usr/local/texlive/2015/texmf-dist/tex/latex/base/inputenc.sty<br class=""><br class="">! LaTeX Error: File `MacOSRoman.def' not found.</div><div class="">"</div><div class="">A search in TLU (for packages) didn’t show MacOSRoman.def and I really wonder what to do next. </div><div class=""><br class=""></div><div class="">So, though what you write on the incompatible lines makes things very clear, I am still at loss how to accomplish the right setting.</div><div class=""><br class="webkit-block-placeholder"></div><div class="">Best regards, thank you,</div><div class=""><br class=""></div><div class="">Rolf</div><div class=""><br class="webkit-block-placeholder"></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class="">--<br class="">Rolf Schmolling M.A. Historian, <a href="mailto:Rolf.Schmolling@Alumni.TU-Berlin.DE" class="">Rolf.Schmolling@Alumni.TU-Berlin.DE</a><br class=""><a href="http://rolf_schmolling.macbay.de/" class="">http://rolf_schmolling.macbay.de/</a><br class=""></div><br class=""></body></html>