From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Re: Export special characters to LaTeX and HTML Date: Mon, 29 Mar 2010 05:56:45 -1000 Message-ID: References: <8880A5F0-25CB-49B5-B886-BBE036AB2479@tsdye.com> <87d3yorgqr.fsf@gmx.ch> <84iq8fp6q1.fsf@linux-b2a3.site> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============1030517814==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwHKk-0002YS-8D for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 11:56:58 -0400 Received: from [140.186.70.92] (port=39320 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwHKh-0002Rn-IU for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 11:56:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwHKf-0002gM-SL for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 11:56:55 -0400 Received: from outbound-mail-359.bluehost.com ([66.147.249.253]:47341) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NwHKf-0002ft-LB for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 11:56:53 -0400 In-Reply-To: <84iq8fp6q1.fsf@linux-b2a3.site> 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: Magnus Henoch Cc: emacs-orgmode@gnu.org --===============1030517814== Content-Type: multipart/alternative; boundary=Apple-Mail-8--486770030 --Apple-Mail-8--486770030 Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable On Mar 29, 2010, at 4:01 AM, Magnus Henoch wrote: > "Sven Bretfeld" writes: > >> I use the same characters for Sanskrit. They export just fine to =20 >> 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 =20= > "=C4=81" > (and typing "a--" gives you "a-"). > > --=20 > Magnus Henoch > Thanks Magnus, This is very helpful. All the best, Tom= --Apple-Mail-8--486770030 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mar 29, 2010, = at 4:01 AM, Magnus Henoch wrote:

"Sven = Bretfeld" <sven.bretfeld@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 "=C4=81"
(and typing "a--" gives you = "a-").

--
Magnus Henoch


Than= ks Magnus,

This is very = helpful.

All the = best,
Tom
= --Apple-Mail-8--486770030-- --===============1030517814== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1030517814==--