"Sven Bretfeld" <sven.bretf...@gmx.ch> writes:

> I use the same characters for Sanskrit. They export just fine to LaTeX.
> To type them I have the following in my .emacs:
>
> (define-key global-map [(meta a)] nil) ;;make Alt-a free as a prefix
> (define-key org-mode-map [(meta a)] nil)
>
> (defun insert-lang-a ()
> (interactive)
> (ucs-insert "0101"))
> (global-set-key "\M-aa" 'insert-lang-a)
>
> (defun insert-lang-i ()
> (interactive)
> (ucs-insert "012B"))
> (global-set-key "\M-ai" 'insert-lang-i)

An alternative to the above is to use an input method, e.g. M-x
set-input-method RET latin-alt-postfix.  Then typing "a-" gives you "ā"
(and typing "a--" gives you "a-").

-- 
Magnus Henoch



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to