Wim,
Thank you for the correction. It works with a single movement ( 1mvmt.ly ).
When I add the second movement ( 2mvmt.ly ) an error message appears
relating to the variable "right."
I have tried moving variables of the second movement to different locations.
No success.
Should I enter the notation directly without using variables?
Mark
From: Wim van Dommelen [mailto:[email protected]]
Sent: Thursday, July 25, 2013 10:37 AM
To: Mark Stephen Mrotek
Cc: 'Federico Bruni'; 'lilypond-user Mailinglist'
Subject: Re: header
You placed the \book on top, but it should only encompass the \score
sections and what belonds there, so AFTER the variable definition \left and
\right.
Regards,
Wim.
On 25 Jul 2013, at 19:00 , Mark Stephen Mrotek wrote:
Mr. Bruni,
Thank you for your response and recommendation. It encourages me to request
further assistance from you.
>From the example you suggest, I see this file structure:
\book {
\score {
{ R1 }
\header { }
}
\score {
{ R1 }
\ header { }
}
}
Using this format I wrote a simple code ( Book.ly ) with desired headers. An
error message appears,
"error: syntax error, unexpected STRING right = \relative c'' {."
If I remove the "\book" the file ( NoBook.ly ) compiles accurately.
Where is my error?
Thank you for your kind attention.
Mark
From: Federico Bruni [mailto:[email protected]]
Sent: Wednesday, July 24, 2013 10:51 PM
To: Mark Stephen Mrotek
Cc: lilypond-user Mailinglist
Subject: Re: header
2013/7/25 Mark Stephen Mrotek <[email protected]>
Hello:
A three movement piece has the following in the \header: title, composer,
dedication, and opus.
The "opus" appears at the beginning of the second and third movements. How
can I eliminate them?
Thank you.
If each movement is in a separate \score block and the \header is in the
(implicit?) \book block, you can put this header inside the \score block of
second and third movement:
\header {
opus = ##f
}
Not tested, just an idea taken from the second example here:
http://lilypond.org/doc/v2.17/Documentation/notation/creating-titles-headers
-and-footers
<Book.ly><NoBook.ly>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
\version "2.16.2"
right = \relative c'' {
\clef treble
\key c \major
\time 4/4
a4 b c d
}
left = \relative c {
\clef bass
\key c \major
\time 4/4
a2 c
}
\book {
\header {
title = "Sonata"
composer = "F. J. Haydn"
dedication = "Den Schwestern von Auenbrugger gewidmet"
}
\score {
\new PianoStaff <<
\new Staff = "right" \right
\new Staff = "left" \left
>>
\header { opus = "Hob. XVI:37" }
}
}
\version "2.16.2"
right = \relative c'' {
\clef treble
\key c \major
\time 4/4
a4 b c d
}
left = \relative c {
\clef bass
\key c \major
\time 4/4
a2 c
}
\book {
\header {
title = "Sonata"
composer = "F. J. Haydn"
dedication = "Den Schwestern von Auenbrugger gewidmet"
}
\score {
\new PianoStaff <<
\new Staff = "right" \right
\new Staff = "left" \left
>>
\header { opus = "Hob. XVI:37" }
}
\pageBreak
% second movement
right = \relative c'' {
\clef treble
\key d \major
\time 3/4
a4 b cis
}
left = \relative c {
\clef bass
\key d \major
\time 3/4
a2.
}
\score {
\new PianoStaff <<
\new Staff = "right" \right
\new Staff = "left" \left
>>
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user