[OS X TeX] Re: MacOSX-TeX Digest, Vol 34, Issue 8

Serdar Akin akin1876 at gmail.com
Sun Aug 8 16:30:01 EDT 2010


Hi

I used the following code in the preamble

% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[swedish]{babel}
 \begin{document}
   I'm trying to write a document in TexShop 2.36 in Swedish language and
cannot convert words to pdf-file containing the characters "åäö".

 \end{document}

And its still doesn't work, below I have displayed the log-file, but I
cannot disentangle or figure out what's wrong? Hopefully somebody can help
me

With Regards Serdar

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex
2010.6.28)  8 AUG 2010 22:23
entering extended mode
 \write18 enabled.
 file:line:error style messages enabled.
 %&-line parsing enabled.
**Untitled.tex
(./Untitled.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus,
ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,
dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman,
mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian,
ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk,
po
lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian,
span
ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc at prehook=\toks14
\inpenc at posthook=\toks15

(/usr/local/texlive/2009/texmf-dist/tex/latex/base/utf8.def
File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
Now handling font encoding OML ...
... no UTF-8 mapping file for font encoding OML
Now handling font encoding T1 ...
... processing UTF-8 mapping file for font encoding T1

(/usr/local/texlive/2009/texmf-dist/tex/latex/base/t1enc.dfu
File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
   defining Unicode char U+00A1 (decimal 161)
   defining Unicode char U+00A3 (decimal 163)
   defining Unicode char U+00AB (decimal 171)
   defining Unicode char U+00BB (decimal 187)
   defining Unicode char U+00BF (decimal 191)
   defining Unicode char U+00C0 (decimal 192)
   defining Unicode char U+00C1 (decimal 193)
   defining Unicode char U+00C2 (decimal 194)
   defining Unicode char U+00C3 (decimal 195)
   defining Unicode char U+00C4 (decimal 196)
   defining Unicode char U+00C5 (decimal 197)
   defining Unicode char U+00C6 (decimal 198)
   defining Unicode char U+00C7 (decimal 199)
   defining Unicode char U+00C8 (decimal 200)
   defining Unicode char U+00C9 (decimal 201)
   defining Unicode char U+00CA (decimal 202)
   defining Unicode char U+00CB (decimal 203)
   defining Unicode char U+00CC (decimal 204)
   defining Unicode char U+00CD (decimal 205)
   defining Unicode char U+00CE (decimal 206)
   defining Unicode char U+00CF (decimal 207)
   defining Unicode char U+00D0 (decimal 208)
   defining Unicode char U+00D1 (decimal 209)
   defining Unicode char U+00D2 (decimal 210)
   defining Unicode char U+00D3 (decimal 211)
   defining Unicode char U+00D4 (decimal 212)
   defining Unicode char U+00D5 (decimal 213)
   defining Unicode char U+00D6 (decimal 214)
   defining Unicode char U+00D8 (decimal 216)
   defining Unicode char U+00D9 (decimal 217)
   defining Unicode char U+00DA (decimal 218)
   defining Unicode char U+00DB (decimal 219)
   defining Unicode char U+00DC (decimal 220)
   defining Unicode char U+00DD (decimal 221)
   defining Unicode char U+00DE (decimal 222)
   defining Unicode char U+00DF (decimal 223)
   defining Unicode char U+00E0 (decimal 224)
   defining Unicode char U+00E1 (decimal 225)
   defining Unicode char U+00E2 (decimal 226)
   defining Unicode char U+00E3 (decimal 227)
   defining Unicode char U+00E4 (decimal 228)
   defining Unicode char U+00E5 (decimal 229)
   defining Unicode char U+00E6 (decimal 230)
   defining Unicode char U+00E7 (decimal 231)
   defining Unicode char U+00E8 (decimal 232)
   defining Unicode char U+00E9 (decimal 233)
   defining Unicode char U+00EA (decimal 234)
   defining Unicode char U+00EB (decimal 235)
   defining Unicode char U+00EC (decimal 236)
   defining Unicode char U+00ED (decimal 237)
   defining Unicode char U+00EE (decimal 238)
   defining Unicode char U+00EF (decimal 239)
   defining Unicode char U+00F0 (decimal 240)
   defining Unicode char U+00F1 (decimal 241)
   defining Unicode char U+00F2 (decimal 242)
   defining Unicode char U+00F3 (decimal 243)
   defining Unicode char U+00F4 (decimal 244)
   defining Unicode char U+00F5 (decimal 245)
   defining Unicode char U+00F6 (decimal 246)
   defining Unicode char U+00F8 (decimal 248)
   defining Unicode char U+00F9 (decimal 249)
   defining Unicode char U+00FA (decimal 250)
   defining Unicode char U+00FB (decimal 251)
   defining Unicode char U+00FC (decimal 252)
   defining Unicode char U+00FD (decimal 253)
   defining Unicode char U+00FE (decimal 254)
   defining Unicode char U+00FF (decimal 255)
   defining Unicode char U+0102 (decimal 258)
   defining Unicode char U+0103 (decimal 259)
   defining Unicode char U+0104 (decimal 260)
   defining Unicode char U+0105 (decimal 261)
   defining Unicode char U+0106 (decimal 262)
   defining Unicode char U+0107 (decimal 263)
   defining Unicode char U+010C (decimal 268)
   defining Unicode char U+010D (decimal 269)
   defining Unicode char U+010E (decimal 270)
   defining Unicode char U+010F (decimal 271)
   defining Unicode char U+0110 (decimal 272)
   defining Unicode char U+0111 (decimal 273)
   defining Unicode char U+0118 (decimal 280)
   defining Unicode char U+0119 (decimal 281)
   defining Unicode char U+011A (decimal 282)
   defining Unicode char U+011B (decimal 283)
   defining Unicode char U+011E (decimal 286)
   defining Unicode char U+011F (decimal 287)
   defining Unicode char U+0130 (decimal 304)
   defining Unicode char U+0131 (decimal 305)
   defining Unicode char U+0132 (decimal 306)
   defining Unicode char U+0133 (decimal 307)
   defining Unicode char U+0139 (decimal 313)
   defining Unicode char U+013A (decimal 314)
   defining Unicode char U+013D (decimal 317)
   defining Unicode char U+013E (decimal 318)
   defining Unicode char U+0141 (decimal 321)
   defining Unicode char U+0142 (decimal 322)
   defining Unicode char U+0143 (decimal 323)
   defining Unicode char U+0144 (decimal 324)
   defining Unicode char U+0147 (decimal 327)
   defining Unicode char U+0148 (decimal 328)
   defining Unicode char U+014A (decimal 330)
   defining Unicode char U+014B (decimal 331)
   defining Unicode char U+0150 (decimal 336)
   defining Unicode char U+0151 (decimal 337)
   defining Unicode char U+0152 (decimal 338)
   defining Unicode char U+0153 (decimal 339)
   defining Unicode char U+0154 (decimal 340)
   defining Unicode char U+0155 (decimal 341)
   defining Unicode char U+0158 (decimal 344)
   defining Unicode char U+0159 (decimal 345)
   defining Unicode char U+015A (decimal 346)
   defining Unicode char U+015B (decimal 347)
   defining Unicode char U+015E (decimal 350)
   defining Unicode char U+015F (decimal 351)
   defining Unicode char U+0160 (decimal 352)
   defining Unicode char U+0161 (decimal 353)
   defining Unicode char U+0162 (decimal 354)
   defining Unicode char U+0163 (decimal 355)
   defining Unicode char U+0164 (decimal 356)
   defining Unicode char U+0165 (decimal 357)
   defining Unicode char U+016E (decimal 366)
   defining Unicode char U+016F (decimal 367)
   defining Unicode char U+0170 (decimal 368)
   defining Unicode char U+0171 (decimal 369)
   defining Unicode char U+0178 (decimal 376)
   defining Unicode char U+0179 (decimal 377)
   defining Unicode char U+017A (decimal 378)
   defining Unicode char U+017B (decimal 379)
   defining Unicode char U+017C (decimal 380)
   defining Unicode char U+017D (decimal 381)
   defining Unicode char U+017E (decimal 382)
   defining Unicode char U+200C (decimal 8204)
   defining Unicode char U+2013 (decimal 8211)
   defining Unicode char U+2014 (decimal 8212)
   defining Unicode char U+2018 (decimal 8216)
   defining Unicode char U+2019 (decimal 8217)
   defining Unicode char U+201A (decimal 8218)
   defining Unicode char U+201C (decimal 8220)
   defining Unicode char U+201D (decimal 8221)
   defining Unicode char U+201E (decimal 8222)
   defining Unicode char U+2030 (decimal 8240)
   defining Unicode char U+2031 (decimal 8241)
   defining Unicode char U+2039 (decimal 8249)
   defining Unicode char U+203A (decimal 8250)
   defining Unicode char U+2423 (decimal 9251)
)
Now handling font encoding OT1 ...
... processing UTF-8 mapping file for font encoding OT1

(/usr/local/texlive/2009/texmf-dist/tex/latex/base/ot1enc.dfu
File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
   defining Unicode char U+00A1 (decimal 161)
   defining Unicode char U+00A3 (decimal 163)
   defining Unicode char U+00B8 (decimal 184)
   defining Unicode char U+00BF (decimal 191)
   defining Unicode char U+00C5 (decimal 197)
   defining Unicode char U+00C6 (decimal 198)
   defining Unicode char U+00D8 (decimal 216)
   defining Unicode char U+00DF (decimal 223)
   defining Unicode char U+00E6 (decimal 230)
   defining Unicode char U+00EC (decimal 236)
   defining Unicode char U+00ED (decimal 237)
   defining Unicode char U+00EE (decimal 238)
   defining Unicode char U+00EF (decimal 239)
   defining Unicode char U+00F8 (decimal 248)
   defining Unicode char U+0131 (decimal 305)
   defining Unicode char U+0141 (decimal 321)
   defining Unicode char U+0142 (decimal 322)
   defining Unicode char U+0152 (decimal 338)
   defining Unicode char U+0153 (decimal 339)
   defining Unicode char U+2013 (decimal 8211)
   defining Unicode char U+2014 (decimal 8212)
   defining Unicode char U+2018 (decimal 8216)
   defining Unicode char U+2019 (decimal 8217)
   defining Unicode char U+201C (decimal 8220)
   defining Unicode char U+201D (decimal 8221)
)
Now handling font encoding OMS ...
... processing UTF-8 mapping file for font encoding OMS

(/usr/local/texlive/2009/texmf-dist/tex/latex/base/omsenc.dfu
File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
   defining Unicode char U+00A7 (decimal 167)
   defining Unicode char U+00B6 (decimal 182)
   defining Unicode char U+00B7 (decimal 183)
   defining Unicode char U+2020 (decimal 8224)
   defining Unicode char U+2021 (decimal 8225)
   defining Unicode char U+2022 (decimal 8226)
)
Now handling font encoding OMX ...
... no UTF-8 mapping file for font encoding OMX
Now handling font encoding U ...
... no UTF-8 mapping file for font encoding U
   defining Unicode char U+00A9 (decimal 169)
   defining Unicode char U+00AA (decimal 170)
   defining Unicode char U+00AE (decimal 174)
   defining Unicode char U+00BA (decimal 186)
   defining Unicode char U+02C6 (decimal 710)
   defining Unicode char U+02DC (decimal 732)
   defining Unicode char U+200C (decimal 8204)
   defining Unicode char U+2026 (decimal 8230)
   defining Unicode char U+2122 (decimal 8482)
   defining Unicode char U+2423 (decimal 9251)
))
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/local/texlive/2009/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
))
(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2008/07/06 v3.8l The Babel package

(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/swedish.ldf
Language: swedish 2005/03/31 v2.3d Swedish support from the babel system

(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2008/07/06 v3.8l Babel common definitions
\babel at savecnt=\count87
\U at D=\dimen103
)
Package babel Info: Making " an active character on input line 90.
))
(./Untitled.aux)
\openout1 = `Untitled.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.

./Untitled.tex:8: Undefined control sequence.
<argument> ...stem at active\string "\endcsname \UTF

l.8 ...to pdf-file containing the characters "\UTF

{00E5}\UTF{00E4}\UTF{00F6}".
?
./Untitled.tex:8: Undefined control sequence.
l.8 ...e containing the characters "\UTF{00E5}\UTF
                                                  {00E4}\UTF{00F6}".
?
./Untitled.tex:8: Undefined control sequence.
l.8 ...ng the characters "\UTF{00E5}\UTF{00E4}\UTF
                                                  {00F6}".
?
[1

{/usr/local/texlive/2009/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./Untitled.aux) )
Here is how much of TeX's memory you used:
 978 strings out of 493848
 10107 string characters out of 3149207
 60839 words of memory out of 3000000
 4308 multiletter control sequences out of 15000+200000
 4403 words of font info for 15 fonts, out of 3000000 for 9000
 714 hyphenation exceptions out of 8191
 24i,4n,24p,202b,127s stack positions out of
5000i,500n,10000p,200000b,50000s
{/usr/local/texlive/2009/texmf-dist/fonts/enc/dvips/cm-super/
cm-super-t1.enc}</usr/local/texlive/2009/texmf-dist/fonts/type1/public/cm-super
/sfrm1000.pfb>
Output written on Untitled.pdf (1 page, 19719 bytes).
PDF statistics:
 11 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

2010/8/8 <macosx-tex-request at email.esm.psu.edu>

> Send MacOSX-TeX mailing list submissions to
>        macosx-tex at email.esm.psu.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> or, via email, send a message with subject or body 'help' to
>        macosx-tex-request at email.esm.psu.edu
>
> You can reach the person managing the list at
>        macosx-tex-owner at email.esm.psu.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MacOSX-TeX digest..."
>
>
> Today's Topics:
>
>   1. latex+unicode (Serdar Akin)
>   2. Re: latex+unicode (Alain Matthes)
>   3. Re: latex+unicode (Peter Dyballa)
>   4. Re: latex+unicode (Victor Ivrii)
>   5. Re: latex+unicode (Herbert Schulz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 8 Aug 2010 09:38:44 +0200
> From: Serdar Akin <akin1876 at gmail.com>
> Subject: [OS X TeX] latex+unicode
> To: macosx-tex at email.esm.psu.edu
> Message-ID:
>        <AANLkTinspB2PY0P=2B9Q-TFsFDo56zS1ntF-NGZNo1+P at mail.gmail.com<2B9Q-TFsFDo56zS1ntF-NGZNo1%2BP at mail.gmail.com>
> >
> Content-Type: text/plain; charset="utf-8"
>
> Hi
>
> I',m trying to write a document in TexShop 2.36 in Swedish language and
> cannot convert words to a pdf-file containing the characters "åäö".
>
> Have tried the codes \usepackage[utf8]{inputence}
>                                  \usepackage|T1]{fontenc}
>                                 \usepackage[swedish]{babel}
> This in combination to saving the files in utf-8 as standard in preference.
> Further I tried % !TEX encoding = UTF-8 Unicode in the preamble but nothing
> works.
>
> Usually I us Emacs 23 and I have the same problem here.
>
> With Regards
>
> Serdar (MA)
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20100808/1dd7834c/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Sun, 08 Aug 2010 12:10:49 +0200
> From: Alain Matthes <alain.matthes at mac.com>
> Subject: Re: [OS X TeX] latex+unicode
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <7D8023F8-2D66-40B7-AB1B-57DF78DCFBD1 at mac.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> Le 8 août 2010 à 09:38, Serdar Akin a écrit :
>
> > I',m trying to write a document in TexShop 2.36 in Swedish language and
> cannot convert words to a pdf-file containing the characters "åäö".
> >
> > Have tried the codes \usepackage[utf8]{inputence}
> >                                   \usepackage|T1]{fontenc}
> >                                  \usepackage[swedish]{babel}
> > This in combination to saving the files in utf-8 as standard in
> preference. Further I tried % !TEX encoding = UTF-8 Unicode in the preamble
> but nothing works.
>
> Hi
> This code works fine (utf8 in the prefs (document) of texshop)
>
> \documentclass[a4paper]{article}
> \usepackage[utf8]{inputenc} % and not inputence
> \usepackage[T1]{fontenc} % [T1]
> \usepackage{lmodern}
> \usepackage[swedish]{babel}
>
> \begin{document}
>   I'm trying to write a document in TexShop 2.36 in Swedish language and
> cannot convert words to a pdf-file containing the characters "åäö".
>
> \end{document}
>
> Best Regards
>
> Alain Matthes
>
> ------------------------------
>
> Message: 3
> Date: Sun, 8 Aug 2010 12:14:33 +0200
> From: Peter Dyballa <Peter_Dyballa at Web.DE>
> Subject: Re: [OS X TeX] latex+unicode
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <D8DAD22A-F176-4332-80A6-BCBEF45351C2 at Web.DE>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
>        delsp=yes
>
>
> Am 08.08.2010 um 09:38 schrieb Serdar Akin:
>
> > I',m trying to write a document in TexShop 2.36 in Swedish language
> > and
> > cannot convert words to a pdf-file containing the characters "åäö".
>
> The three characters can be found in the ISO 8859-1 and ISO 8859-15 or
> ISO Latin-1 and ISO Latin-9 8-bit encodings, which LaTeX easily
> supports:
>
>
>        %%!TEX TS-program=latex
>        %%!TEX encoding=ISO8859-15      % could be the value is not TeXShop
> syntax
>        \documentclass{minimal}
>        \usepackage[T1]{fontenc}
>        \usepackage[latin9]{inputenc}
>        %\usepackage{textcomp}
>        \begin{document}
>        åäö-ÅÄÖ
>        \end{document}
>
>        %%% Local Variables:
>        %%% mode: latex
>        %%% TeX-master: t
>        %%% fill-column: 99999
>        %%% coding: iso-latin-9
>        %%% End:
>
> For Unicode and LaTeX you'll need some more effort.
>
> --
> Greetings
>
>   Pete
>
> The next generation of interesting software will be done on the
> Macintosh, not the IBM PC.
>                                – Bill Gates, Nov 1984
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 8 Aug 2010 07:10:24 -0400
> From: Victor Ivrii <vivrii at gmail.com>
> Subject: Re: [OS X TeX] latex+unicode
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID:
>        <AANLkTikLtepqefFNVyCm-fMemJXV903BvyFNYdg9c1oa at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Sun, Aug 8, 2010 at 6:14 AM, Peter Dyballa <Peter_Dyballa at web.de>
> wrote:
>
> >
> > For Unicode and LaTeX you'll need some more effort.
>
> Nope
>
> \documentclass[12pt]{article}
> \usepackage{cmap}
> \usepackage[T2A]{fontenc}
> \usepackage[utf8]{inputenc}
> \pagestyle{empty}
>
> \begin{document}
> Сколько не печатаю, ÐºÐ°ÐºÐ°Ñ  то фигнÑ
>  Ð¿Ð¾Ð»ÑƒÑ‡Ð°ÐµÑ‚Ñ Ñ
>
> é, à , è, ù (â, ê, î, ô, û) (ä, ö and ü), cañon (ë, ï, ü,
> ÿ), ç
>
>
>
>
> \end{document}
>
>
>
> >
> > --
> > Greetings
> >
> > Â Pete
> >
> > The next generation of interesting software will be done on the
> Macintosh,
> > not the IBM PC.
> >                                – Bill Gates, Nov 1984
> >
> >
> > ----------- Please Consult the Following Before Posting -----------
> > TeX FAQ: http://www.tex.ac.uk/faq
> > List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> > List Archive: http://tug.org/pipermail/macostex-archives/
> > TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> > List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> >
> >
> >
>
>
>
> --
> ========================
> Victor Ivrii, Professor, Department of Mathematics, University of Toronto
> http://www.math.toronto.edu/ivrii
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 8 Aug 2010 07:01:00 -0500
> From: Herbert Schulz <herbs at wideopenwest.com>
> Subject: Re: [OS X TeX] latex+unicode
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <6CD48FBC-E787-44FD-9D37-23BEA995381B at wideopenwest.com>
> Content-Type: text/plain; charset=windows-1252
>
>
> On Aug 8, 2010, at 5:10 AM, Alain Matthes wrote:
>
> >
> > Le 8 août 2010 à 09:38, Serdar Akin a écrit :
> >
> >> I',m trying to write a document in TexShop 2.36 in Swedish language and
> cannot convert words to a pdf-file containing the characters "åäö".
> >>
> >> Have tried the codes \usepackage[utf8]{inputence}
> >>                                  \usepackage|T1]{fontenc}
> >>                                 \usepackage[swedish]{babel}
> >> This in combination to saving the files in utf-8 as standard in
> preference. Further I tried % !TEX encoding = UTF-8 Unicode in the preamble
> but nothing works.
> >
> > Hi
> > This code works fine (utf8 in the prefs (document) of texshop)
> >
> > \documentclass[a4paper]{article}
> > \usepackage[utf8]{inputenc} % and not inputence
> > \usepackage[T1]{fontenc} % [T1]
> > \usepackage{lmodern}
> > \usepackage[swedish]{babel}
> >
> > \begin{document}
> >   I'm trying to write a document in TexShop 2.36 in Swedish language and
> cannot convert words to a pdf-file containing the characters "åäö".
> >
> > \end{document}
> >
> > Best Regards
> >
> > Alain Matthes
>
> Howdy,
>
> If you save and then open the file are the å, ä and ö still correct? If not
> you've got an encoding mismatch between the way the file is being saved and
> then opened.
>
> Alain's version works fine for me. Only changes are the two lines at the
> top of the file. (The first line just guarantees that TeXShop will use the
> correct engine for this file. Even though I've got UTF-8 as my default
> encoding I never know when I might want to change it and then the file will
> be read in with the wrong encoding without that second line.) The only other
> change I made is to use real open/close double quotes (Opt-[ and shift-Opt-[
> on US Keyboard).
>
> % !TEX TS-program = pdflatex
> % !TEX encoding = UTF-8 Unicode
> \documentclass[a4paper]{article}
> \usepackage[utf8]{inputenc} % and not inputence
> \usepackage[T1]{fontenc} % [T1]
> \usepackage{lmodern}
> \usepackage[swedish]{babel}
>
> \begin{document}
>  I'm trying to write a document in TexShop 2.36 in Swedish language and
> cannot convert words to a pdf-file containing the characters “åäö”.
> \end{document}
>
> If you are using a recent MacTeX(TeX Live) Distribution you really don't
> even need to use the latin modern fonts since using the T1 font encoding
> will automatically use the CMSuper fonts.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
>
> ------------------------------
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>
>
>
> End of MacOSX-TeX Digest, Vol 34, Issue 8
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20100808/0c75034f/attachment.html>


More information about the MacOSX-TeX mailing list