Measure number collision

2007-04-21 Thread Jason Merrill

I'm having a problem with the measure numbers colliding with the staff
tie (not sure of the correct name for the thing that ties two staffs
together).  I'm running OS X 10.4 .  Below is a fairly minimal example
that produces the problem for me.  If others find the code doesn't
create the problem for them, I'll pass along a PDF.

I'm sure there must be a way to move those numbers around manually,
but I haven't looked that hard for it yet.  This seems like a simple
enough case that lilypond should just do the Right Thing, so I have a
feeling I must be making some kind of stupid error in the layout of
the document.  I think it follows rather closely the 4 voice template.




\version "2.10.20"

tenorOne = \relative c'' {
 c4 c c c
 c c c c
 c c c c
 c c c c
 c c c c
 c c c c
 c c c c
 c c c c
 c c c c
 c c c c
 c c c c
}

tenorTwo = \relative c'' {
 a4 a a a
 a a a a
 a a a a
 a a a a
 a a a a
 a a a a
 a a a a
 a a a a
 a a a a
 a a a a
 a a a a

}

baritone = \relative c {
 f4 f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
}

bass = \relative c {
 f,4 f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
 f f f f
}



\score{
 \new ChoirStaff <<
 \new Staff = tenors <<
   \new Voice = "one" { \voiceOne << \tenorOne >> }
   \new Voice = "two" { \voiceTwo << \tenorTwo >> }
 >>
 \new Staff = basses <<
   \clef bass
   \new Voice = "three" { \voiceOne << \baritone >> }
   \new Voice = "four"{ \voiceTwo << \bass >> }
 >>

 >>
  \layout { }
}

Regards,

Jason Merrill


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


LYEDITOR on OS X

2007-04-21 Thread Jason Merrill

I'm interested in trying out TextMate as an editor for Lilypond.
Right now, support seems a little thin, but allegedly it's pretty easy
to extend.  Anyway, I can't figure out how to get point-and-click to
open files in textmate instead of lilypad.  In my .profile, I added:

export LYEDITOR=mate #-a -l %(line)s %(file)s

and it seems it's successfully set the value in my shell:

jm843$ echo $LYEDITOR
mate

However, PDF links still open lilypad.  My guess is that since
lilypond isn't invoked from the shell, it's not getting the value from
my .profile correctly, but I don't know what to do about it.  Any
suggestions?

Regards,

Jason Merrill


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


Re: Post Install Bug

2007-04-21 Thread stk

This probably doesn't answer your question, because I don't know whether
you wrote this line or the system did:

   /usr/local//lilypond/usr/bin/lilypond

but there are 2 slashes ("//") after local, and there should be just one,
or else maybe there should be a  bin  between the slashes --

   /usr/local/bin/lilypond/usr/bin/lilypond

-- Tom

*

Gregg Mazel wrote:

Error:
/usr/local/bin/lilypond: line 4:
/usr/local//lilypond/usr/bin/lilypond: No
suchfile or directory
/usr/local/bin/lilypond: line 4: exec:
/usr/local//lilypond/usr/bin/lilypond:
cannot execute: No such file or directory

???

Any ideas what may be happening here? I am using RHEL WS 4
Thanks,
Gregg



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


Varying shape note heads varying by semitone

2007-04-21 Thread Kevin Dalley
As another step toward in my path toward varying notation in LilyPond,
I am varying note shapes by semitone.  Usually, there are fewer than
12 note heads, but the semitone of the note determine the shape.

My current implementation uses a function shapeLayoutFunction which
returns an integer, which is an index into the vector
shapeNoteStyles.  This seems to work.  The function description is:

  Function returning an integer which indexes into
  shapeNoteStyles vector. It takes an argument of
  pitch and tonic.

Altnernatively, I could define a function which return a note head
shape.  Does anyone see a good reason to prefer one to the other.


The first option has an advantage of using a small function like this:

#(define (shapeSemitone pitch tonic)
  (modulo (ly:pitch-semitones pitch) 12))

plus an already standard vector.

The second option has an advantage of everything being included in one
variable, but the disadvantage of requiring slightly more complicated
functions.

For examples, see Twinline or kevin in this page:

