[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \incipit sometimes returns programming error
From: |
Jean Abou Samra |
Subject: |
Re: \incipit sometimes returns programming error |
Date: |
Thu, 26 May 2022 17:36:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
Le 26/05/2022 à 17:12, Thomas Morley a écrit :
Hi,
consider:
\score {
\new Staff \with { instrumentName = "" } { \incipit { c'1. } R1 }
\layout {
indent = 5\cm
incipit-width = 3\cm
}
}
with recent versions it returns:
programming error: Loose column does not have right side to attach to.
First bad comit is:
commit 8ae26d8330c603d249fec5953a887de9fbcbe31c
Author: Dan Eble <nine.fierce.ballads@gmail.com>
Date: Thu Mar 10 20:08:31 2022 -0500
Refactor BarLine engraving
[...]
Dan?
The example above can be fixed by inserting an explicit \bar "" at end
of incipit-music.
Cheers,
Harm
That looks like an old bug uncovered to me. \incipit
uses a MensuralStaff, and indeed I can reproduce it
with
\version "2.23.10"
\new MensuralStaff {
c'1.
}
The definition of MensuralStaff contains measureBarType = "",
and this also triggers the bug:
\version "2.23.10"
\new Staff \with {
measureBarType = ""
} {
c'1.
}
which is an instance of our old
https://gitlab.com/lilypond/lilypond/-/issues/4084
I can't tell why the commit "Refactor BarLine engraving" had that
effect (and I'm not investigating). Dan, any thoughts? Should
MensuralStaff simply be changed to have measureBarType = ##f
(instead of "")?
Jean