help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inputting characters with specialist diacritic marks in emacs


From: patrick mc allister
Subject: Re: Inputting characters with specialist diacritic marks in emacs
Date: Tue, 19 Jan 2016 16:26:05 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

On Tue, Jan 19, 2016 at 05:30:00AM -0800, address@hidden wrote:
> Hello,
>
>  I am a linguist who works particularly with Indic languages. I am
> trying to do most of my work in emacs, but I am having problems
> using characters with diacritic marks (for instance ā, ī and so on)
> which are commonly used to transliterate old Indic languages such as
> Sanskrit and Pali.

Stefan Baums wrote an input method: http://stefanbaums.com/unicode/sanskrit.el

Save this somewhere (in your ~/.emacs.d/ is a good idea), and then
call ~M-x load-file sanskrit.el~ when you need it.  Or put this in
your .emacs file:

(load "~/.emacs.d/sanskrit.el")

You can then enable it with ~M-x set-input-method sanskrit~. Then,
typing "=a" should give you "ā". See ~M-x describe-input-method~ for
more info.

If you prefer the "aa" -> "ā" conversion, you'll have to add "("aa"
?ā)" etc. to sanskrit.el.

Most alternatives built in to emacs have only partial support for all
the characters you'll need, AFAIK: TeX or latin-postfix/prefix input
methods.

Best regards,

-- 
patrick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]