[OS X TeX] latex+utf8

Serdar Akin akin1876 at gmail.com
Tue Aug 10 13:53:52 EDT 2010


Hi

I'm using TexShop to write a Swedish document and it cannot convert "åäö".
Below I display the code and error message I recive from the log-file.

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[swedish]{babel}
\usepackage[T1]{fontenc}
 \begin{document}
 \selectlanguage{swedish}
   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}
'
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex
2010.8.10)  10 AUG 2010 19:49
entering extended mode
 \write18 enabled.
 file:line:error style messages enabled.
 %&-line parsing enabled.
**se.tex
(./se.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/latin1.def
File: latin1.def 2008/03/30 v1.1d Input encoding file
))
(/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.
))
(/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.
)) (./se.aux)
\openout1 = `se.aux'.

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

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

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

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

{/usr/local/texlive/2009/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./se.aux) )
Here is how much of TeX's memory you used:
 817 strings out of 493848
 8932 string characters out of 3149207
 59283 words of memory out of 3000000
 4156 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,196b,127s stack positions out of
5000i,500n,10000p,200000b,50000s
{/usr/local/texlive/2009/texmf-dist/fonts/enc/dvips/cm-super/cm-sup
er-t1.enc}</usr/local/texlive/2009/texmf-dist/fonts/type1/public/cm-super/sfrm1
000.pfb>
Output written on se.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)

With Regards /Serdar AKin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20100810/08185d04/attachment.html>


More information about the MacOSX-TeX mailing list