2004-05-07 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scm/bass-figure.scm (format-bass-figure): don't set
+ number-markup for strings. This fixes string in bass
+ figure. (backportme)
+
+ * lily/parser.yy (bass_number): insert number-markup into figure
+ definition.
+
+ * scm/define-music-properties.scm (all-music-properties): make
+ 'figure a markup.
+
* scripts/convert-ly.py (conv): \apply -> \applymusic
2004-05-06 Kristof Bastiaensen <kristof.bastiaensen@vleeuwen.org>
the special @code{\figures @{ @}} mode, which allows you to type
numbers, like @code{<4 6+>}.
-You can also type letters by entering quoted strings.
+You can also type letters by entering quoted strings, which is shown in the
+last bass figure.
+
" }
\score { \notes <<
<3+ 5- 7!>
<3 _! 5 _- 7>
<3 _ 5 _ 7>
-\override FiguredBass.BassFigure #'font-family = #'roman
<"V7" ["bla" 6] 7>
+
}
}
bass_number:
DIGIT {
$$ = scm_number_to_string (scm_int2num ($1), scm_int2num (10));
+ $$ = scm_list_2 (ly_scheme_function ("number-markup"),
+ $$);
}
| UNSIGNED {
$$ = scm_number_to_string (scm_int2num ($1), scm_int2num (10));
+ $$ = scm_list_2 (ly_scheme_function ("number-markup"),
+ $$);
}
| STRING { $$ = $1; }
;
(acc (ly:music-property fig-music 'alteration))
(acc-markup #f)
(fig-markup
- (if (string? fig)
- (make-number-markup (make-simple-markup fig))
+ (if (markup? fig)
+ fig
(if align-accs (make-simple-markup " ")
(if (not (eq? acc '()))
(make-simple-markup "")
"Change to what kind of state? Options are
solo1, solo2 and unisono")
- (figure ,string? "a `figure' (which may be
+ (figure ,markup? "a `figure' (which may be
a string) for figured bass")
(alteration ,number? "alteration for figured bass")
(bracket-start ,boolean? "start a bracket