[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: permanent links using #fragment names
From: |
Eli Zaretskii |
Subject: |
Re: permanent links using #fragment names |
Date: |
Sun, 09 Jan 2022 20:52:14 +0200 |
> Date: Sun, 9 Jan 2022 10:44:27 -0800
> Cc: bug-texinfo@gnu.org
> From: Per Bothner <per@bothner.com>
>
>
>
> 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.
Not sure I understand the "preferred" part. If I go to an anchor
"Outline Search", what will the address bar in the browser show?
Re: permanent links using #fragment names, Eli Zaretskii, 2022/01/09
Re: permanent links using #fragment names, Gavin Smith, 2022/01/09
id names in HTML, Gavin Smith, 2022/01/09