From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Henoch Subject: Re: Export special characters to LaTeX and HTML Date: Mon, 29 Mar 2010 15:01:26 +0100 Message-ID: <84iq8fp6q1.fsf@linux-b2a3.site> References: <8880A5F0-25CB-49B5-B886-BBE036AB2479@tsdye.com> <87d3yorgqr.fsf@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwFXI-00036K-40 for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 10:01:48 -0400 Received: from [140.186.70.92] (port=57353 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwFXG-00035a-As for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 10:01:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwFXE-0004TT-L1 for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 10:01:46 -0400 Received: from lo.gmane.org ([80.91.229.12]:56405) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwFXE-0004TJ-CU for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 10:01:44 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NwFX9-0003BF-Pp for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 16:01:39 +0200 Received: from host213-123-170-251.in-addr.btopenworld.com ([213.123.170.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Mar 2010 16:01:39 +0200 Received: from magnus.henoch by host213-123-170-251.in-addr.btopenworld.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Mar 2010 16:01:39 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Sven Bretfeld" 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