emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Leo Alekseyev <dnquark@gmail.com>
Cc: Emacs orgmode <emacs-orgmode@gnu.org>
Subject: Re: Is it possible to include #+call lines in HTML export?
Date: Mon, 23 Jan 2012 12:54:28 -0700	[thread overview]
Message-ID: <87pqeaqjnv.fsf@gmx.com> (raw)
In-Reply-To: <CADzxs1=bBRnHkBTAtHNP1j2AfF2OBNhY6pX-zGP-srWXK18gYQ@mail.gmail.com> (Leo Alekseyev's message of "Fri, 20 Jan 2012 17:12:12 -0600")

Leo Alekseyev <dnquark@gmail.com> writes:

> Currently, my org files look something like this:
>
> * And now, let's do the analysis !
> #+call: foo(bar)
>
> #+results:
> :  earth-shattering results
> :  gonna land me a Nobel /and/ a Fields!
>
> But because #+call is not exported, it's not clear what function was
> called and with what parameters.  It makes a lot of sense for it to be
> included in the export (unless its evaluation is turned off via e.g.
> :eval no-export), but I can't find an option for this.
>

Currently what you describe is not possible.  Call lines are by default
replaced with their results on export.

...

Alright, I just pushed up an addition which allows the specification of
a call line export template to include information like the name of the
call line used to generate the results.  For example, add the following
to your config and export a buffer with call lines.

(setq org-babel-exp-call-line-template "\n: call: %line")

Best,

>
> --Leo
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

      reply	other threads:[~2012-01-23 19:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-20 23:12 Is it possible to include #+call lines in HTML export? Leo Alekseyev
2012-01-23 19:54 ` Eric Schulte [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=87pqeaqjnv.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=dnquark@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).