Let ottavation accept markup text.
Also allow markup text for part-combine texts.
#include "side-position-interface.hh"
#include "engraver.hh"
#include "spanner.hh"
#include "side-position-interface.hh"
#include "engraver.hh"
#include "spanner.hh"
+#include "text-interface.hh"
#include "item.hh"
class Ottava_spanner_engraver : public Engraver
#include "item.hh"
class Ottava_spanner_engraver : public Engraver
{
finished_ = span_;
span_ = 0;
{
finished_ = span_;
span_ = 0;
- if (scm_is_string (ott))
+ if (Text_interface::is_markup (ott))
{
span_ = make_spanner ("OttavaBracket", SCM_EOL);
span_->set_property ("text", ott);
{
span_ = make_spanner ("OttavaBracket", SCM_EOL);
span_->set_property ("text", ott);
- (aDueText ,string? "Text to print at a unisono passage.")
+ (aDueText ,markup? "Text to print at a unisono passage.")
(alignBelowContext ,string? "Where to insert newly created context in
vertiical alignment.")
(alignAboveContext ,string? "Where to insert newly created context in
(alignBelowContext ,string? "Where to insert newly created context in
vertiical alignment.")
(alignAboveContext ,string? "Where to insert newly created context in
Parameters: A list of note events and a list of tabstring events.")
Parameters: A list of note events and a list of tabstring events.")
- (ottavation ,string? "If set, the text for an ottava spanner.
+ (ottavation ,markup? "If set, the text for an ottava spanner.
Changing this creates a new text spanner.")
(output ,ly:music-output? "The output produced by a score-level
translator during music interpretation.")
Changing this creates a new text spanner.")
(output ,ly:music-output? "The output produced by a score-level
translator during music interpretation.")
(skipTypesetting ,boolean? "If true, no typesetting is done,
speeding up the interpretation phase. Useful for debugging large
scores.")
(skipTypesetting ,boolean? "If true, no typesetting is done,
speeding up the interpretation phase. Useful for debugging large
scores.")
- (soloIIText ,string? "The text for the start of a solo for
+ (soloIIText ,markup? "The text for the start of a solo for
voice @q{two} when part-combining.")
voice @q{two} when part-combining.")
- (soloText ,string? "The text for the start of a solo when
+ (soloText ,markup? "The text for the start of a solo when
part-combining.")
(squashedPosition ,integer? "Vertical position of squashing for
@rinternals{Pitch_squash_engraver}.")
part-combining.")
(squashedPosition ,integer? "Vertical position of squashing for
@rinternals{Pitch_squash_engraver}.")