I have a multi-measure rest at the end of a piece, and I cannot get a final "|." barline to print. The regular single barline is used instead.
Minimal example:
\score {
\new Staff <<
\compressFullBarRests
R1*62
\bar "|."
>>
}
I'm using version 2.16; the problem exists with 2.17 as well.
This doesn't have anything to do with multi-measure rests. It doesn't work because you had used
<< >>
(which indicate simultaneous music) instead of{ }
(which indicate sequential music). With<< >>
, all three commands (\compressFullBarRests
,R1*62
and\bar "|."
) are processed simultaneously, which means that\bar "|."
takes place at moment 0 (at the very beginning of music), not after rests. This will work: