Have bumped into a LaTeX-specific problem (on my current system at least) in typesetting Devanagari: 'r' in conjunct consonants such as 'ntrya' does not render properly (e.g., as न्त्र्य, see image below) for me using xelatex. It has rendered properly in the past, so I'm not sure what's going on. I've looked at fontspec and tried various fonts, and the problem doesn't appear in Libreoffice (I'm on Ubuntu 12.04, using texlive 2011). Sure I must be missing something silly. Here's a mwe,

\setmainfont[Script=Devanagari]{Sanskrit 2003}
\newfontfamily\latinfont[Script=Latin,Ligatures=TeX]{Linux Libertine O}
\newcommand\eng[1]{\latinfont #1}
{\huge मन्त्र्यमाण \eng{--- This is not what 


“mantryamāṇa” should look like!}} 

which produces the image below on my machine:

enter image description here

Does anyone know why I'm getting this alternate form and how I can switch to the expected 'r' form?

Based on Jamadagni's feedback, I upgraded to TeXLive 2012 and the problem has disappeared.

closed as too localized by Speravir, Claudio Fiandrino, Werner, Andrew Swann, lockstep Dec 28 '12 at 20:07

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • After some digging, I found that this problem is discussed in this XeTeX Mailing List Archive thread (tug.org/mailman/htdig/xetex/2012-June/023192.html), with some of the opinion that this bug (sourceforge.net/p/xetex/bugs/65) is the culprit. From what I can tell, this is an ongoing bug specific to XeTeX, for which there is no solution at present. If anyone knows of one, please do let us know. – camatkara Dec 28 '12 at 15:56
  • Thanks Speravir ;). @Jamadagni's feedback gave me hope that an upgrade would solve the issue and it has. After upgrading, my conjunct characters display properly. I'll update the post so that the solution is clear to others who have the same problem. – camatkara Dec 28 '12 at 19:48

I'm not sure that "Do others get the same output" is a question for StackExchange -- rather it is for the XeTeX mailing list, but anyhow, I just compiled your tex file using XeLaTeX from the TeXLive 2012.20120611-3~ubuntu12.04.1 package from the PPA on Kubuntu Precise and I get the correct rendering as you can see:

enter image description here

  • I agree, this needs to be taken up with the XeTeX list. I'll do so and update this post accordingly for others who run into the same problem. Thanks. – camatkara Dec 28 '12 at 13:54
  • I've also edited the post lest anyone think that my question regarding others' output was the problem for which this post desires a solution. – camatkara Dec 28 '12 at 15:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.