From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye Subject: Re: Limit on macro snippet size? Date: Mon, 14 Sep 2015 07:34:39 -1000 Message-ID: References: <20150914170120.GF2932@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbXea-0000LS-Cg for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:34:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbXeV-0006uL-Ad for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:34:56 -0400 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:34544) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZbXeV-0006u8-44 for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 13:34:51 -0400 In-reply-to: <20150914170120.GF2932@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: Suvayu Ali Cc: emacs-orgmode@gnu.org Hi Suvayu, Suvayu Ali writes: > Hi Tom, > > On Mon, Sep 14, 2015 at 06:40:48AM -1000, Thomas S. Dye wrote: >> >> I couldn't find any information on this in the manual or the mailing >> list, though I vaguely recall some discussion on the list a while back. >> >> Is there a limit on the length of text that a macro like this will >> process? >> >> #+MACRO: green \textcolor{PaleGreen4}{$1} >> >> I have 2 and 3 line sections of text passed to $1 that worked last >> spring, but fail now. > > Are you sure? Here is a 3 line macro that seems to work fine for me: > > non-uniform acceptance ratio. {{{note(Add note on RICH detectors > relying on exactly this feature to discriminate between particle > species.,inline)}}} > > I have attached a screenshot of the relevant part of the output pdf to > 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 ... Tom -- Thomas S. Dye http://www.tsdye.com