bug-lilypond
[Top][All Lists]
Advanced

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

Links in snippet repository


From: Alexander Kobel
Subject: Links in snippet repository
Date: Tue, 25 Aug 2009 16:27:20 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Hi,


yesterday I realized that the links in the sidebar of the snippet repository of 2.12 are broken: The topmost categories (Pitches, Rhythms, ...) expand, but the anchors of the single snippets always refer to the top of the page (i.e. http://.../snippets/Pitches#Pitches, e.g.).

Now I recognized that also some of the links of 2.13 are broken: e.g. in the snippet list, section "Editorial annotations", "Analysis brackets above the staff" and the two following snippet entries in the sidebar ("Applying note head styles ...", "Avoiding collisions ...") share the same URL (fine) and anchor (broken).

    
http://lilypond.org/doc/v2.13/input/lsr/lilypond-snippets/Editorial-annotations#Analysis-brackets-above-the-staff
should read:
http://lilypond.org/doc/v2.13/input/lsr/lilypond-snippets/Editorial-annotations#Applying-note-head-styles-depending-on-the-step-of-the-scale
and in line 151 of this file,
    <a name="Analysis-brackets-above-the-staff"></a>
should read:
    <a  name="Applying-note-head-styles-depending-on-the-step-of-the-scale"></a>
(or, even better:)
    <a name="Applying-note-head-styles-depending-on-the-step-of-the-scale" />

Further, for the correctly linked entries, the corresponding <a name="Snippet-name" /> tag appears twice, in addition to a <a name="snippet-name.ly" /> (line 113, 116 in the above file).

(For version 2.12, these anchors (that should be <a name="Snippet-name" />) all look like <a name="Category" /> - so in a sense, the links in the sidebar are correct, but the anchors in the main content are broken.)


The problem also remains in the one-big-page view. I'm not entirely sure, but I suppose the broken links in 2.13 are exactly those which appear in multiple sections, and the first instance is correctly linked, while the second, third, and so on, occurence only has a link to the section.


Cheers,
Alexander




reply via email to

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