emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] exporting cross-references to source block results CORRECTION


From: Nicolas Goaziou
Subject: Re: [O] exporting cross-references to source block results CORRECTION
Date: Thu, 11 Apr 2013 14:00:39 +0200

Hello,

Vikas Rawal <address@hidden> writes:

>> 
>> Oops, sorry, I take back my last message, there was an error in my test
>> example.
>> 
>> Adding a #+NAME above the generated table DOES result in a correct
>> cross-reference. That seems like reasonable behavior to me.
>
> The intended behaviour, as documented by Nicolas, is that a named
> source block will result in output with #+RESULTS, and that the
> cross-reference will pick that up correctly.
>
> If #+RESULT is not to work, it is better to change
> org-babel-results-keyword to NAME, and then what you are suggesting
> happens automatically. But in the earlier thread on the topic, Nicolas
> said that was not the right way.

We are misunderstanding each other.

#+results are never used for cross-references. This is a Babel internal
keyword used to refer to the source that generated this element.

Cross-references only react to #+name keyword.


Regards,

-- 
Nicolas Goaziou



reply via email to

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