[OS X TeX] latex+unicode

Alain Matthes alain.matthes at mac.com
Sun Aug 8 12:10:49 CEST 2010


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


More information about the macostex-archives mailing list