Inconsistent(?) rendering of xrefs to sections and list items

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Inconsistent(?) rendering of xrefs to sections and list items

oddhack
I've gone over the user manual section on anchors and xrefs a couple of times, and still don't understand what I'm seeing. Consider:

----------
Link to section anchor, should render as "`Custom section`": <<VX_SECTION>>

Link to in-body anchor, should render as "`Custom entry`": <<VX_BODY>>

[[VX_SECTION,Custom section]]
== A section

  * [[VX_BODY,Custom entry]] A bullet
----------

This renders as:

----------
Link to section anchor, should render as “Custom section”: Custom section

Link to in-body anchor, should render as “Custom entry”: [VX_BODY]

A section
* A bullet
----------

Why is the "Custom section" rendered as desired from the xref, while the "Custom entry" is ignored, and that xref is rendered with square brackets around the anchor name?