On Mon, Sep 14, 2015 at 08:49:17AM -1000, Thomas S. Dye wrote: > Hi Suvayu, > > Suvayu Ali <fatkasuvayu+li...@gmail.com> writes: > > > Hey Tom, > > > > On Mon, Sep 14, 2015 at 07:34:39AM -1000, Thomas S. Dye wrote: > >> Suvayu Ali <fatkasuvayu+li...@gmail.com> 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.
Sorry, I have a shortcut for latex snippets to l. Try replacing the l with latex: #+macro: green @@latex:\textcolor{PaleGreen4}{@@$1@@latex:}@@ -- Suvayu Open source is the future. It sets us free.