[XeTeX] XeTeX & sanskrit : how to sart
Yves Codet
yves.codet at sfr.fr
Wed Aug 15 09:15:41 CEST 2012
Hello, Yves.
Another font you could use is Siddhanta :
http://www.sanskritweb.net/cakram/
It also includes two character ranges, Devanagari Extended and Vedic Extensions, which were added in Unicode 5.2.
Incidentally (and this is quite off-topic :), Devanagari texts on the site you mentioned are very faulty: ॊ instead of ो (these are no stylistic variants but different characters and the first one does not exist in Sanskrit), no virama under final consonant, and more. For instance the first line:
नारायणं नमस्कृत्य नरं चैव नरॊत्तमम
should be:
नारायणं नमस्कृत्य नरं चैव नरोत्तमम्
You can download a much more reliable text, in Devanagari or transliteration, on John Smith's site:
http://bombay.indology.info/mahabharata/statement.html
Best wishes,
Yves
Le 15 août 2012 à 01:17, Zdenek Wagner a écrit :
> 2012/8/15 Herbert Schulz <herbs at wideopenwest.com>:
>>
>> On Aug 14, 2012, at 5:42 PM, Gildas Hamel <gweltaz at ucsc.edu> wrote:
>>
>>> * Skriv a reas Helios (helios at frmail.net):
>>> |>
>>> |> Thanks Gildas.
>>> |>
>>> |> Your script give don't give me the good result.
>>> |>
>>> |> I have change only this line
>>> |> % \newfontfamily\sanskritfont[Script=Devanagari]{Sanskrit2003} %
>>> |> ou autre police
>>> |> \newfontfamily\sanskritfont[Script=Devanagari]{SaSETU} % ou autre police
>>> |> and each character is replaced by a square.
>>> |>
>>>
>>> I don't know the SaSETU font or Sanskrit for that matter. Using Arial Unicode MS instead of Sanskrit2003, I get what looks like a good result.
>>> --Gildas
>>
> As the error message says, SaSETU does not contain Devanagari.
> Remember, there are plenty of Devanagari fonts with custom encodings
> that were intended to be used in special applications in the
> pre-Unicode era. Such fonts will not work in XeTeX. (It is always
> useful to read the error messages, they almost always contain
> important infgormation.)
>
> If you do not have good Sanskrit fonts, take them either from John Smith's page:
> http://bombay.indology.info/software/fonts/devanagari/
>
> or you can use GNU FreeSerif (but you need a new version, eg the one
> distributed with TeX Live 2012)
>
>>
>> Howdy,
>>
>> I don't see SaSETU on my Mac but I do have Sathu which is a ttf font.
>>
>> Good Luck,
>>
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>>
>>
>>
>>
>>
>>
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>> http://tug.org/mailman/listinfo/xetex
>
>
>
> --
> Zdeněk Wagner
> http://hroch486.icpf.cas.cz/wagner/
> http://icebearsoft.euweb.cz
>
>
>
> --------------------------------------------------
> 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/20120815/60d6f9fd/attachment.html>
More information about the XeTeX
mailing list