Le 11/01/2022 à 23:12, Dan Eble a écrit :
On Jan 11, 2022, at 11:35, Jean Abou Samra <j...@abou-samra.fr> wrote:
(ly:context-find-id context)
(No direction: there cannot be two contexts with the
same ID, can there? I cannot imagine
Allow me:
<<
\new PianoStaff <<
\new Staff = "RH" ...
\new Staff = "LH" ...
>>
\new PianoStaff <<
\new Staff = "RH" ...
\new Staff = "LH" ...
>>
Another example is a user who uses \partCombine in more than one Staff. There
will be multiple Voices with the same ID because they are baked into the
implementation:
#{ \context Staff <<
\context Voice = "one" \with #one-context-settings { #skip }
\context Voice = "two" \with #two-context-settings { #skip }
\context Voice = "shared" \with #shared-context-settings { #skip }
\context Voice = "solo" { #skip }
\context NullVoice = "null" { #skip }
#pc-music
#(make-part-combine-marks
default-part-combine-mark-state-machine split-list)
>> #} ))
Ah, ok. Seems like I misunderstood the whole
concept of having context IDs...
Thanks for correcting me.
Regards,
Jean