August 29, 2016

Emacs and Sanskrit

GNU Emacs is a very flexible text editor, and thanks to it being open source and written in a dialect of lisp, it is quite easy to hack on it and extend it. So there are a couple of extensions and tools that I want to recommend in this post to anyone who is interested in working with sanskrit material under emacs (they are rather easy to set up on a unix-like environment such as linux or OSX, but slightly more complicated on other systems):

  1. sdcv provides an integration of the popular stardict dictionary format into emacs via the terminal tool sdcv. There is also goldendict, which is a standalone graphical stardict clone, but this programm does not integrate so well into emacs. For a collection of sanskrit-dictionaries to be used with stardict see this link.
  2. ag, a high performance grep-like tool, very useful for searching through larger collections of sanskrit-files. For such collections see gretil (plain text) and SARIT (xml)
  3. xah-lookup is a tool to lookup words on the internet by a key combination from within emacs. You just need to change some of the links in the .el-file and make them point to the famous dictionaries such as the inflected forms lookup of the university of cologne and you have a very powerful tool to quickly search for a word without having to open the website by hand...
  4. auctex is not directly sanskrit-related, yet it is a very useful extension if you wish to work well with latex under emacs, and I suppose that this is relevant to most people who deal with sanskrit and emacs. :)
  5. In order to get latex going with devanagari, have a look at this article that I wrote some time ago.
  6. Last but not least there is the skorg-mode, an extension of the org-mode for storing sanskrit-documents in org format that I am hacking on in my free time. It kind of works, but still requires a lot of debugging and thus is in beta-state.
Tags: latex org-mode emacs sanskrit