Re: Staff Spacing

2015-04-16 Thread Chris Trahan
Hi Kieren,

Thanks. That got rid of the programming errors, however it's still not
working properly. See attached screen shot. I'm now on 2.19.18.

Chris

Lilypond-Break-Problem-2.jpg
http://lilypond.1069038.n5.nabble.com/file/n174610/Lilypond-Break-Problem-2.jpg
  



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Staff-Spacing-tp174177p174610.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-15 Thread Chris Trahan
I've finally been able to cull down the code where I can provide a tiny
example and still get it to fail.

I don't get any errors when I comment out the   

\RemoveEmptyStaves
\override VerticalAxisGroup.remove-first = ##t

in the \layout block.

When I uncomment them, I get 

programming error: could not find this grob's vertical axis group in the
vertical alignment
continuing, cross fingers

Anyone have any idea what's happening?

Thanks,
Chris

Mon_Pere-tiny-example.ly
http://lilypond.1069038.n5.nabble.com/file/n174548/Mon_Pere-tiny-example.ly  



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Staff-Spacing-tp174177p174548.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-15 Thread Chris Trahan
On Wed, Apr 15, 2015 at 3:12 PM, Trevor Daniels t.dani...@treda.co.uk
wrote:


 Chris Trahan wrote Wednesday, April 15, 2015 6:17 PM
 Subject: Re: Staff Spacing


  I've finally been able to cull down the code where I can provide a tiny
  example and still get it to fail.
 ...
  When I uncomment them, I get
 
  programming error: could not find this grob's vertical axis group in the
  vertical alignment
  continuing, cross fingers

 Well, I don't have the edition engraver to hand, so I removed the
 references to it.  I then see the failure in 2.18.0, but not in recent
 development releases, viz 2.19.15 and 2.19.18.  I can't see a recently
 fixed issue that corresponds to this, but it looks like this has already
 been fixed.

 Good time to upgrade?  The 2.19 series are pretty sound.

 Trevor


Thanks Trevor.  I'm seeing the failure without the line breaks too.

I was wondering how stable 2.19 is. I'll try it.

Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-15 Thread Chris Trahan
I still have the problem in version 2.19.18.  I'm attaching another version
of the example using line breaks instead of the edition-engraver commands.

Mon_Pere-tiny-example-2.ly
http://lilypond.1069038.n5.nabble.com/file/n174574/Mon_Pere-tiny-example-2.ly 
 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Staff-Spacing-tp174177p174574.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-14 Thread Chris Trahan
Hi Kieren,

I use bar checks so I'm sure that I don't have anything bleeding outside of
a measure.

The strange thing is the breaks are in the proper places when I comment out
the \removeemptystaves statement but are not applied in places when I
enable that statement.

Do you know how to get in touch with Jan-Peter Voigt?  I'm new to GitHub.
I've been trying to find an email address or a way to send a message but no
luck so far.

Thanks,
Chris

On Mon, Apr 13, 2015 at 10:09 AM, Kieren MacMillan 
kieren_macmil...@sympatico.ca wrote:

 Hi Chris,

  I did get the edition-engraver to work but it seems to have a problem
 with \removeemptystaves. It's not putting the breaks where I've specified.
  Have you experienced this?

 No: unless instructed otherwise, Lily might put in *additional* breaks
 (i.e., where you *haven’t* specified any); but I’ve never had her *not* put
 breaks where I *have* specified them (assuming your note code is correct,
 and doesn’t bleed outside of measures, etc.).

 Cheers,
 Kieren.
 ___

 Kieren MacMillan, composer
 www:  http://www.kierenmacmillan.info
 email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-13 Thread Chris Trahan
Hi Kieren,

I did get the edition-engraver to work but it seems to have a problem with
\removeemptystaves. It's not putting the breaks where I've specified.

Have you experienced this?

Thanks,
Chris


On Thu, Apr 9, 2015 at 9:54 AM, Kieren MacMillan 
kieren_macmil...@sympatico.ca wrote:

 Hi Chris,

  Can you give me an example of how to use the \editionEngraver or show me
 where it is in the documentation?


 https://github.com/openlilylib/openlilylib/tree/master/editorial-tools/edition-engraver

 Hope this helps!
 Kieren.
 ___

 Kieren MacMillan, composer
 www:  http://www.kierenmacmillan.info
 email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-09 Thread Chris Trahan
