On May 21, 2012, at 8:05 AM, Anakreon wrote: > Hello list. > > I use ubuntulinux precise. Special characters such as smart quotes or "--" > are not typeset as expected. I downloaded and installed the texlive 2011 > distribution in the hope that it would solve the problem. However, the > problem remains. From suggestions I found on the Internet, a minimal example > demonstrating the problem is the following: > > \documentclass[twoside,a4paper, 12pt]{article} > \usepackage{fontspec} > \setmainfont[Mapping=tex-text]{Times New Roman} > \newfontfamily\greekfont[Script=Greek]{Times New Roman} > \defaultfontfeatures{Ligatures=TeX} > \usepackage{polyglossia} > \setdefaultlanguage{greek} > \setotherlanguage{english} > \begin{document} > Outside ``english'' environment -- > > \begin{english} > ``Quotes'' -- inside english environment > \end{english} > > \begin{greek} > ``Ελληνικό'' -- περιβάλλον > \end{greek} > > ``Ελληνικά'' > \end{document} > > > > I have attached the resulting pdf file and the original tex example. > Experiments with other fonts (DejaVu Sans) made no > difference.<test.pdf><test.tex>
Howdy, You haven't set the Mapping for the greekfont: \newfontfamily\greekfont[Script=Greek,Mapping=tex-text]{Times New Roman} Good Luck, Herb Schulz (herbs at wideopenwest dot com) -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex