[OS X TeX] Malayalam with xelatex new

NMPOST7 nmpost7 at gmail.com
Wed Nov 13 11:08:39 EST 2013


Thank you Herb, Thank you Peter for the help.
Now the file using XeLaTeX is up and running.

Engine used: xelatex
Editor : TeXShop (but I shall try to go back to vim (my favourite editor)

\listfiles
\documentclass[a4paper,12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}	%[Mapping=tex-text]
\usepackage{polyglossia}
\setdefaultlanguage{malayalam}
\setotherlanguage{english}
\newfontfamily\malayalamfont[Script=Malayalam]{Rachana}
\newfontfamily\englishfont{Times}
\begin{document}
\lefthyphenmin=2
\righthyphenmin=2
%\thispagestyle{empty}
\setmainfont[Script=Malayalam]{Rachana}

\setlength{\baselineskip}{1.25\baselineskip}\addtolength{\parskip}{10pt}

\begin{center} ശ്രീ ശങ്കരാചാര്യ ഭഗവദ്പാദകൃത മനീഷാമഞ്ചകം \end{center}
%\textenglish{1,2,3.}
സന്ദർഭം: വാരാണസിയിൽ സന്ധ്യയ്ക്ക സ്നാനം കഴിഞ്ഞു വരികെ മുന്നിൽ ഒരു ചാണ്ഡാലനെ കണ്ട
ഭഗവ്ദ്പാദർ ചാണ്ഡാലനെ നോക്കി പറഞ്ഞു," ഹേ ചാണ്ഡാലാ, മാറിനിൽക്കൂ" ചോദ്യം കേട്ട ചാണ്ഡാലൻ
ഭഗവദ്പാദരോടു ചോദിച്ചു," ആരാണ് മാറേണ്ടത്, ഞാനോ അതൊ എന്റെ ശരീരമോ?"
ചോദ്യം കേട്ടപ്പോൾ ഭഗവദ്പാദർക്കു ബോദ്ധ്യമായി ചാണ്ഡാലൻ സാധാരണ മനുഷ്യനല്ല എന്ന്. ഐതിഹ്യപ്രകാരം
അത് പരമശിവനായിരുന്നു.
\end{document}

The problems:

The following are not rendered properly (only boxes)
a) Numbers
b) puctuation marks
c) dashes (where the word is broken at the end of line)


Question 1: how can the above be solved?
The only work around I have found is \textenglish{1,2,3.} (please see commented
line). However, that is a cumbersome solution, even if I define a new command

Question 2 : is there a way to render the digits in Malayalam numerals?

Kind regards
suren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xelatexmal01.pdf
Type: application/pdf
Size: 14373 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20131113/9fd95afb/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xelatexmal01.tex
Type: application/x-tex
Size: 1664 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20131113/9fd95afb/attachment.tex>


More information about the MacOSX-TeX mailing list