http://www.kelphead.org/chromatic/scales.html



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


Re: keeping rendered pdf file size down

2007-04-21 Thread yota moteuchi

you could try to remove the point-n-click information

http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Point-and-click

Yota

On 21 Apr 2007 11:04:18 -0700, Kieran Coulter <[EMAIL PROTECTED]>
wrote:


Hello,

I first want to thanks Mats for the help with the Chopin Ballade.

My next question is how to keep the rendered pdf size down to the same
amount of KB the included pdf's usually end up having. For example, the
included Bach Partita No.2 Sinfonia letter pdf file size is 238KB, but
when I render the .ly to check version compatibility, the output pdf file is
921KB. What is necessary to ensure the smallest file output size possible?

Thanks!

Kieran






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


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


keeping rendered pdf file size down

2007-04-21 Thread Kieran Coulter
Hello,I first want to thanks Mats for the help with the Chopin Ballade.My next question is how to keep the rendered pdf size down to the same amount of KB the included pdf's usually end up having. For example, the included Bach Partita No.2 Sinfonia letter pdf file size is 238KB, but when I render the .ly to check version compatibility, the output pdf file is 921KB. What is necessary to ensure the smallest file output size possible? Thanks!Kieran___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: beginning-of-measure padding value?

2007-04-21 Thread Kieren MacMillan

Hi, Mats --


This is a typical situation where you want to use
\override Score.SpacingSpanner #'average-spacing-wishes = ##f


Thanks for that tip -- I'm finally "getting it" with regard to  
"average-spacing-wishes".


However, that doesn't fix the fact that Lilypond's spacing is  
generally too close at the beginning of measures.


For example, here's a snippet which has no key signature, but  
exhibits serious spacing problems in every bar, regardless of whether  
a time or key signature is present:


\version "2.11.11"
\include "english.ly"

\paper
{
ragged-right = ##t
}

theMusic = \relative
{
\time 4/4
1\arpeggio
2.\arpeggio 4\arpeggio
af'8. af16 a4 a2
\time 3/8 aff8. af16 a8
}

\score
{
\theMusic
}


Until about 2.9, I felt like each version of LIlypond required  
progressively less tweaking on my part to produce good-looking scores.

Since 2.9, it seems like it's required *more* work on my part.  =(

Cheers,
Kieren.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Piano Hook for the other Hand

2007-04-21 Thread Klaus Muth
Hi
Don't know, how this thing is called. I don't know, if it has a name at 
all...
I'm searching how to do this hook, which says: "Play this part of the 
cord just with the other hand". It's just a small horizontal bar with a 
stem up or down.

How is this thing called and how do I set it with LP?

Thanks,
klaus
-- 
Klaus Muth  privat [EMAIL PROTECTED]
   geschaeftlich [EMAIL PROTECTED]
--
  http://www.hampft.de



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


Re: vertical spacing

2007-04-21 Thread David Bobroff
I seem to have partially answered my own question.  I tried using the
example in the docs regarding two-pass vertical spacing and it *did*
make a noticeable differenceon most of the pages.  On pages where
the score was especially sparse the staves were set closer together,
disrupting the pattern.  How can this be fixed?

Also, in the example of the two-pass method there is the line:

\includePageLayoutFile

Is this to be taken literally?  I see that there was a generated file by
the name of "score-page-layout.ly".  Should I be using:

\include "score-page-layout.ly"?

David Bobroff wrote:
> I'm working on the final touches to a score.  It's fairly large.  There
> are 28 staves.  There is one place where the score expands vertically
> due to the "vertical density" of notes.  I've been experimenting with
> different font sizes to be sure that the score does not stretch off the
> bottom of the page at this point.  Now, having found that size I would
> like to stretch the vertical spacing on the rest of the pages to match
> this spacing.  Is that what the two-pass vertical spacing thing does?
> 
> Also, my target paper size is B4.  I can print it on A4 myself and blow
> it up to B4 (I have access to B4 paper at work) or I can have it printed
> on A3 at a digital print shop and reduce it to B4.  My impression is
> that reducing will produce better, i.e. sharper, results than expanding.
> 
> -David
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 



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