emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: "T.F. Torrey" <tftorrey@tftorrey.com>
Cc: emacs-orgmode@gnu.org, Nicolas Goaziou <n.goaziou@gmail.com>
Subject: Re: Macro expansion in new exporter
Date: Fri, 15 Feb 2013 16:26:29 -0500	[thread overview]
Message-ID: <7834.1360963589@alphaville> (raw)
In-Reply-To: Message from tftorrey@tftorrey.com (T.F. Torrey) of "Fri, 15 Feb 2013 13:42:48 MST." <87r4khia0n.fsf@lapcat.tftorrey.com>

T.F. Torrey <tftorrey@tftorrey.com> wrote:

> ... 
> This almost works, I think ...
> 
> #+name: snippet-awesome
> #+begin_src org :exports results :results raw
> Snippet of awesome text that changes sometimes.
> #+end_src
> 
> #+HTML: <p class="foo">
> #+CALL: snippet-awesome :results raw
> #+HTML: </p>
> 
> ... except that it doesn't actually export anything, and changing
> :exports to none doesn't help.  And neither does removing the :results
> raw from the call.
> 
> If it did work, it would be closer to what I had.  Not perfect, but
> closer.
> 

The way I read the doc, you need to say

#+CALL: snippet-awesome[:results raw]()

Nick

      parent reply	other threads:[~2013-02-15 21:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 23:08 Macro expansion in new exporter T.F. Torrey
2013-02-09  8:04 ` Nicolas Goaziou
2013-02-12 10:00   ` T.F. Torrey
2013-02-12 17:56     ` Nicolas Goaziou
2013-02-12 20:30       ` T.F. Torrey
2013-02-13 16:36         ` Nicolas Goaziou
2013-02-15 10:21           ` T.F. Torrey
2013-02-15 13:05             ` Nicolas Goaziou
2013-02-15 20:42               ` T.F. Torrey
2013-02-15 21:17                 ` Nicolas Goaziou
2013-02-15 22:37                   ` T.F. Torrey
2013-02-15 21:26                 ` Nick Dokos [this message]

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=7834.1360963589@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --cc=tftorrey@tftorrey.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).