From: Haik Silm <haik@silm.li>
To: emacs-orgmode@gnu.org
Subject: Re: [Orgmode] Escaping braces and org-export-latex-classes behaviour
Date: Tue, 5 Sep 2017 20:16:50 +0200 [thread overview]
Message-ID: <93d63992-5015-a38a-d840-1a028df0d52f@silm.li> (raw)
In-Reply-To: <8dda11e6-cd0a-c403-4aaa-5ffdaf15e8aa@silm.li>
[-- Attachment #1: Type: text/plain, Size: 2316 bytes --]
I had the same problem. As a workaround I used \begingroup and \endgroup
to denote {}
Best regards,
Haik
17.04.2010 20:13 Giulio Fella kirjutas:
> 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
> <address@hidden> 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 <address@hidden>:/
> >/> 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./
> >/> address@hidden/
> >/> http://lists.gnu.org/mailman/listinfo/emacs-orgmode/
> >/>/
> >
[-- Attachment #2: Type: text/html, Size: 3306 bytes --]
parent reply other threads:[~2017-09-05 18:17 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <8dda11e6-cd0a-c403-4aaa-5ffdaf15e8aa@silm.li>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=93d63992-5015-a38a-d840-1a028df0d52f@silm.li \
--to=haik@silm.li \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).