Re: [XeTeX] what is \setmainfont used for?

2017-02-10 Thread Ulrike Fischer
Am Fri, 10 Feb 2017 08:54:09 +0100 schrieb Zdenek Wagner: > OK, I have a newer version. Maybe the bug is known and was fixed just a few > days ago. What do mean by that you have newer version? Your fontspec is from 2016 and mine from 2017. And yes the bug is known. I discussed it two weeks ago w

[XeTeX] Mixed Roman and Indian alphabets for Sanskrit (was: what is \setmainfont used for?)

2017-02-10 Thread Dominik Wujastyk
This discussion reminds me of a long-standing question in my mind. hyph-sa.tex contains hyphenation rules for Sanskrit in several different scripts, including Latin script. The Polyglossia file gloss-sanskrit.ldf contains codes for invoking many of the scripts in which the Sanskrit language is wr

Re: [XeTeX] Mixed Roman and Indian alphabets for Sanskrit (was: what is \setmainfont used for?)

2017-02-10 Thread ShreeDevi Kumar
I use Polyglossia with a modified version of ucharclasses to automatically switch font based on script. The preamble has the following : % mainfont, englishfont, sanskritfont, romanfont, devanagarifont, englishfont, vedafont \defaultfontfeatures{Mapping=tex-text} %Polyglossia %Script (default = De