[XeTeX] Mixed Roman and Indian alphabets for Sanskrit

Dominik Wujastyk wujastyk at gmail.com
Tue Feb 14 15:00:45 CET 2017

Nice to see you here, Alessandro!  Many thanks for your code.  So it's the
\begin{sanskrit} that switches on the correct hyphenation.  And the string
"devanagari" in \devanagarifont is the same as switching on
[Script=Devanagari], I guess.

So for the common situation like this:

 संस्कृतभाषा (*saṃskṛtabhāṣā*)

​one could construct


\begin{sanskrit}{\devanagarifont #1} (\emph{{\sanskritfont


​and get the right scripts and hyphenations.

Even if this works, I am unhappy with the terminological confusion between
scripts and languages.  This seems to be built in to Polyglossia.  As we
both know, many languages are written in Devanagari, and Sanskrit is
written in many scripts, including Latin.  ​This isn't very clearly
expressed in Polyglossia.

​Must rush,
Best, and greetings to the family,

Professor Dominik Wujastyk <http://ualberta.academia.edu/DominikWujastyk>

Singhmar Chair in Classical Indian Society and Polity

Department of History and Classics <http://historyandclassics.ualberta.ca/>
University of Alberta, Canada

South Asia at the U of A:


On 14 February 2017 at 04:01, Zdenek Wagner <zdenek.wagner at gmail.com> wrote:

> As already mentioned, Script=Devanagari switches the correct shaping of
> the font so that ki appears as कि and not as क followed by ि matra. Try to
> enter किताब with and without it and you will see the difference.
> Zdeněk Wagner
> http://ttsm.icpf.cas.cz/team/wagner.shtml
> http://icebearsoft.euweb.cz
> 2017-02-14 11:30 GMT+01:00 Ulrike Fischer <news3 at nililand.de>:
>> Am Mon, 13 Feb 2017 16:47:09 -0700 schrieb Dominik Wujastyk:
>> > Does "Script=Devanagari" turn on the hypy-sa hyphenation fil
>> No. hyphenation patterns are turned on with \selectlanguage{XXX}
>> commands  (and similar commands from polyglossia, babel or the
>> engines).
>> --
>> Ulrike Fischer
>> http://www.troubleshooting-tex.de/
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>>   http://tug.org/mailman/listinfo/xetex
> --------------------------------------------------
> 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/20170214/98190b89/attachment.html>

More information about the XeTeX mailing list