emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas S. Dye <tsd@tsdye.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Limit on macro snippet size?
Date: Mon, 14 Sep 2015 10:25:46 -1000	[thread overview]
Message-ID: <m21te0d9yt.fsf@tsdye.com> (raw)
In-Reply-To: <20150914200337.GA30959@chitra.no-ip.org>

Hi Suvayu,

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

>> > #+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:}@@

@@Perfect.@@  Many thanks!

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2015-09-14 20:26 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 [this message]
2015-09-14 17:16 ` Eric S Fraga
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=m21te0d9yt.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.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).