Discussion:
[XeTeX] Velthuis to Roman translit
Shree Devi Kumar
2018-07-30 03:55:19 UTC
Permalink
I found an old thread on this subject at
https://tug.org/pipermail/xetex/2011-February/019886.html

I am looking to do the same for skt to help someone who wants to use old
source files with skt and ITRANS to pdf.

https://github.com/Shreeshrii/xetex-itrans/blob/master/wikner-skt-iast.map
has a draft map based on the velthuis-devanagari map, but currently it does
not support the initial Capitals (eg. AA needs to convert to Ā, "S to Ś).
Any suggestions on how to add these.

Thanks!
Arthur Reutenauer
2018-07-30 07:55:41 UTC
Permalink
Post by Shree Devi Kumar
https://github.com/Shreeshrii/xetex-itrans/blob/master/wikner-skt-iast.map
has a draft map based on the velthuis-devanagari map, but currently it does
not support the initial Capitals (eg. AA needs to convert to Ā, "S to Ś).
Don’t the rules on lines 111, 113, and 115 take care of the former?

A <> Asvara
I <> Isvara
U <> Usvara

Best,

Arthur


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/
Zdenek Wagner
2018-07-30 08:46:09 UTC
Permalink
Hi all,

there is a subtle problem. The original design of Velthuis (at least as I
found it somewhere) was case insensitive. It was thus possible to use
normal English capitalization as Indra, Brahma etc. Thus both i and I was
short (hrasva) i and both ii and II was long (dirgha) i. Aspirated bh could
be entered either as bh or Bh. The current version no longer has the
feature so capitalizd vowel are dirgha and capitalized consonants are
aspirated. The following are several variants of the same word:

bhaa.saa
bhA.saa
bhA.sA
BA.sA
Baa.saa

I think that ITRANS never had such a feature. I do not know the exact
specification of ITRANS, I have never used it but you can look at the
xetex-devanagari package here https://ctan.org/pkg/xetex-devanagari


Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

2018-07-30 9:55 GMT+02:00 Arthur Reutenauer <
Post by Shree Devi Kumar
Post by Shree Devi Kumar
https://github.com/Shreeshrii/xetex-itrans/blob/master/
wikner-skt-iast.map
Post by Shree Devi Kumar
has a draft map based on the velthuis-devanagari map, but currently it
does
Post by Shree Devi Kumar
not support the initial Capitals (eg. AA needs to convert to Ā, "S to
Ś).
Don’t the rules on lines 111, 113, and 115 take care of the former?
A <> Asvara
I <> Isvara
U <> Usvara
Best,
Arthur
--------------------------------------------------
http://tug.org/mailman/listinfo/xetex
Shree Devi Kumar
2018-07-30 09:52:51 UTC
Permalink
Thank you both for your replies.

With some experimentation and change in rules, I have got it to work.

The input in the old file had same text to be displayed in Devanagari, IAST
and Tamil. The first two were encoded in skt (velthuis) scheme and Tamil
was in ITRANS.

I used three different maps for it -
https://github.com/Shreeshrii/xetex-itrans/blob/master/wikner-skt-sanskrit.map
https://github.com/Shreeshrii/xetex-itrans/blob/master/wikner-skt-iast.map
https://github.com/Shreeshrii/xetex-itrans/blob/master/itrans-stamil.map

Sample input line and result

&\small{\skt "sa"nkaraabhara.nam} & {\skti "Sa"nkaraabhara.nam}& {\tml
sha~NkaraabaraNam}& 10 \\

à€¶à€™à¥à€•à€°à€Ÿà€­à€°à€£à€®à¥ Śaṅkarābharaṇam ஶங்கரடபரணம் 10
Post by Zdenek Wagner
Hi all,
there is a subtle problem. The original design of Velthuis (at least as I
found it somewhere) was case insensitive. It was thus possible to use
normal English capitalization as Indra, Brahma etc. Thus both i and I was
short (hrasva) i and both ii and II was long (dirgha) i. Aspirated bh could
be entered either as bh or Bh. The current version no longer has the
feature so capitalizd vowel are dirgha and capitalized consonants are
bhaa.saa
bhA.saa
bhA.sA
BA.sA
Baa.saa
I think that ITRANS never had such a feature. I do not know the exact
specification of ITRANS, I have never used it but you can look at the
xetex-devanagari package here https://ctan.org/pkg/xetex-devanagari
Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
2018-07-30 9:55 GMT+02:00 Arthur Reutenauer <
Post by Shree Devi Kumar
https://github.com/Shreeshrii/xetex-itrans/blob/master/wikner-skt-iast.map
Post by Shree Devi Kumar
has a draft map based on the velthuis-devanagari map, but currently it
does
Post by Shree Devi Kumar
not support the initial Capitals (eg. AA needs to convert to Ā, "S to
Ś).
Don’t the rules on lines 111, 113, and 115 take care of the former?
A <> Asvara
I <> Isvara
U <> Usvara
Best,
Arthur
--------------------------------------------------
http://tug.org/mailman/listinfo/xetex
--------------------------------------------------
http://tug.org/mailman/listinfo/xetex
--
____________________________________________________________
à€­à€œà€š - à€•à¥€à€°à¥à€€à€š - à€†à€°à€€à¥€ @ http://bhajans.ramparivar.com
Loading...