Greeetings -

I'm running LilyPond 2.12.2 under Ubuntu 9.10 (Karmic Koala).

I'm trying to include a flageolet (for indicating a natural harmonic on a
stringed instrument) in a markup, and I can't figure out how to do it. I'm
including two snippets and the PDF of the one that will run. The snippet
with \flageolet included fails, with an error of "unexpected event
identifier". I would guess that I need a character identifier for the
flageolet, but I can't find it. I've tried including \flageolet in double
quotes, but that just produces \flageolet in the markup.

I appreciate your attention and help,

Ralph

%%%%%%%%%% begin first snippet %%%%%%%%%%5
\version "2.12.2"
%\include "english.ly"

%%%%% THIS DOES NOT WORK %%%%%%%%

Test = {
    \key c \major
    \time 4/4
    \relative c'' {
    c4 f\flageolet e g
    }
}

\score
    {
    \Test
    }

\markup {
  {
    \concat {
      s {
    " = natural harmonic."
      }
    }
  }
}

%{

\markup {
  {
    \concat {
      s\flageolet {
    " = natural harmonic."
      }
    }
  }
}

%}

\markup { \wordwrap-string #"To produce a natural harmonic, merely touch the
finger lightly against the string; do not press the finger down. " } \markup
{ { \concat { "" { " = natural harmonic."  } } } }

\score {
  \Test
}

%%%%%%%%%%%%%%%% end first snippet %%%%%%%%%%%%%

%%%%%%%%%% begin second snippet %%%%%%%%%%

\version "2.12.2"
%\include "english.ly"

%%%%% THIS DOES NOT WORK %%%%%%%%

Test = {
    \key c \major
    \time 4/4
    \relative c'' {
    c4 f\flageolet e g
    }
}

\score
    {
    \Test
    }

\markup {
  {
    \concat {
      s {
    " = natural harmonic."
      }
    }
  }
}

\markup {
  {
    \concat {
      s\flageolet {
    " = natural harmonic."
      }
    }
  }
}

\markup { \wordwrap-string #"To produce a natural harmonic, merely touch the
finger lightly against the string; do not press the finger down. " } \markup
{ { \concat { "" { " = natural harmonic."  } } } }

\score {
  \Test
}

%%%%%%%%% end second snippet %%%%%%%%%%%

-- 
Ralph Palmer
Montague City, MA
USA
[email protected]

Attachment: test2.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to