Re: Tables using asciidoc column styles do not render cross references?
Posted by
mojavelinux on
Oct 23, 2013; 7:28am
URL: https://discuss.asciidoctor.org/Tables-using-asciidoc-column-styles-do-not-render-cross-references-tp846p849.html
Aha! You've identified a use case that isn't tested...and isn't working :)
It's important to understand that AsciiDoc table cells are parsed using a nested invocation of the Asciidoctor API. In other words, there's a parent-child relationship between the two tree structures. The child has visibility and, in some cases, write access to data in the parent.
The internal reference table is clearly something that should be shared. However, right now, it isn't. That's why it's not seeing the reference.
I'll get this filed and fixed for Asciidoctor 1.5.0.
There are two other workarounds you can use until then. The first is an explicit title at the point of the reference:
<<more-info,More Info>>
The other option is to revert the table cell type to default just for that individual cell. That can be done using the 'd' cell spec.
d|See <<more-info>>
I hope that clears things up a bit.
Cheers,
-Dan