---

** [issues:#5488] Proportional spacing bug: chained \noBreaks + 
\newSpacingSection**

**Status:** New
**Created:** Fri Mar 01, 2019 03:01 PM UTC by Palmer Ralph
**Last Updated:** Fri Mar 01, 2019 03:01 PM UTC
**Owner:** nobody
**Attachments:**

- 
[correct-output.png](https://sourceforge.net/p/testlilyissues/issues/5488/attachment/correct-output.png)
 (17.7 kB; image/png)
- 
[no-break-spacing-bug.png](https://sourceforge.net/p/testlilyissues/issues/5488/attachment/no-break-spacing-bug.png)
 (24.1 kB; image/png)


Trevor Bača wrote :

LilyPond incorrectly compresses consecutive, proportionally spaced measures
when the following conditions hold:

1. first measure in the sequence sets \proportionalNotationDuration; and
2. last measure in sequence is followed by \newSpacingSection; and
3. all measures in sequence carry \noBreak commands.

~~~~
%%% BEGIN SPACING BUG %%%

\version "2.19.82"

\layout {
    indent = #0
    ragged-right = ##t
}

\new Staff
\with
{
    \remove Time_signature_engraver
}
{

    \time 2/8
    \set Score.proportionalNotationDuration = #(ly:make-moment 1 32)
    c'4
    ^ \markup \with-color #red "First three measures aren't wide enough"
    \noBreak

    c'4
    \noBreak

    c'4
    \noBreak

    \newSpacingSection
    c'4

    c'4

    c'4

    c'4

    c'4

}

%%% END %%%

Output looks like this:

[image: no-break-spacing-bug.png]

Correct output looks like this:

%%% BEGIN NON-BUG %%%

\version "2.19.82"

\layout {
    indent = #0
    ragged-right = ##t
}

\new Staff
\with
{
    \remove Time_signature_engraver
}
{

    \time 2/8
    \set Score.proportionalNotationDuration = #(ly:make-moment 1 32)
    c'4

    c'4

    c'4

    \newSpacingSection
    c'4

    c'4

    c'4

    c'4

    c'4

}

%%% END %%%

~~~~


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

Reply via email to