2003-06-30 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * scm/new-markup.scm (brew-new-markup-molecule): bugfix
+
* python/lilylib.py (make_ps_images): bugfixes.
* input/regression/volta-multi-staff.ly: new file.
@code{@{ .. @}}), and combing those simultaneously, separating the
voices with @code{\\}:
-@lilypond[verbatim,relative]
- < { a4 g2 f4-~ f4 } \\
+@example
+ < @{ a4 g2 f4-~ f4 @} \\
+ @{ r4 g4 f2 f4 @} >
+@end example
+@lilypond[relative]
+\context Staff < { a4 g2 f4-~ f4 } \\
{ r4 g4 f2 f4 } >
@end lilypond
The notation @code{< .. >} is a shorthand for @code{\simultaneous @{
For polyphonic typesetting spacer rests can also be convenient: these
are rests that do not print. It is useful for filling up voices that
temporarily do not play:
-@lilypond[verbatim,relative]
+@example
+ < @{ a4 g2 f4-~ f4 @} \\
+ @{ s4 g4 f2 f4 @} >
+@end example
+@lilypond[relative]
< { a4 g2 f4-~ f4 } \\
{ s4 g4 f2 f4 } >
@end lilypond
\context PianoStaff < \context Staff @dots{} >
@end example
-Here is a complete-fledged example:
+Here is a full-fledged example:
+
@lilypond[relative 0,fragment]
\context PianoStaff
< \context Staff = up {
(define-public (brew-new-markup-molecule grob)
(let*
- ((t (ly:get-grob-property grob 'text)))
+ ((t (ly:get-grob-property grob 'text))
+ (chain (Font_interface::get_property_alist_chain grob)))
(if (markup? t)
- (interpret-markup grob
- (Font_interface::get_property_alist_chain grob)
- t
- )
- (Text_item::text_to_molecule t)
+ (interpret-markup grob chain t)
+ (Text_item::text_to_molecule grob t chain)
)))
(define-public empty-markup (make-simple-markup ""))