[XeTeX] problem rendering unicode Devanagari dependent vowel signs in a different color

2018-03-26 Thread ShreeDevi Kumar
I was recently asked To make study materials for my students I want to change different colors > for svaramatra. I used this one - क् + इ = क{\color{blue}ि} but the letter > not combines together How it is possible in latex. I haven't been able to figure out a way to do it in xelatex. Here is a

Re: [XeTeX] problem rendering unicode Devanagari dependent vowel signs in a different color

2018-03-26 Thread Zdenek Wagner
Hi, I am afraid that this is impossible. \color inserts aa expandable command of a main processor which must not be used inside a word. This means that in the TeX's eyes the matra is a part of another word and must not be connected. You have to do it manually. Try this in your file and see the di

Re: [XeTeX] problem rendering unicode Devanagari dependent vowel signs in a different color

2018-03-26 Thread ShreeDevi Kumar
Thank you so much for your prompt reply and solution to the problem. I am attaching the MWE and pdf output using \textcolor. Appreciate your help. On Mon, Mar 26, 2018 at 4:49 PM, Zdenek Wagner wrote: > Hi, > > I am afraid that this is impossible. \color inserts aa expandable command > of a ma