views:

24

answers:

1

This is my LaTex script:

\documentclass[a4paper]{article}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\setmainfont[Mapping=tex-text]{Jenson Classico}
\begin{document}
ąęśćłó
\end{document}

I compile this using xelatex through eclipse plugin.

As Jenson Classico has no polish characters I have edited this font to add them. In Microsoft Office it works fine (I am able to use polish characters). Unfortunately in pdf generated from above tex-file it doesn't. If I use any other font (e.g. Arial) it works like a dream.

Any suggesions? I really don't have any more ideas...

A: 

Try using the polyglossia package.

\documentclass[a4paper]{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{xunicode}
\usepackage{xltxtra}
\setdefaultlanguage{polish}
\setmainfont[Mapping=tex-text]{Jenson Classico}
\begin{document}
ąęśćłó
\end{document}
Ujjwol
Still nothing :(
Filip
Is that font Jenson Classico a unicode font ? Trying using other Polish unicode font. If nothing works, post the question in http://tex.stackexchange.com/ there are some good peoples there.
Ujjwol