* Escaping braces and org-export-latex-classes behaviour
@ 2010-04-16 17:19 Giulio Fella
2010-04-17 20:09 ` Darlan Cavalcante Moreira
0 siblings, 1 reply; 3+ messages in thread
From: Giulio Fella @ 2010-04-16 17:19 UTC (permalink / raw)
To: emacs-orgmode
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 or 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Escaping braces and org-export-latex-classes behaviour
2010-04-16 17:19 Escaping braces and org-export-latex-classes behaviour Giulio Fella
@ 2010-04-17 20:09 ` Darlan Cavalcante Moreira
2010-04-17 22:30 ` Giulio Fella
0 siblings, 1 reply; 3+ messages in thread
From: Darlan Cavalcante Moreira @ 2010-04-17 20:09 UTC (permalink / raw)
To: Giulio Fella; +Cc: emacs-orgmode
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 <g.fella@lineone.net>:
> 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 or 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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Escaping braces and org-export-latex-classes behaviour
2010-04-17 20:09 ` Darlan Cavalcante Moreira
@ 2010-04-17 22:30 ` Giulio Fella
0 siblings, 0 replies; 3+ messages in thread
From: Giulio Fella @ 2010-04-17 22:30 UTC (permalink / raw)
To: Darlan Cavalcante Moreira; +Cc: emacs-orgmode
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
<darcamo@gmail.com> 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 <g.fella@lineone.net>:
>> 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 or 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
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-17 22:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-16 17:19 Escaping braces and org-export-latex-classes behaviour Giulio Fella
2010-04-17 20:09 ` Darlan Cavalcante Moreira
2010-04-17 22:30 ` Giulio Fella
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).