[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bad number of pages (?!) Error
From: |
Cameron Horsburgh |
Subject: |
Re: Bad number of pages (?!) Error |
Date: |
Mon, 12 Feb 2007 07:12:06 +1100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sun, Feb 11, 2007 at 05:47:13PM +0000, Marc Dimmick wrote:
> Hi!
>
> I am using lilypond 2.10.14 on a windows XP SP2. I have been doing little
> exercises to learn the Lilypong syntax.
>
> When I use to example below, lilypon creates the report copied in the bottowm
> and the generates a "Lilypond has found en error and must close" message,
> with
> the option to send the report.
>
> I hope that someone can tell me what I am doing wrong. I am really confused.
> Could it also be that some application has been corrupted?
>
> Thanks in advance,
>
> Marc.
>
> % little piano score 2007/01/31
>
> \version "2.10.14"
>
> \header {
> title = "Piano Score"
> }
>
> \score {
> \new PianoStaff <<
> \set PianoStaff.instrumentName = "Piano "
> \new Staff = "upper" \clef treble \key c \major \time 4/4 {
> c''2 d''4 bes4 }
> \new Staff = "lower" \clef bass \key c \major \time 4/4 { c4 f2
> g4 }
> >>
> \layout { }
> }
You have the braces around your music in the wrong place. The \clef,
key etc are all part of the music expressions. Try this:
% little piano score 2007/01/31 %Fixed, but untested:
\version "2.10.14"
\header {
title = "Piano Score"
}
\score {
\new PianoStaff <<
\set PianoStaff.instrumentName = "Piano "
\new Staff = "upper" {\clef treble \key c \major \time 4/4 c''2 d''4 bes4 }
\new Staff = "lower" {\clef bass \key c \major \time 4/4 c4 f2 g4 }
>>
\layout { }
}
--
=============================================
Cameron Horsburgh
=============================================