On 10/31/20 2:26 PM, Gavin Smith wrote:
Feel free not to consider it if you find implementing your desired
functionality enough, but there has also been discussion of outputting
an "anchor" at def items to provide a link that could be copied:
https://lists.gnu.org/archive/html/bug-texinfo/2020-09/msg00022.html
It would be good if this could be implemented with CSS too.
I'm dubious CSS can add a link, but it can easily be done with JavaScript.
Or you can have makeinfo create the link.
I'm don't think you want the category string to be a link: Intuitively,
if you click on "Function:" it should take you to a list of functions.
More naturally would be for the name to be a link (basically, to itself).
Which argues for the name to be in an element by itself with a descriptive
class name. (I believe DocBook output uses 'primary' for the class.)
Regardless, it seems desirable for the name to be own element-with-class.
--
--Per Bothner
[email protected] http://per.bothner.com/