[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Is it possible to include #+call lines in HTML export?
From: |
Eric Schulte |
Subject: |
Re: [O] Is it possible to include #+call lines in HTML export? |
Date: |
Mon, 23 Jan 2012 12:54:28 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Leo Alekseyev <address@hidden> 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/