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:40:24 +0200 Message-ID: <20150914174024.GI2932@chitra.no-ip.org> References: <20150914170120.GF2932@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]:35626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbXjy-0001yD-1g for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:40:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbXjx-0000y4-27 for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:40:29 -0400 Received: from mail-io0-x230.google.com ([2607:f8b0:4001:c06::230]:34090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbXjw-0000xy-OB for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:40:28 -0400 Received: by iofb144 with SMTP id b144so175032615iof.1 for ; Mon, 14 Sep 2015 10:40:28 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by smtp.gmail.com with ESMTPSA id b16sm40235iob.39.2015.09.14.10.40.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2015 10:40:27 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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 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:}@@ Hope this helps, -- Suvayu Open source is the future. It sets us free.