xetex-devanagari 0.4
====================

XeTeX input mappings for convenient typesetting of Unicode Devanagari
(0900-097F)

To be processed with teckit_compile (http://scripts.sil.org/TECkit)

Maintained by Daniel Stender <daniel@danielstender.com>

Location on CTAN:
http://www.ctan.org/tex-archive/macros/xetex/generic/devanagari

Pease report bugs to:
https://github.com/danstender/xetex-devanagari/issues

Enjoy!

Velthuis maps
-------------

velthuis.map, velthuis-sanskrit.map and devanagarinumerals.map taken
over from the Velthuis packet (much thanks to Zdeněk Wagner).
devanagarinumerals.tec is the simplest way to turn automatically
generated counters to Devanagari (XeTeX displays the numbers in
Devanagari while applications like Xindy could work with the original
Arabic numbering).

velthuis-sanskrit.map (for Sanskrit)

Input encoding includes:

-   aa = ā, ii = ī, uu = ū, .r = ṛ, .R = ṝ, .l = ḷ, .L

-   "n = ṅ, ~n = ñ, .t = ṭ, .d = ḍ, .n = ṇ, "s = ś, .s = ṣ

-   .m = Anusvara, .h = Visarga, .a = Avagraha, .o = ॐ, @ = °

For a complete list of Velthuis input scheme cf. the manual of the
Velthuis packet, p. 6.

Usage like:

    \documentclass{article}

    \usepackage{fontspec}
    \setmainfont[Script=Devanagari,Mapping=velthuis-sanskrit]{Sanskrit 2003}

    \begin{document}
    dharmak.setre kuruk.setre samavetaa yuyutsava.h | \\
    maamakaa.h paa.n.davaa"scaiva kimakurvata sa.mjaya ||
    \end{document}

velthuis.map (for Hindi)

Input encoding includes:

-   qa = क़, .kha = ख़, .ga = ग़, za = ज़, Ra = ड़, Rha = ढ़, fa = फ़, La = ळ

Usage like:

    \documentclass{article}

    \usepackage{fontspec}
    \setmainfont[Script=Devanagari,Mapping=velthuis]{Nakula}

    \begin{document}
    am.rt ek cho.te se ghaRe meM samudr ke tal meM sthit thaa| devataa aur asur
    use nikaalane ke lie samudr ko mathanaa caahate the|
    \end{document}

harvardkyoto.map
----------------

Input coding includes:

-   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]{Sanskrit 2003}

    \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:

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

Usage like:

    \documentclass{article}

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

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