Hello, Vikas Rawal <vikasli...@agrarianresearch.org> 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