From bc2261341db22e8a619959109e922cc85ffbdc2b Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sun, 12 Sep 2004 17:05:15 +0000 Subject: [PATCH] * scm/page-layout.scm (ly:optimal-page-breaks): use new parameters to get sane spaces for titles. * lily/parser.yy: change mode changing commands to XXXmode, eg. drummode. (mode_changing_head): group mode changes. (mode_changing_head_with_context): new commands: create context as well as change mode. * scm/page-layout.scm (ly:optimal-page-breaks): add betweensystempadding also to fixed distance for the spring. --- Documentation/user/cheatsheet.itely | 2 +- lily/parser.yy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/user/cheatsheet.itely b/Documentation/user/cheatsheet.itely index 6b92acf663..d5a0c86bdb 100644 --- a/Documentation/user/cheatsheet.itely +++ b/Documentation/user/cheatsheet.itely @@ -258,7 +258,7 @@ twinkle @tab printing chord names @tab @lilypond[fragment,relative=2] -\context ChordNames \chordmode { c:dim f:maj7 } +\chords { c:dim f:maj7 } @end lilypond @item @code{<<@{e f@} \\@{c d@}>>} diff --git a/lily/parser.yy b/lily/parser.yy index a69ba4b345..1ffdfa5f35 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -1092,7 +1092,7 @@ Prefix_composite_music: scm_gc_unprotect_object (p->self_scm ()); } | mode_changing_head Grouped_music_list { - if ($1 == ly_symbol2scm ("figures")) + if ($1 == ly_symbol2scm ("chords")) { Music *chm = MY_MAKE_MUSIC ("UntransposableMusic"); chm->set_property ("element", $2->self_scm ()); -- 2.39.5