bug-texinfo
[Top][All Lists]
Advanced

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

Re: Identifying links to other Texinfo manuals in HTML


From: Per Bothner
Subject: Re: Identifying links to other Texinfo manuals in HTML
Date: Mon, 19 Oct 2020 05:17:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

On 10/19/20 4:38 AM, Gavin Smith wrote:
On Sun, Oct 18, 2020 at 03:31:20PM -0700, Per Bothner wrote:
Another idea is that on page load you rewrite the URL to something
containing a magic string - for example:
      
https://www.gnu.org/software/emacs/manual/html_mono/elisp.html?+texinfo-manual#Special-Forms

Then a link-resolver hook for your embedding API can look for this magic string.

I was thinking of doing something like this.

A downside to this approach is that mouse-hover would display this re-written 
URL,
which is ugly. A hook function is probably cleaner.
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/



reply via email to

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