Kieren,

Thanks. I've never used GitHub. I created an account but don't see how to
download the files. When I right-click and save as, I get the html code.

Chris

On Thu, Apr 9, 2015 at 9:54 AM, Kieren MacMillan 
kieren_macmil...@sympatico.ca wrote:

 Hi Chris,

  Can you give me an example of how to use the \editionEngraver or show me
 where it is in the documentation?


 https://github.com/openlilylib/openlilylib/tree/master/editorial-tools/edition-engraver

 Hope this helps!
 Kieren.
 ___

 Kieren MacMillan, composer
 www:  http://www.kierenmacmillan.info
 email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-08 Thread Chris Trahan
Thanks Abraham.

Chris



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Staff-Spacing-tp174177p174239.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-08 Thread Chris Trahan
Abraham,

While waiting on your reply, I experimented with the system-system-spacing
settings. I got it to work. I had originally tried that setting but must not
have been doing it right.  This also moved all the systems on each page
closer together, reducing the number of pages, which is what I was trying to
do anyway.

\paper {
  system-system-spacing =
  #'((basic-distance . 8)
 (minimum-distance . 6)
  (padding . 2)
  (stretchability . 8))
}

http://lilypond.1069038.n5.nabble.com/file/n174241/Lilypond-Staff-Spacing.jpg 

Thanks,
Chris



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Staff-Spacing-tp174177p174241.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-08 Thread Chris Trahan
Abraham,

I'm beginning to agree with you concerning \break.  I'm finding that manual
line breaks need to be in one staff and one staff only in a system. It seems
to behave better when the line breaks are in the top staff of a system.
Lilypond has done some strange things when I put breaks in other staves,
even if they are at the same point as the break in the top staff. 

I appreciate your help. I'm still in the Lilypond learning curve.

Chris



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Staff-Spacing-tp174177p174243.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Spacing

2015-04-08 Thread Chris Trahan
Abraham,

Here's the file. It's not a tiny example, I'm afraid.

Chris


From: tisimst tisimst.lilyp...@gmail.com
To: lilypond-user@gnu.org
Cc:
Date: Wed, 8 Apr 2015 07:42:36 -0700 (MST)
Subject: Re: Staff Spacing
Chris,

Can you post your code or attach a file so we can see what you've tried?
You can be explicit about the vertical location of the staves, but I
imagine that's not what you want to do.

- Abraham

On Tue, Apr 7, 2015 at 12:33 PM, Chris Trahan [via Lilypond] [hidden email]
http:///user/SendEmail.jtp?type=nodenode=174222i=0 wrote:
I have an SATB score with interludes between verses. I've built the score
in a choir staff group with 4 staves for each vocal range and a 5th staff
for the interlude.  I'm hiding empty staves for the parts that are not
singing. For example, one part is sopranos and altos so the tenor and bass
parts are hidden during that verse.

 The musical interlude staff is built with rests in all verses so only the
music that is played during the interlude shows.

I'm trying to reduce the spacing between the staves in the interlude
sections but nothing seems to be working. See the attached screenshot.

The interlude staff is the last staff in the system. I'm using
staff-staff-spacing to reduce the spacing of the SATB parts.  I've tried
the system-system-spacing in the \paper block setting the basic-distance to
8.

Any suggestions?

Thanks,
Chris
\version 2.18.2
\language english
#(set-default-paper-size letter)

