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 caption, and use that name to link.

Yours,
Christian



>> Vikas Rawal didn't say if he also added a `#+NAME: foo' line above the
>> generated table. I expected that to solve it, so I tried. This did give
>> the table an `id="foo"' attribute on HTML export for a cross-reference
>> to target. However, the cross-reference still behaved the same way.
>
> Thanks Christian for confirming this. 
>
> The previous discussion is at
> http://thread.gmane.org/gmane.emacs.orgmode/67727/
>
> I had mentioned that everything works fine if you change the variable
> org-babel-results-keyword to NAME. But Nicolas said that should not be
> done and that the exporter should work correctly with #+RESULTS. But
> at least for me, it does not work correctly.
>
> Vikas


Reply via email to