On Wed, 25 Aug 2010 10:21:43 +0200, Giovanni Ridolfi wrote: > > Christian Wittern 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 I think because the {}'s define a scope in latex and so the \J only affects text surrounded by the {}. For Christian, what about "\J{ text }" instead as org is careful to let this type of construct go through unchanged, if I understand correctly. This does depend on how you have defined J but possibly a slight redefinition would work (\newcommand{\J}[1]{.... #1}). HTH, eric