From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giulio Fella Subject: Re: Escaping braces and org-export-latex-classes behaviour Date: Sat, 17 Apr 2010 23:30:23 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3Gd9-0008Uu-Dp for emacs-orgmode@gnu.org; Sat, 17 Apr 2010 18:36:51 -0400 Received: from [140.186.70.92] (port=49047 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3Gd6-0008Ui-R2 for emacs-orgmode@gnu.org; Sat, 17 Apr 2010 18:36:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3Gd5-0000Ve-L1 for emacs-orgmode@gnu.org; Sat, 17 Apr 2010 18:36:48 -0400 Received: from fg-out-1718.google.com ([72.14.220.154]:24222) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3Gd5-0000VM-As for emacs-orgmode@gnu.org; Sat, 17 Apr 2010 18:36:47 -0400 Received: by fg-out-1718.google.com with SMTP id e12so1025029fga.12 for ; Sat, 17 Apr 2010 15:36:40 -0700 (PDT) In-Reply-To: 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: Darlan Cavalcante Moreira Cc: emacs-orgmode@gnu.org Thanks for your reply. I am afraid I know nothing about Tex, so I cannot comment on that. But all my Latex references e.g. http://en.wikibooks.org/wiki/LaTeX/Colors give that as the correct syntax for \color, as opposed to e.g. \textcolor which has the syntax you report. But more generally, given that 90% of latex braces are just part of command syntax I have a feeling that it would be more economical to require the user to escape those braces which are indeed to be escaped in Latex. I think Carsten has been correcting quite a number of these "escape braces" bugs and I am not sure that the feature is worth his time. giulio On Sat, Apr 17, 2010 at 9:09 PM, Darlan Cavalcante Moreira wrote: > I think the correct would be using Latex syntax like \color{red}{whatever= }. > > If you write using plain Tex syntax like {\color{red}whatever} org > will not understand that the outer curly brackets are part of the > command. > > > -- Darlan > > 2010/4/16 Giulio Fella : >> Hi, >> >> I have just upgraded from 6.33trans to 6.35g-55-g36d3e hoping to solve >> a problem with escaping braces. >> >> With LaTex_CLASS: beamer >> >> Something like >> {\color{red}whatever} >> >> exports to latex with escaped outer braces. Namely >> >> \{\color{red}whatever\} >> >> This is the same behaviour as in 6.33trans. I had read it was a bug >> which had been corrected. Is this a reappearing bug =A0or is there a way >> round it? >> >> Also in version 6.33 the relevant content of org-export-latex-classes >> used to be exported before that of BEAMER_HEADER_EXTRA. Now it is >> parsed after it. Is there any variable I can set to reestablish the >> old behaviour? >> >> Many thanks in advance. >> >> Best wishes >> Giulio >> >> >> _______________________________________________ >> 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 >> >