emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "Thomas S.Dye" <tsd@tsdye.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Limit on macro snippet size?
Date: Mon, 14 Sep 2015 18:16:15 +0100	[thread overview]
Message-ID: <8737yg9b1c.fsf@ucl.ac.uk> (raw)
In-Reply-To: m27fntc5tb.fsf@tsdye.com

On Monday, 14 Sep 2015 at 06:40, Thomas S.Dye wrote:
> Aloha all,
>
> 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.

> #+MACRO: green \textcolor{PaleGreen4}{$1}

> Is there a limit on the length of text that a macro like this will
> process?

probably...  (others will answer, I'm sure)

Instead, I wonder whether it wouldn't just be easy enough to do:

#+begin_src org
  ,#+latex: \textcolor{PaleGreen4}{
  all of your text that can be several lines
  ,#+latex: }
#+end_src

Less fragile, so long as there are no paragraph breaks maybe...

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-234-g8c85c9

  parent reply	other threads:[~2015-09-14 17:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-14 16:40 Limit on macro snippet size? Thomas S. Dye
2015-09-14 17:01 ` Suvayu Ali
2015-09-14 17:34   ` Thomas S. Dye
2015-09-14 17:40     ` Suvayu Ali
2015-09-14 17:42       ` Suvayu Ali
2015-09-14 18:49       ` Thomas S. Dye
2015-09-14 20:03         ` Suvayu Ali
2015-09-14 20:25           ` Thomas S. Dye
2015-09-14 17:16 ` Eric S Fraga [this message]
2015-09-14 17:24   ` Rasmus
2015-09-14 17:34     ` Suvayu Ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737yg9b1c.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).