Download - Devanagari How To

Transcript

Devanagari in LATEXAnand [email protected] whether the relevant packages are installedIf not already installed, install the following packages:\usepackage{xltxtra}\usepackage{polyglossia}\usepackage{fontspec}Install a Devanagari FontI nd Sanskrit 2003 an appropriate choice. You can download and install this font from thefollowing website:http://www.omkarananda-ashram.org/Sanskrit/itranslator2003.htmTestDownload the following .tex le and compile it using XeLaTeX.http://sanskrit.sai.uni-heidelberg.de/Seminare/2013_WS_AAI_Hamburg/devanagariTest.texAftercompilation, itshouldoutputapdfsimilartotheonehere: http://sanskrit.sai.uni-heidelberg.de/Seminare/2013_WS_AAI_Hamburg/devanagariTest.pdfIt you see Devanagari characters, it means things are functioning well!The question of halantaCheck whether halanta in jagat is displayed properly. If not then you need to change the mapping.For this you need to follow the following steps:1. Download the following mapping le and save it rst (e.g.) at your desktophttp://sanskrit.sai.uni-heidelberg.de/Seminare/2013_WS_AAI_Hamburg/harvardkyoto.map2. Download the TECkit compiler from here (You need this for generating the necessary .tecle):http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=TECkit3. From command line, run the command:C:\>teckit_compile harvardkyoto.map -o harvardkyoto.tec14. Now place the les harvardkyoto.map and harvardkyoto.tec within the directory tree of TeX(This is in Mac/ Windows path may differ slightly?). Go to the main directory and look forTeX directory. Then follow the path:Root/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/Replace the corresponding harvardkyoto.map and .tec les with the new ones.5. Proper halanta should now appear.2