## xetex-devanagari 0.99a

(based on velthuis-sanskrit.map by Zdeněk Wagner)

XeTeX input mappings for convenient Unicode Devanagari (0900-097F) typesetting. 
To be processed with teckit_compile ([http://scripts.sil.org/TECkit](http://scripts.sil.org/TECkit)).

#### harvardkyoto.map

Input coding:

A = ā, I = ī, U= ū, R = ṛ, RR = ṝ, L = ḷ

G = ṅ, J = ñ

T = ṭ, D = ḍ, N = ṇ

z = ś, S = ṣ

M = Anusvara, H = Visarga, , = Virama, ' = Avagraha

.l = ऴ, .m = Anunasika, - = Anudatta (Rv), ! = Svarita (Rv), om = ॐ

q = क़, x = ख़, .g = ग़, .z = ज़, f = फ़, .r = ड़, .R = ढ़

Usage like:

	\documentclass{article}

	\usepackage{fontspec}
	\setmainfont[Script=Devanagari,Mapping=harvardkyoto]{Devanagari2003}

	\begin{document}
	dharmakSetre kurukSetre samavetA yuyutsavaH | \\
	mAmakAH pANDavAzcaiva kimakurvata saMjaya ||

	a-gnimI!.le pu-rohi!taM ya-jJasya! de-vamR-tvijaM! | \\
	hotA!raM ratna-dhA!tamaM ||

	tumase itanI cau.rI nadI pAr karate nahIM banegA |
	\end{document}

#### iast.map

Input coding includes IAST Unicode entities:

ā ī ū ṛ ṝ (1E5B 0304) ḷ ṅ ñ ṭ ḍ ṇ ś ṣ ṃ ḥ

Usage like:

	\documentclass{article}

	\usepackage{fontspec}
	\setmainfont[Script=Devanagari,Mapping=iast]{Devanagari2003}

	\begin{document}
	dharmakṣetre kurukṣetre samavetā yuyutsavaḥ | \\
	māmakāḥ pāṇḍavāścaiva kimakurvata saṃjaya ||
	\end{document}

Please report bugs to: [https://github.com/danstender/xetex-devanagari/issues](https://github.com/danstender/xetex-devanagari/issues)

Enjoy!

(C) 2008-2011 Daniel Stender ([daniel@danielstender.com](mailto:daniel@danielstender.com))

[http://www.danielstender.com/granthinam](http://www.danielstender.com/granthinam)
