On Wed, 25 Aug 2010 10:21:43 +0200, Giovanni Ridolfi <giovanni.rido...@yahoo.it> wrote: > > Christian Wittern <cwitt...@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
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
-- MC . -.. --- - ..-. .-. .- --. .- .- - ..- -.-. .-.. .- -.-. ..- -.- NL Professor Eric S Fraga, UCL, http://www.homepages.ucl.ac.uk/~ucecesf/ PG Fingerprint: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D BF >++++++++++[>++++++++++>+++++++++++[<]>-]>++.>++++.<-----.++++++.------.
_______________________________________________ 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