/*
- ottova-engraver.cc -- implement Ottava_spanner_engraver
+ ottava-engraver.cc -- implement Ottava_spanner_engraver
source file of the GNU LilyPond music typesetter
(c) 2000--2007 Han-Wen Nienhuys
*/
+#include "text-interface.hh"
#include "protected-scm.hh"
#include "note-column.hh"
#include "side-position-interface.hh"
{
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);
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.")