Re: [XeTeX] avagraha+anusvara ligature in devanagari

2014-08-27 Thread Yves Codet
I know this rule :) But avagraha doesn't stand for any sound, it only  
marks elision (or contraction) and can be omitted, that's why it can't  
bear anuswâra, which would explain why fonts don't have any rule to  
place an anuswâra over an avagraha. If you have John Smith's  
electronic edition of the Mahâbhârata, you will easily find several  
occurences of the particular case you're dealing with, for instance:


01058049a अथ ते सर्वशोंऽशैः  
स्वैर्गन्तुं भूमिं  
कृतक्षणाः


Le 27 août 14 à 10:45, François Patte a écrit :


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 27/08/2014 08:20, Yves Codet a écrit :

Bonjour.

Should not the anuswâra be over the o in such a case?


No, I don't think so: it a sandhi rule: one word ended by aḥ gives o
if the following word begins by a voiced letter, in case of this
letter is a "a", it is dropped and replace by an avagraha so:

छेदः अंशः becomes चेदो ऽंशः and it  
will not be correct if the anusvara

would be on the "o".


- --
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlP9mqUACgkQdE6C2dhV2JUuVgCgo6FbEgNDb+tTJQztMFlgjCL6
b6IAoKJoKNcLzkwuq0Sge8qHkuGTGxs0
=skWY
-END PGP SIGNATURE-


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex




--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] avagraha+anusvara ligature in devanagari

2014-08-27 Thread François Patte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 26/08/2014 18:00, Jonathan Kew a écrit :
> On 26/8/14 16:37, François Patte wrote:
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>> 
>> Bonjour,
>> 
>> 
>> How can I get this ligature: दोऽंश
>> 
>> It seems that the anusvara cannot be put over the avagraha...
> 
> It probably depends on the font you're using. Experiment with some 
> alternatives... and if that fails, provide a minimal but complete 
> example for people to try.

No, it seems to depend on xelatex from texlive 2013:

$ xelatex -v
XeTeX 3.1415926-2.5-0..3-2013060708 (TeX Live 2013)
kpathsea version 6.1.1

Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 51.1; using 51.1
Compiled with zlib version 1.2.7; using 1.2.7
Compiled with FreeType2 version 2.4.11; using 2.4.11
Compiled with Graphite2 version 1.2.1; using 1.2.1
Compiled with HarfBuzz version 0.9.15; using 0.9.15
Compiled with fontconfig version 2.10.93; using 2.11.0
Compiled with libpng version 1.5.16; using 1.5.16
Compiled with poppler version 0.22.2

And seems to be corrected in texlive 2014

Here is a MWE:

\documentclass[a4paper,11pt]{report}

\usepackage{fontspec}
\usepackage{polyglossia}

\setdefaultlanguage{english}

\setotherlanguage{sanskrit}

\setmainfont[Script=Latin]{FreeSerif}

\newfontfamily{\sanskritdmtrois}[Script=Devanagari,Mapping=velthuis-sanskrit]{%
  Sanskrit 2003}

\newfontfamily{\freetype}[%
Script=Devanagari,%
UprightFeatures={Language=Sanskrit},%
BoldFeatures={Language=Sanskrit},%
Mapping=velthuis-sanskrit]{%
  FreeSerif%
}

\newfontfamily{\nakula}[Mapping=velthuis-sanskrit]{%
  Nakula%
}

\newfontfamily{\sahadeva}[Mapping=velthuis-sanskrit]{%
  Sahadeva%
}

\newfontfamily{\siddhanta}[Script=Devanagari,Mapping=velthuis-sanskrit]{%
  Siddhanta%
}


\newfontfamily{\english}{FreeSerif}

\begin{document}

{\Large \english Free Serif : } \hspace{5mm} {\Huge \freetype
chedo.a.m‍‌"sa}

\bigskip

{\Large \english Sanskrit 2003 : } \hspace{5mm} {\Huge
\sanskritdmtrois chedo.a.m‍‌"sa}

\bigskip

{\Large \english Sahadeva : } \hspace{5mm} {\Huge \sahadeva
chedo.a.m‍‌"sa}

\bigskip

{\Large \english Nakula : } \hspace{5mm} {\Huge \nakula chedo.a.m‍‌"sa}

\bigskip

{\Large \english Siddhanta : } \hspace{5mm} {\Huge \siddhanta
chedo.a.m‍‌"sa}

\end{document}


- -- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlP9nj0ACgkQdE6C2dhV2JXyOgCfRDxuHHbn+Mfc7VKlwG4UqHZ2
3twAnipDuQ1CE7zkyGQX1g87lcbbGVPj
=1KMn
-END PGP SIGNATURE-


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] avagraha+anusvara ligature in devanagari

2014-08-27 Thread François Patte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 27/08/2014 08:20, Yves Codet a écrit :
> Bonjour.
> 
> Should not the anuswâra be over the o in such a case?

No, I don't think so: it a sandhi rule: one word ended by aḥ gives o
if the following word begins by a voiced letter, in case of this
letter is a "a", it is dropped and replace by an avagraha so:

छेदः अंशः becomes चेदो ऽंशः and it will not be correct if the anusvara
would be on the "o".


- -- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlP9mqUACgkQdE6C2dhV2JUuVgCgo6FbEgNDb+tTJQztMFlgjCL6
b6IAoKJoKNcLzkwuq0Sge8qHkuGTGxs0
=skWY
-END PGP SIGNATURE-


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] avagraha+anusvara ligature in devanagari

2014-08-26 Thread Yves Codet

Bonjour.

Should not the anuswâra be over the o in such a case?

Regards,

Yves

Le 26 août 14 à 17:37, François Patte a écrit :


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bonjour,


How can I get this ligature: दोऽंश

It seems that the anusvara cannot be put over the avagraha...


Thank you
- --
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEUEARECAAYFAlP8qc0ACgkQdE6C2dhV2JU0vwCfdQprkg2EKxTDXGC/2Tr07J1k
bGgAljtkLDBDByYf3yvqTUzIV0Xuh74=
=B5HU
-END PGP SIGNATURE-


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex




--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] avagraha+anusvara ligature in devanagari

2014-08-26 Thread Jonathan Kew

On 26/8/14 16:37, François Patte wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bonjour,


How can I get this ligature: दोऽंश

It seems that the anusvara cannot be put over the avagraha...


It probably depends on the font you're using. Experiment with some 
alternatives... and if that fails, provide a minimal but complete 
example for people to try.


JK




--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


[XeTeX] avagraha+anusvara ligature in devanagari

2014-08-26 Thread François Patte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bonjour,


How can I get this ligature: दोऽंश

It seems that the anusvara cannot be put over the avagraha...


Thank you
- -- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEUEARECAAYFAlP8qc0ACgkQdE6C2dhV2JU0vwCfdQprkg2EKxTDXGC/2Tr07J1k
bGgAljtkLDBDByYf3yvqTUzIV0Xuh74=
=B5HU
-END PGP SIGNATURE-


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex