[XeTeX] Quotes and dashes

ShreeDevi Kumar shreeshrii at gmail.com
Tue Apr 14 17:25:28 CEST 2015


You can see
http://tex.stackexchange.com/questions/237695/how-to-specify-font-for-superscripts-using-ucharclasses-with-xelatex
which has implementation of using superscripts from a different font with
tamil script.

You could follow similar method for malayalam.

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

On Tue, Apr 14, 2015 at 6:46 PM, Sasi Kumar <sasi.fsf at gmail.com> wrote:

> 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/
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20150414/e19a5bd9/attachment-0001.html>


More information about the XeTeX mailing list