bug-lilypond
[Top][All Lists]
Advanced

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

Re: Incorrect example in documentation


From: Thomas Morley
Subject: Re: Incorrect example in documentation
Date: Sun, 24 Jan 2021 11:38:20 +0100

Am Sa., 23. Jan. 2021 um 17:44 Uhr schrieb Nate Whetsell
<nathan.whetsell@gmail.com>:
>
> Hi there,
>
> Thank you for all your work on LilyPond!
>
> The syntax for \revert-ing certain properties appears to have changed after 
> LilyPond 2.18, which makes the “Altering the length of beamed stems” example 
> in the documentation slightly incorrect. At
>
> http://lilypond.org/doc/v2.18/Documentation/snippets/pitches#pitches-altering-the-length-of-beamed-stems
>  
> <http://lilypond.org/doc/v2.18/Documentation/snippets/pitches#pitches-altering-the-length-of-beamed-stems>
>
> note that the last six notes have default length. At
>
> http://lilypond.org/doc/v2.22/Documentation/snippets/pitches#pitches-altering-the-length-of-beamed-stems
>  
> <http://lilypond.org/doc/v2.22/Documentation/snippets/pitches#pitches-altering-the-length-of-beamed-stems>
>
> the stems of the last six notes are still 8.5 staff spaces long. This can be 
> fixed by changing the third-to-last line of the example code to
>
> \revert Stem.details.beamed-lengths
>
> For the sake of completeness, here’s an example that illustrates the issue:
>
> ```
> \version "2.22.0"
> {
>   \override Stem.details.beamed-lengths = #'(10)
>   c'8 8 8 8
>   \revert Stem.details
>   8 8 8 8 % These stems are still too long.
>   \revert Stem.details.beamed-lengths
>   8 8 8 8
> }
> ```
>
> All the best,
> Nate
> _______________________________________________
> bug-lilypond mailing list
> bug-lilypond@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-lilypond

Hi Nate,

thanks for the report.

Said snippet is a doc-tagged LSR-snippet.
While the LSR still runs 2.18.2 the proposed fix will work for this
version and upstream.
Thus I fixed it inside LSR.
http://lsr.di.unimi.it/LSR/Item?id=681
With next LSR-import the corrected version will be present in NR.

Regards,
  Harm



reply via email to

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