[Top][All Lists]

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

Re: [O] Limit on macro snippet size?

From: Thomas S . Dye
Subject: Re: [O] Limit on macro snippet size?
Date: Mon, 14 Sep 2015 08:49:17 -1000

Hi Suvayu,

Suvayu Ali <address@hidden> writes:

> 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:}@@

This doesn't work for me.  The latex output isn't marked up, but the
text passed to $1 appears in the tex file.

All the best,

Thomas S. Dye

reply via email to

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