bug-texinfo
[Top][All Lists]
Advanced

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

Re: permanent links using #fragment names


From: Per Bothner
Subject: Re: permanent links using #fragment names
Date: Sun, 9 Jan 2022 10:44:27 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0



On 1/9/22 09:47, Eli Zaretskii wrote:
For example, the Keys chapter in the Emacs manual would still be in the
file Keys.html, and you can still browse to "https://whatever/emacs/Keys.html";.
However, the "perma-link" would be "https://whatever/emacs#Keys";, and that
is what would show in the location bar.  Currently, 'Keys" is a section,
but the perma-link would remain "emacs#Keys" regardless of whether
it is changed to a chapter or subsection, or of the splitting mode.
Even if the section is renamed, "emacs#Keys" would work as long as
an @anchor with the old name is added.

I'm not sure I understand what will happen with @anchor's.

The emacs manual contains @anchor{Outline Search} in text.texi.
This generates the URL "Outline-Visibility.html#Outline-Search".
This would still work, but so would "emacs#Outline-Search" and
the latter would be the preferred ("perma-link") URL.
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/



reply via email to

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