Or what about \J{japanese characters here}?  I do the same with Hebrew, \heb{לִפְנֵי יְהוָה} and (without claiming to have done extensive testing), it seems to work.  Org mode is set up to let arbitrary macros of the format \mymacro{data} pass through to LaTeX.  You might not even have to change your definitions.


Scot


On Wed, Aug 25, 2010 at 9:21 AM, Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> wrote:
Christian Wittern <cwittern@gmail.com> writes:

> In my org-mode document, I have a special sequence to switch to a Japanese
> font defined as \J.  When using this, I have to do something like {\J
> (Japanese characters here}.  However, when I run the org-mode export, the
> braces "{" and "}" are escaped as \{ and \} and thus loosing their
> function.

yes.

but why don't you change the sequence? I mean:

from:

hello {\J ウ}

to

hello  [\J ウ ] or: (\J ウ)

[] and () are not escaped

cheers,
Giovanni


_______________________________________________
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