I'm using the current 2.12.2 version of lilypond. The attached file
yields,
programming error: vertical alignment called before line-breaking
and no lines on the staff.
If I remove the \bar "|." the output is correct.
\version "2.12.2"
recscore= \context StaffGroup <<
\context RhythmicStaff = "tambour" {
\override NoteHead #'style = #'cross
\stemUp
f4 f8 f8
}
\context Staff = "recA" {
\clef "G^8"
a''2
\bar "|."
}
>>
\score {
\recscore
\layout {
\context{ \RhythmicStaff
\remove "Time_signature_engraver"
\remove "Staff_symbol_engraver"
\remove "Clef_engraver"
% \remove "Bar_engraver"
\consists "Instrument_name_engraver"
\override BarLine #'transparent = ##t
}
\context{ \Staff
\remove "Time_signature_engraver"
}
}
}