emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Source block processing changes


From: Nicolas Goaziou
Subject: Re: [O] Source block processing changes
Date: Mon, 05 Nov 2012 18:25:00 +0100

Hello,

Ista Zahn <address@hidden> writes:

> The only way I can get the headlines and tables to be exported
> properly is to set ':results raw', but then I get duplicate results
> every time I evaluate the R source block.

You can use ":cache yes" in order to avoid duplicating results.

> Is there any way to produce the old behavior in the current
> development version of org?

Besides using :results raw? You may also generate a file containing your
results and include it in the buffer.

> If not, what are the chances of this very useful functionality being
> re-implemented?

I'd like to avoid re-implementing this hack, if possible. But if it had
to be done, I think it would require to treat specially "begin_org"
blocks during export by replacing them with their contents just before
parsing (i.e. just after included files have been expanded).

Hence,

    #+begin_src org
    ,* Headline
    #+end_src

would become

    * Headline

just before parser kicks in.

But, again, let's see first if no solution can be found without creating
yet another special case.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]