Devanagari How To

2
Devanagari in L A T E X Anand Mishra [email protected] Check whether the relevant packages are installed If not already installed, install the following packages: \usepackage{xltxtra} \usepackage{polyglossia} \usepackage{fontspec} Install a Devanagari Font I find Sanskrit 2003 an appropriate choice. You can download and install this font from the following website: http://www.omkarananda-ashram.org/Sanskrit/itranslator2003.htm Test Download the following .tex file and compile it using XeLaTeX. http://sanskrit.sai.uni-heidelberg.de/Seminare/2013_WS_AAI_Hamburg/devanagariTest. tex After compilation, it should output a pdf similar to the one here: http://sanskrit.sai. uni-heidelberg.de/Seminare/2013_WS_AAI_Hamburg/devanagariTest.pdf It you see Devanagari characters, it means things are functioning well! The question of halanta Check 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 file and save it first (e.g.) at your desktop http://sanskrit.sai.uni-heidelberg.de/Seminare/2013_WS_AAI_Hamburg/harvardkyoto map 2. Download the TECkit compiler from here (You need this for generating the necessary .tec file): http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=TECkit 3. From command line, run the command: C:\>teckit_compile harvardkyoto.map -o harvardkyoto.tec 1

description

Devanagari muntikiis

Transcript of Devanagari How To

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