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

2013-04-11 Thread Vikas Rawal
> > > And then, we need to separately name the results block, and use > > a different name for it, so that the cross-references pick it up > > correctly? > > Yes, the name given to the results block doesn't depend on the results > keyword. You can give it any name, as long as it is unique. > > H

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

2013-04-11 Thread Nicolas Goaziou
Vikas Rawal writes: >> > 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 wa

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

2013-04-11 Thread Vikas Rawal
> > 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. > > W

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

2013-04-11 Thread Nicolas Goaziou
Hello, Vikas Rawal 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

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

2013-04-11 Thread Christian Moe
Vikas Rawal 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,

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

2013-04-11 Thread Vikas Rawal
> > 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 blo

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

2013-04-11 Thread Christian Moe
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. Vikas, can you try this? Simply add a name to the generated table when you also add a ca