Somdev Vasudev's RomDev mapping is installed as follows:
- The actual mapping file is published by Somdev in his blog, here:
http://sarasvatam.blogspot.com/2010/03/updated-teckit-romdev.html
[Update Feb 2011: now at http://pratibham.blogspot.com/2010/03/updated-teckit-romdev.html; update March 2012: now at https://github.com/somadeva/RomDev] - Cut and paste this text, and save it in a Unicode file called RomDev.map. Save that file in a place which XeTeX can "see," e.g., something like local/texmf/fonts/misc/xetex/fontmapping/
- You now need to compile the human-readable *.map file into a binary *.tec file, so that XeTeX can read it directly. This is done by the program Teckit, which you can get here:
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=TECkitDownloads - I'm working with Ubuntu GNU/Linux. For me, the command is,
teckit_compile RomDev.map -o RomDev.tec
I'm afraid I don't know the Windows or Mac command invocation. -
Now you have a file in a place like
local/texmf/fonts/misc/xetex/fontmapping/RomDev.tec -
Run the command that rebuilds the database of files that TeX knows about. In Linux it's
sudo mktexlsr - That's it! XeTeX and XeLaTeX can now see, and make use of the RomDev mapping, that converts Unicode transliteration into Devanāgarī, as exemplified in my earlier blog posts below.