Hi everyone,

I am trying to engrave a score in which more than one instrument/voice
appears only later in the piece. I would like to not engrave multiple full
measure rests in the beginning, but at the same time would also like to
engrave the instrument/voice name at the first appearance of the
corresponding staff, much like
https://lists.gnu.org/archive/html/lilypond-user/2025-12/msg00116.html
("Print instrument name of staff whose empty section from the start was
removed with RemoveAllEmptyStave").

I had been using the same approach using \pseudoIndent from
https://wiki.lilypond.community/wiki/Indenting_individual_systems before
with no issues with only one instrument making a late appearance. However I
am facing issues now with more than one occurrence of \pseudoÍndent.

In the attached minimum (?) working example, engraving the instruments in
the desired order produces no indentation and no instrument names for all
but the last occasion of \pseudoIndent. While the example file shows only
two delayed voices, this can be extended to three or four delayed ones,
where also only the last occurrence of \pseudoindent is engraved correctly
and the others all behave like the cello case in the example.

The ouput is completely as expected for all occurrences of \pseudoIndent if
either the order of the staves is reversed or the \RemoveAllEmptyStaves is
omitted (which both defeats the purpose of the score), the MWE shows both
of these cases, as well. I tried both lilypond 2.24.4 and 2.25.31 with
identical results.

Is there a way to get the desired output somehow?

Thanks and best regards,
Heiko

Attachment: pseudoIndent_mwe.ly
Description: application/frescobaldi-ly

Attachment: pseudoIndent_Test.pdf
Description: Adobe PDF document

Reply via email to