emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: Magnus Henoch <magnus.henoch@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Export special characters to LaTeX and HTML
Date: Mon, 29 Mar 2010 05:56:45 -1000	[thread overview]
Message-ID: <AD13DD5B-9E1C-457E-B6C9-850F4F3E759D@tsdye.com> (raw)
In-Reply-To: <84iq8fp6q1.fsf@linux-b2a3.site>


[-- Attachment #1.1: Type: text/plain, Size: 884 bytes --]


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  
> "ā"
> (and typing "a--" gives you "a-").
>
> -- 
> Magnus Henoch
>

Thanks Magnus,

This is very helpful.

All the best,
Tom

[-- Attachment #1.2: Type: text/html, Size: 1876 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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	other threads:[~2010-03-29 15:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-28  7:22 Export special characters to LaTeX and HTML Thomas S. Dye
2010-03-28  8:29 ` Sven Bretfeld
2010-03-28 16:20   ` Thomas S. Dye
2010-03-28 17:04     ` sven.bretfeld
2010-03-29 14:01   ` Magnus Henoch
2010-03-29 15:56     ` Thomas S. Dye [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AD13DD5B-9E1C-457E-B6C9-850F4F3E759D@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=magnus.henoch@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).