\paper {
  top-margin = 0.75\in
  bottom-margin = 0.75\in
  left-margin = 0.5\in
  right-margin = 0.5\in
  ragged-last-bottom = ##t
}
\header {
  title = Mon Père aussi ma Mère
  poet = Acadienne/Louisianaise
  composer = Chanson traditionelle
  arranger = Arrangement par May Waggoner
  copyright = © 1999 May Waggoner
  revisiondate = 6 Jan 2000
  tagline = \markup {
Engraved at
\simple #(strftime %Y-%m-%d (localtime (current-time)))
with \with-url #http://lilypond.org/;
\line { LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
  }
}

timeSignature = {
  \time 2/4
}

KeyGChords = \chords {
  \repeat volta 2 {
g2 g4 d4 d2
  }
  \alternative {
{ d4:7 g4 }
{ d4:7 g4 g2 }
  }
  \repeat unfold 3 { g2 }
  d4 d4:7 g2 c2 d2:7 g2 g2
}
KeyAChords = \chords {
  \repeat volta 2 {
a2 a4 e4 e2
  }
  \alternative {
{ e4:7 a4 }
{ e4:7 a4 a2 }
  }
  \repeat unfold 3 { a2 }
  e4 e4:7 a2 d2 e2:7 a2 a2
}

ChordSymmbols = {
  \chords {
\set chordChanges = ##t
% Verses 1 - 3, first interlude, Verse 4
\repeat unfold 2 {
  \repeat volta 3 {
\repeat volta 2 {
  g2 g4 d4 d2
}
\alternative {
  { d4:7 g4 }
  { d4:7 g4 g2 }
}
\repeat unfold 3 { g2 }
d4 d4:7 g2 c2 d2:7 g2 g2
  }
}
% Verse 4 - 5, second interlude
\repeat unfold 3 {
  \repeat volta 2 {
a2 a4 e4 e2
  }
  \alternative {
{ e4:7 a4 }
{ e4:7 a4 a2 }
  }
  \repeat unfold 3 { a2 }
  e4 e4:7 a2 d2 e2:7 a2 a2
}
% Verse 6 - 7
\repeat unfold 2 {
  \repeat volta 2 {
g2 g4 d4 d2
  }
  \alternative {
{ d4:7 g4 }
{ d4:7 g4 g2 }
  }
  \repeat unfold 3 { g2 }
  d4 d4:7 g2 c2 d2:7 g2 g2
}
  }
}

VerseOneUnison = {
  \repeat volta 2 {
g4 d8 g | b g a fs | a4 fs8 a |
  }
  \alternative {
{ c8 b g4 |  }
{ c8 b g4~ | g r8 b8 | }
  }
}

% All rests for the length of a verse for spacing.
VerseSpacer = {
  \repeat volta 2 {
\repeat unfold 3 { r2 }
  }
  \alternative {
{ r2 }
{ r2 r2 }
  } \break
  \repeat unfold 9 { r2 }
}

SopranoMusic = {
  \new Staff \relative c'' {
\set Staff.vocalName = Soprano
\set Staff.shortVocalName = S
\new Voice = Soprano {
  \timeSignature
  \clef treble
  \tempo 4 = 120
  \key g \major
  % Verse 1 - 3
  \repeat volta 3 {
\mark \markup { \small { \hspace #40 Male solo first time, tutti on repeat } }
\VerseOneUnison
b8. a16 b8 c | d8. d16 b8 g | d'8. d16 b8 g |
a8. r16 d,4^ | g8 a g fs | e r a4^ | fs8 a c b | g4. r8 | r2 | \break
  }
  % Interlude
  \VerseSpacer \break
  % Verse 4
  \key a \major
  
{
  \voiceOne
  \repeat volta 2 {
cs4 cs8 cs | cs cs d d | d4 d8 d |
  }
  \alternative {
{ fs8 e cs4 | }
{ fs8 e cs4~ | cs r8 cs8 | }
  }
  e8. e16 e8 e | \repeat unfold 2 { cs8. cs16 cs8 cs | }
  d8. r16 d4^ | cs8 cs cs cs | d8. r16 d4^ | b8 b b b | cs8. r16 r4 | R2 \bar .|:-|| \break
}
\new Voice {
  \voiceTwo
  \repeat volta 2{
a4 e8 a | cs a b gs | b4 gs8 b |
  }
  \alternative {
{ d8 cs a4 | }
{ e'8 cs a4~ | a4 r8 cs8 | }
  }
  cs8. b16 cs8 d | e8. e16 cs8 a | e'8. e16 cs8 a |
  b8. r16 e,4 | a8 b a gs | fs8. r16 b4 | gs8 b d cs | a8. r16 r4 | R2

Re: Staff Spacing

2015-04-08 Thread Chris Trahan
Kieren,

Can you give me an example of how to use the \editionEngraver or show me
where it is in the documentation? I searched Learning, Notation, Snippets,
and Internal but I couldn't find it. Is it in version 2.18.2?

Thanks,
Chris

On Wed, Apr 8, 2015 at 2:50 PM, Kieren MacMillan 
kieren_macmil...@sympatico.ca wrote:

 Hi Chris (et al.),

  I'm beginning to agree with you concerning \break.  I'm finding that
 manual
  line breaks need to be in one staff and one staff only in a system.

 The \editionEngraver allows breaks to be set “outside” of any particular
 staff.
 This is the only way I do it now, and I’ll never go back.  =)

 Cheers,
 Kieren.
 ___

 Kieren MacMillan, composer
 www:  http://www.kierenmacmillan.info
 email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Staff Spacing

2015-04-07 Thread Chris Trahan
I have an SATB score with interludes between verses. I've built the score
in a choir staff group with 4 staves for each vocal range and a 5th staff
for the interlude.  I'm hiding empty staves for the parts that are not
singing. For example, one part is sopranos and altos so the tenor and bass
parts are hidden during that verse.

 The musical interlude staff is built with rests in all verses so only the
music that is played during the interlude shows.

I'm trying to reduce the spacing between the staves in the interlude
sections but nothing seems to be working. See the attached screenshot.

The interlude staff is the last staff in the system. I'm using
staff-staff-spacing to reduce the spacing of the SATB parts.  I've tried
the system-system-spacing in the \paper block setting the basic-distance to
8.

Any suggestions?

Thanks,
Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Vertical axis grob error

2015-02-10 Thread Chris Trahan
When I compile a score that I'm working on I'm getting the following errors.

programming error: could not find this grob's vertical axis group in the
vertical alignment
continuing, cross fingers

I can't seem to recreate the problem in a simple example and the source
file is 533 lines long so I don't want to post it here unless it's
necessary.

Can anyone give me an idea of what to look for? I realize that this is very
vague. I'm looking for suggestions of what to look for, if that is possible.

Thanks,
Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Vertical axis grob error

2015-02-10 Thread Chris Trahan
On Tue, Feb 10, 2015 at 5:00 PM, David Nalesnik david.nales...@gmail.com
wrote:



 On Tue, Feb 10, 2015 at 4:30 PM, David Nalesnik david.nales...@gmail.com
 wrote:

 Hi Chris,

 On Tue, Feb 10, 2015 at 3:56 PM, Chris Trahan trahan.ch...@gmail.com
 wrote:

 When I compile a score that I'm working on I'm getting the following
 errors.

 programming error: could not find this grob's vertical axis group in the
 vertical alignment
 continuing, cross fingers

 I can't seem to recreate the problem in a simple example and the source
 file is 533 lines long so I don't want to post it here unless it's
 necessary.


 You might be able to isolate the problem by progressively commenting out
 lines, sections.

 Do you notice something odd in the output?  This could help narrow it
 down.



 You can also google the error message.  For example, I get this:
 http://comments.gmane.org/gmane.comp.gnu.lilypond.general/95341

 (Idea for improving the program: it wouldn't be hard to insert the grob's
 name into error messages of this sort.  That would be very helpful.)

 --David


Hi David,

I've been trying to comment out sections to isolate. I am a programer / sys
admin by trade. Debugging is a way of life for me. :)

Unfortunately, Lilypond does not give a line number or any indication of
where or what is throwing the error.

One thing that I've found is than I an insert a \break and get the messages
to stop.

The 1st three verses of the song are arranged like this. (Not actual score
code, just a structure example.)

\repeat volta 3 {
   \repeat volta 2 {
  c d e f }
\alternative {
  { a b c d }
  { d c b a }
  }
  c d e f g a b c
}

The strange thing is that if I code it this way, the errors go away.

\repeat volta 3 {
   \repeat volta 2 {
  c d e f }
\alternative {
  { a b c d \break }
  { d c b a }
  }
  c d e f g a b c
}

The basic structure of the piece is the \repeat volta 2 { ... }
\alternative { { a b .. } { a b ..} } ... some more music ...

It starts with three verses which is why I have the \repeat 3 { } section
above, then the volta 2 structure is used for each succeeding verse.

Overall layout is 3 verses, interlude, verse, verse, interlude, final
verse. All of this is in an SATB score.  This is why I'm having trouble
isolating the problem.

I appreciate all suggestions.

Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Repeats - Strange behavior??

2015-01-27 Thread Chris Trahan
I have two examples in the following code.

The fist one shows a repeated section starting at measure 4.

The second shows the same code, except that a double bar ends measure 3.
In this case, the repeated section is not correct.

Is this a bug or by design?

\version 2.18.2
\language english

\score {
  \relative c'' {
\repeat unfold 3 {c d e f} \break
\repeat volta 2 {
  s4^Correct Repeat
  \repeat unfold 3 {g a b c}
}
  }
}

\score {
  \relative c'' {
%% When a double bar is added, the repeat is not correct.
\repeat unfold 3 {c d e f} \bar || \break
\repeat volta 2 {
  s4^Not correct
  \repeat unfold 3 {g a b c}
}
  }
}

Thanks,
Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to get lyrics to skip measures?

2015-01-26 Thread Chris Trahan
I'm having a little trouble figuring out how to do this.  I have a score
where verse 1 is sung then there is a whistling interlude then verse two is
sung.

I think that I need to somehow include spacers to skip over the whistle
part but I'm getting errors when I try that.

Here is a short sample code. Would someone give me a clue how to get the
lyrics to skip the Whistle part?

This comes up often in our vocal music. Often there is an interlude before
the next verse is sung.

\version 2.18.2
\language english

melodyVerseOne = {
  \new Staff \relative c'' {
\set Staff.vocalName = Women
\set Staff.shortVocalName = W
\new Voice = Women {
  \time 2/4
  \key c \major
  c^Verse 1 d e f | \break
%%  Lyrics to skip this section
  g^Whistle a b c | \break
%%  Verse two lyrics start here
  c,^Verse 2 d e f
}
  }
}

verseOneLyrics = \lyricmode {
  La la la la
}

verseTwoLyrics = \lyricmode {
  Do re me fa
}

\score {
  
  \melodyVerseOne
  \new Lyrics \lyricsto Women {
\verseOneLyrics
  %% Need to skip the Whistle part
\verseTwoLyrics
  }
  
}

Thanks,
Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to get lyrics to skip measures?

2015-01-26 Thread Chris Trahan
On Mon, Jan 26, 2015 at 4:35 PM, Kieren MacMillan 
kieren_macmil...@sympatico.ca wrote:

 Hi Chris,

  I think that I need to somehow include spacers to skip over the whistle
 part but I'm getting errors when I try that.

 \new Lyrics \lyricsto Women {
 \verseOneLyrics
 \repeat unfold 4 { \skip 8 }
 \verseTwoLyrics
   }

 Hope this helps!
 Kieren.
 ___

 Kieren MacMillan, composer
 www:  http://www.kierenmacmillan.info
 email:  i...@kierenmacmillan.info


Thanks Kieren. That's what I tried in the 1st place but the actual musical
passage is not as simple as my example, so using \skip is very unwieldy.
It's a whole verse.

I did figure it out. I had to create a new voice context for the part that
is to be whistled.   I can then just set the lyrics to the Women voice
context and the lyrics automatically skip the Whistle section.

Here's a snippet of the actual code. It's not complete so it won't compile.
I'm beginning to understand contexts, finally!!!

womenMusic = {

  %% There's other music and code here.

  g8 a bf a | a4 a8 bf | c4 c | bf bf8 r | \break
  g8 a bf a | a4 a8 bf | c4 c | g4 r | \bar || \break

%% This creates the new voice context that will be skipped by setting
%% the women's lyrics to the Women voice context.

  \new Voice = Whistle {
g8\mark All whistle a bf g | a4 a8 bf | c4 c | bf bf8 r8 | \break
g8 a bf g | a4 a8 bf | c4 d | g, r | \bar || \break
  }

%% This reverts back to the original context.

  \oneVoice

%% And the rest of the piece follows.

  \key g \major
  g8^Women a b g | a4 a8 b | c4 c | b bf8 r8 | \break

%% The rest of the music is here.
}
  }
}

Now my score block is:

\score {
  \new ChoirStaff
  
\womenMusic
\new Lyrics
\lyricsto Women {
  \set stanza = #1.
  \womenLyricOneTwo  % The same lyrics are used for V 1  2.
  \set stanza = #2.
  \womenLyricOneTwo
}
\menMusic
\new Lyrics \lyricsto Men {
  \set stanza = #2.
  \menLyricTwo
}
  
}

Thanks,
Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Page Headers

2015-01-14 Thread Chris Trahan
On Wed, Jan 14, 2015 at 2:45 AM, Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com wrote:

 Hi Chris,

 Do you mean that you modifed titling-init.ly ?
 If yes, I don't think it is a good idea...

 How about :

 \version 2.18.2

 \paper {
   oddHeaderMarkup = \markup\on-the-fly #not-part-first-page
 \fill-line {
   \null
   \fromproperty #'header:title
   \on-the-fly \print-page-number-check-first
 \fromproperty #'page:page-number-string
 }
   evenHeaderMarkup = \markup\on-the-fly #not-part-first-page
   \fill-line {
 \on-the-fly \print-page-number-check-first
 \fromproperty #'page:page-number-string
 \fromproperty #'header:title
 \null
   }
 }

 \header {
   title = My Title
 }

 {
   \repeat unfold 50 { s1*4 \break }
   \bar |.
 }

 HTH,
 Pierre

 2015-01-14 0:33 GMT+01:00 Chris Trahan trahan.ch...@gmail.com:

 I figured it out. I went into the ly/titling-init.ly file and changed
 this
 line

 \on-the-fly #not-part-first-page \fromproperty #'header:instrument

 to this line

 \on-the-fly #not-part-first-page \fromproperty #'header:title

 in both the oddHeaderMarkup variable and the evenHeaderMarkup variable.

 Chris



 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/Page-Headers-tp170410p170429.html
 Sent from the User mailing list archive at Nabble.com.

 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user



Pierre,

Yes, that is what I modified. I know that I will need to modify it again
when there is an upgrade to a new version.l I am a computer programmer by
trade.

I will always want the title printed starting on page 2 so I didn't want to
have to put the code that you specified in each score that I do.

I do not need the instrument name printed. I could have also assigned the
title to the instrument variable but preferred to have the title
automatically printed in the header.

Thanks,
Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Page Headers

2015-01-13 Thread Chris Trahan
I would like to put the title of a score as a page header starting on page
2. This would be on the same line as the page number and could be on the
opposite side from the page number or centered on the page.

I can't find out how to do this. I've searched the learning, notation,
snippets, etc.

I find a reference to oddHeaderMarkup and evenHeaderMarkup but no
description of how to use these variables.

Thanks,
Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Page Headers

2015-01-13 Thread Chris Trahan
Abraham,

Yes, I have. The example is not very clear and it's only one example.

Chris



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Page-Headers-tp170410p170428.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Page Headers

2015-01-13 Thread Chris Trahan
I figured it out. I went into the ly/titling-init.ly file and changed this
line

\on-the-fly #not-part-first-page \fromproperty #'header:instrument

to this line

\on-the-fly #not-part-first-page \fromproperty #'header:title

in both the oddHeaderMarkup variable and the evenHeaderMarkup variable.

Chris



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Page-Headers-tp170410p170429.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff error

2014-12-31 Thread Chris Trahan
Hey Phil,

That's what I did. l had tried that once before but without any luck. The
score is a bit complex. Starts off with 4 part SATB then interlude then S
S1 A then T T1 B then interlude then finishes in SATB.

I had to work with each part to get it all lined up properly but finally
got it done. The only thing that I have to finish is the guitar chords.

Chris


On Wed, Dec 31, 2014 at 11:11 AM, Phil Holmes m...@philholmes.net wrote:

 Chris,

 I think this would work better if you gave each musician their full
 measure rests when they are not singing/playing and then let Lily remove
 them when they are not needed.  Something like:

 \score {
 
 \new Staff { \relative c'' { R1 R1 c4 d e f f e d c R1 R1 } }
 \new ChoirStaff
 
 \new Staff {
 \relative c'' { c4 d e f f e d c \break R1 R1 \break c4 d e f f e d c }
 }
 \new Staff {
 \relative c'' { g4 a b c c b a g R1 R1 g4 a b c c b a g }
 }



  \layout {
 \context {
 \Staff \RemoveEmptyStaves
 \override VerticalAxisGroup.remove-first = ##t}
 }
 }

 --
 Phil Holmes


 - Original Message - From: Chris Trahan
 To: LilyPond User Group
 Sent: Tuesday, December 30, 2014 5:17 PM
 Subject: Staff error




 I'm trying to write a choral score that has parts, then an interlude, then
 more parts, etc.

 When I code it like the following, I get what I'm looking for.

 \version 2.18.2
 \language english

 % Verse 1
 \new ChoirStaff
 
  \new Staff {
\relative c'' { c d e f }
  }
  \new Staff {
\relative c'' { g a b c }
  }


  % Interlude
 \new Staff {
  \relative c'' { c d e f }
 }
 % Verse 2
 \new ChoirStaff
 
  \new Staff {
\relative c { \clef bass d e f g }
  }
  \new Staff {
\relative c { \clef bass a b c d }
  }




 When I enclose the code in a \score block, I get an unexpected \new error
 on
 line 17. What am I missing?

 \version 2.18.2
 \language english

 \score {
  % Verse 1
  \new ChoirStaff
  
\new Staff {
  \relative c'' { c d e f }
}
\new Staff {
  \relative c'' { g a b c }
}
  
  % Interlude
  \new Staff {
\relative c'' { c d e f }
  }
  % Verse 2
  \new ChoirStaff
  
\new Staff {
  \relative c { \clef bass d e f g }
}
\new Staff {
  \relative c { \clef bass a b c d }
}
  
 }

 Thanks,
 Chris







 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Staff error

2014-12-30 Thread Chris Trahan
I'm trying to write a choral score that has parts, then an interlude, then
more parts, etc.

When I code it like the following, I get what I'm looking for.

\version 2.18.2
\language english

% Verse 1
\new ChoirStaff

  \new Staff {
\relative c'' { c d e f }
  }
  \new Staff {
\relative c'' { g a b c }
  }

% Interlude
\new Staff {
  \relative c'' { c d e f }
}
% Verse 2
\new ChoirStaff

  \new Staff {
\relative c { \clef bass d e f g }
  }
  \new Staff {
\relative c { \clef bass a b c d }
  }



When I enclose the code in a \score block, I get an unexpected \new error on
line 17. What am I missing?

\version 2.18.2
\language english

\score {
  % Verse 1
  \new ChoirStaff
  
\new Staff {
  \relative c'' { c d e f }
}
\new Staff {
  \relative c'' { g a b c }
}
  
  % Interlude
  \new Staff {
\relative c'' { c d e f }
  }
  % Verse 2
  \new ChoirStaff
  
\new Staff {
  \relative c { \clef bass d e f g }
}
\new Staff {
  \relative c { \clef bass a b c d }
}
  
}

Thanks,
Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Single Staff Spacing

2014-11-06 Thread Chris Trahan
I'm new to Lilypond. I have a simple score that is short. It's a single
staff score. I'm trying to increase the spacing between staves but nothing
I try is working.  How do I increase the space between the staves?

A short example is:

\version 2.18.2

\new Staff {

 \relative c'' {

  \key g \major

   \time 3/4

   \autoBeamOff

   \partial 4

   c8 d | e2.~ | e2 g,8 b | d4 d b | a8( g)~ g2~ | \break

   g4 e'8 e4 e8 | d2.~| d8 d, a'4 a | g2.~ | g8 c c4 d | e2.~ |

 }

}


Thank,

Chris Trahan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Single Staff Spacing

2014-11-06 Thread Chris Trahan
Thanks to  David Nalesnik and Jim Long for helping.

I figured that the spacing had to go in the \paper section but I couldn't
figure out what parameters to adjust.

Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Footnote Question

2014-08-07 Thread Chris Trahan
Hi,

I would like to put a revision date at the bottom right of the 1st page on
the same line with the copyright notice. The only two header fields that I
see in the manual are tagline and copyright.

Is there a way that I can do this? I like to have a revision date as we're
working on a score so that everyone in the group knows that they're looking
at the correct version.

Thanks,
Chris Trahan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Footnote Question

2014-08-07 Thread Chris Trahan
On Thu, Aug 7, 2014 at 11:42 AM, Samuel Speer samuelsp...@gmail.com wrote:

 On Thu, Aug 7, 2014 at 10:31 AM, Chris Trahan trahan.ch...@gmail.com
 wrote:


 On Thu, Aug 7, 2014 at 11:05 AM, Samuel Speer samuelsp...@gmail.com
 wrote:

 You could copy the default footer and add [\fromproperty
 #'header:revisiondate] to the [\on-the-fly \first-page] section. Then, in
 your header section you could put [revisiondate = 6 August 2014].


 Samuel,

 Where would I copy it from and where would I put it?

 Thanks,
 Chris



 Sorry, I should have been more specific.

 The default values come from titling-init.ly, in my copy (2.18.2) this is
 what I find:

 oddFooterMarkup = \markup {
   \column {
 \fill-line {
   %% Copyright header field only on first page in each bookpart.
   \on-the-fly #part-first-page \fromproperty #'header:copyright
 }
 \fill-line {
   %% Tagline header field only on last page in the book.
   \on-the-fly #last-page \fromproperty #'header:tagline
 }
   }
 }


 So, to achieve what you were describing I would put the following code in
 the \paper block:

 oddFooterMarkup = \markup {
   \column {
 \fill-line { \on-the-fly #part-first-page \fromproperty
 #'header:copyright }
 \fill-line { \on-the-fly #part-first-page \fromproperty
 #'header:revisiondate }
 \fill-line { \on-the-fly #last-page \fromproperty #'header:tagline }
   }
 }

 Then, in the \header block, I would have to define the revisiondate
 variable:

 revisiondate = 6 August 2014

 HTH, Samuel.


Thanks Samuel. I'll try that.

Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Footnote Question

2014-08-07 Thread Chris Trahan
On Thu, Aug 7, 2014 at 11:45 AM, Chris Trahan trahan.ch...@gmail.com
wrote:



 On Thu, Aug 7, 2014 at 11:42 AM, Samuel Speer samuelsp...@gmail.com
 wrote:

 On Thu, Aug 7, 2014 at 10:31 AM, Chris Trahan trahan.ch...@gmail.com
 wrote:


 On Thu, Aug 7, 2014 at 11:05 AM, Samuel Speer samuelsp...@gmail.com
 wrote:

 You could copy the default footer and add [\fromproperty
 #'header:revisiondate] to the [\on-the-fly \first-page] section. Then, in
 your header section you could put [revisiondate = 6 August 2014].


 Samuel,

 Where would I copy it from and where would I put it?

 Thanks,
 Chris



 Sorry, I should have been more specific.

 The default values come from titling-init.ly, in my copy (2.18.2) this
 is what I find:

 oddFooterMarkup = \markup {
   \column {
 \fill-line {
   %% Copyright header field only on first page in each bookpart.
   \on-the-fly #part-first-page \fromproperty #'header:copyright
 }
 \fill-line {
   %% Tagline header field only on last page in the book.
   \on-the-fly #last-page \fromproperty #'header:tagline
 }
   }
 }


 So, to achieve what you were describing I would put the following code in
 the \paper block:

 oddFooterMarkup = \markup {
   \column {
 \fill-line { \on-the-fly #part-first-page \fromproperty
 #'header:copyright }
 \fill-line { \on-the-fly #part-first-page \fromproperty
 #'header:revisiondate }
 \fill-line { \on-the-fly #last-page \fromproperty #'header:tagline }
   }
 }

 Then, in the \header block, I would have to define the revisiondate
 variable:

 revisiondate = 6 August 2014

 HTH, Samuel.


 Thanks Samuel. I'll try that.

 Chris


Samuel,

I found that this also works. I was able to put all three parts, left,
center, and right on one fill-line.

oddFooterMarkup = \markup {
  \column {
\fill-line {
  %% Copyright header field only on first page in each bookpart.
  \on-the-fly #part-first-page   \fromproperty #'header:copyright
\fromproperty #'header:revisiondate
}
\fill-line {
  %% Tagline header field only on last page in the book.
  \on-the-fly #last-page \fromproperty #'header:tagline
}
  }
}

I like this because I'll often use the revision date. It's nice to have it
as a header field. I'll just have to remember to check it when there's an
update to LilyPond.

Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Increasing Space Between Arranger and 1st Staff

2014-08-07 Thread Chris Trahan
How can I increase the space between the arranger field and the 1st staff?

My score is using a ChoirStaff group.

I've tried putting score-markup-spacing and/or markup-system-spacing in the
\paper section but nothings working.

I've been reading the manuals and am at a loss on how to do this.

Thanks,
Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Increasing Space Between Arranger and 1st Staff

2014-08-07 Thread Chris Trahan
Thanks Samuel. That did the trick!

Chris


On Thu, Aug 7, 2014 at 1:05 PM, Samuel Speer samuelsp...@gmail.com wrote:

 markup-system-spacing is an alist.
 Try using

 markup-system-spacing #'padding = #3


 On Thu, Aug 7, 2014 at 12:00 PM, Chris Trahan trahan.ch...@gmail.com
 wrote:

 How can I increase the space between the arranger field and the 1st staff?

 My score is using a ChoirStaff group.

 I've tried putting score-markup-spacing and/or markup-system-spacing in
 the \paper section but nothings working.

 I've been reading the manuals and am at a loss on how to do this.

 Thanks,
 Chris


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user