From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: "{" in Latex fragments Date: Wed, 25 Aug 2010 09:36:20 +0100 Message-ID: References: <4C74CA21.1090006@gmail.com> <831v9nayqw.fsf@yahoo.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1259631191==" Return-path: Received: from [140.186.70.92] (port=56431 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoBTO-0007xM-TM for emacs-orgmode@gnu.org; Wed, 25 Aug 2010 04:36:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoBTN-0008IH-RN for emacs-orgmode@gnu.org; Wed, 25 Aug 2010 04:36:42 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:50213) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoBTN-0008Hz-Ll for emacs-orgmode@gnu.org; Wed, 25 Aug 2010 04:36:41 -0400 Received: by eyg7 with SMTP id 7so111526eyg.0 for ; Wed, 25 Aug 2010 01:36:40 -0700 (PDT) In-Reply-To: <831v9nayqw.fsf@yahoo.it> 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: Giovanni Ridolfi Cc: Christian Wittern , Org Mode Mailing List --===============1259631191== Content-Type: multipart/alternative; boundary=0015174c397cd21199048ea1c7a7 --0015174c397cd21199048ea1c7a7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Or what about \J{japanese characters here}? I do the same with Hebrew, \heb{=D7=9C=D6=B4=D7=A4=D6=B0=D7=A0=D6=B5=D7=99 =D7=99=D6=B0=D7=94=D7=95=D6= =B8=D7=94} 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 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, t= he > > 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 =E3=82=A6} > > to > > hello [\J =E3=82=A6 ] or: (\J =E3=82=A6) > > [] 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 > --0015174c397cd21199048ea1c7a7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Or what about \J{japanese characters here}?=C2=A0 I do the same with Hebrew= , \heb{=D7=9C=D6=B4=D7=A4=D6=B0=D7=A0=D6=B5=D7=99 =D7=99=D6=B0=D7=94=D7=95= =D6=B8=D7=94} and (without claiming to have done extensive testing), it see= ms to work.=C2=A0 Org mode is set up to let arbitrary macros of the format = \mymacro{data} pass through to LaTeX.=C2=A0 You might not even have to chan= ge 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 Japa= nese
> font defined as \J. =C2=A0When using this, I have to do something like= {\J
> (Japanese characters here}. =C2=A0However, when I run the org-mode exp= ort, the
> braces "{" and "}" are escaped as \{ and \} and th= us loosing their
> function.

yes.

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

from:

hello {\J =E3=82=A6}

to

hello =C2=A0[\J =E3=82=A6 ] or: (\J =E3=82=A6)

[] 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

--0015174c397cd21199048ea1c7a7-- --===============1259631191== 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 --===============1259631191==--