From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Limit on macro snippet size? Date: Mon, 14 Sep 2015 19:42:00 +0200 Message-ID: <20150914174200.GJ2932@chitra.no-ip.org> References: <20150914170120.GF2932@chitra.no-ip.org> <20150914174024.GI2932@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbXlW-0002eR-Hg for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbXlV-0002Eu-PD for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:42:06 -0400 Received: from mail-ig0-x232.google.com ([2607:f8b0:4001:c05::232]:35399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbXlV-0002Ct-GL for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:42:05 -0400 Received: by igbkq10 with SMTP id kq10so92874260igb.0 for ; Mon, 14 Sep 2015 10:42:04 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by smtp.gmail.com with ESMTPSA id a8sm5808516igo.2.2015.09.14.10.42.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2015 10:42:03 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20150914174024.GI2932@chitra.no-ip.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Mon, Sep 14, 2015 at 07:40:24PM +0200, Suvayu Ali wrote: > Hey Tom, > > On Mon, Sep 14, 2015 at 07:34:39AM -1000, Thomas S. Dye wrote: > > Suvayu Ali 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:}@@ Btw, this happens because of the newlines of course :). -- Suvayu Open source is the future. It sets us free.