Comment #1 on issue 2694 by [email protected]: Bar engraver bug or wrong description
http://code.google.com/p/lilypond/issues/detail?id=2694

Automatic clefs are triggered by bar lines.  See lily/clef_engraver.cc:
/**
   Generate a clef at the start of a measure. (when you see a Bar,
   ie. a breakpoint)
*/
void
Clef_engraver::acknowledge_bar_line (Grob_info info)
{
  Item *item = info.item ();
  if (item && scm_is_string (get_property ("clefGlyph")))
    create_clef ();
}

so if there are no bar line grobs generated there will be no
clefs either.

I guess the doc string for lily/bar_engraver.cc could be
tweaked a little to mention this.

Trevor



Reply via email to