emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Limit on macro snippet size?


From: Suvayu Ali
Subject: Re: [O] Limit on macro snippet size?
Date: Mon, 14 Sep 2015 19:40:24 +0200
User-agent: Mutt/1.5.23.1 (2014-03-12)

Hey Tom,

On Mon, Sep 14, 2015 at 07:34:39AM -1000, Thomas S. Dye wrote:
> Suvayu Ali <address@hidden> writes:
>
> > show it actually works.  How does the failure happen, what do you see in
> > the exported file?
> 
> \textcolor{PaleGreen4}\{the only weapons they had were a
> few stones in some of the Canoes and these they threw overboard
> when they found they were not wanted\}.
> 
> Note the curly brackets are escaped.  Not sure why ...

Easy-peasy!  Org recognises the first {..} as part of a latex command,
not the later.  You need snippets.  I always use them to make export
more robust.  Try this:

#+macro: green @@l:\textcolor{PaleGreen4}{@@$1@@l:}@@

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]