Unfortunately, lilypond-book is very sensitive to the syntax of the
\begin{lilypond}...\end{lilypond} and does not allow for the extra
spaces you have introduced. Also, you don't have any ending >>.
The following seems to work well:

\documentclass[a4paper,11pt]{article}

\begin{document}

\begin {enumerate}
\item Some text.
\begin{lilypond}
\context PianoStaff <<
\context Staff = "up" {
\clef treble
\time 6/8
s4 g'8 s4 a'8  s4 g'8 s4 a'8
}
\context Staff = "down" {
\clef bass
\time 6/8
c8-- g8 s8  c8-- g8 s8
}
>>
\end{lilypond}
\end {enumerate}
\end{document}


/Mats

J L wrote:
Hi,

I'm using Lilypond 2.2.5 on cygwin, and Lilypond-Book doesn't seem to handle Pianostaves properly. Is this a bug, or an error in my input?

e.g.

---------------------------------------------------------

\documentclass[a4paper,11pt]{article}

\begin{document}

\begin {enumerate}
\item Some text.
\begin {lilypond}
\context PianoStaff <<
\context Staff = "up" {
\clef treble
\time 6/8
s4 g'8 s4 a'8  s4 g'8 s4 a'8
}
\context Staff = "down" {
\clef bass
\time 6/8
c8-- g8 s8  c8-- g8 s8
}
\end {lilypond}
\end {enumerate}
\end{document}

-----------------------------------------------

Aligorith

_________________________________________________________________
Need more speed? Get Xtra JetStream  @ http://xtra.co.nz/jetstream



_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to