Sample XeTeX/LEDMAC File

I am attaching a minimal sample file, containing only one verse, for newcomers to experiment with. To typeset it one needs to have installed TeXLive or MacTeX, which comes with all of the necessary packages like LEDMAC, fancyhdr, and xunicode. One also needs the following style file created by Somadeva Vasudevain order to easily reference variants in the critical apparatus by verse number and pāda, rather than just line number.: SDVerseMG.sty.

One further procedure is necessary to have the convenience of typing the source file as unicode roman, and having the typeset version come out in Devanagari. For this you need to install TECKit, available from SIL International. Once you have TECKit, go to Dominik Wujastyk’s blog “Cikitsa” and see this entry . Some of the links are now dead, but one from Somadeva Vasudeva’s blog is here. Following his instructions, I hope you will be able to successfully compile the sample file. I should also say that this is meant to work on a Mac, using the Apple font DevanagariMT. In theory one should be able to use it on any system and simply substitute another unicode Devanāgari font. I welcome questions and comments, and I’ll revise the instructions if I have omitted any steps.