[XeTeX] Quotes and dashes

Sasi Kumar sasi.fsf at gmail.com
Tue Apr 14 15:16:54 CEST 2015


Although I had written about this problem earlier and got some responses, I
continue to be plagued by the absence of "curly" quotes and mdashes. I am
giving a minimal working example below. It gives a pdf that has rectangles
where I have placed quotes and dashes:

\documentclass[a4paper,12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{fontspec}
\usepackage{polyglossia,xltxtra}
\newfontfamily\malayalamfont[Script=Malayalam,Mapping=tex-text]{Rachana}
\setmainfont[Script=Malayalam, HyphenChar="0000, Mapping=tex-text]{Rachana}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{FreeSerif}

\usepackage{url}
\headheight=15pt
\usepackage{fancyhdr}
\setdefaultlanguage{malayalam}
\date{}

\begin{document}
(Sir Frederick William Herschel, 1738--1822)

"ഗ്രഹം"

``planet''
\end{document}

Thanks in advance for any solution.

Regards,
Sasi

-- 
V. Sasi Kumar
Free Software Foundation of India
Please see: http://swatantryam.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20150414/6395b534/attachment.html>


More information about the XeTeX mailing list