bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: styling flexibility for definitions


From: Per Bothner
Subject: Re: styling flexibility for definitions
Date: Sat, 31 Oct 2020 15:16:26 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

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
per@bothner.com   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]