Re: lyrics running wider than the staff

2006-07-24 Thread Graham Percival

Michael Haynie wrote:
Since I've moved to 2.8 from 2.2, I've been having trouble with the 
lyrics -- the last word (syllable) of the last measure of a line 
frequently runs out into the right margin.  At best, it's ugly.  At the 
worst, the word is cut off when I print.  I've searched the docs and the 
archives, but I can't seem to guess the right keywords.


Please read section 7.3 in the docs for 2.8, specifically the commonly 
tweaked properties.


- Graham


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


Re: Tie/slur bug in 2.9.11?

2006-07-24 Thread Nicolas Sceaux
John Wiedenhoeft [EMAIL PROTECTED] writes:

 When I try the following:

 \version 2.9.11

 erga = {\once \override NoteHead #'style = #'diamond a}
 para = { \parenthesize a}

 {
 a ~ \erga ~ \erga 
 a( \erga) \erga( a)
 a ~ \para ~ \para 
 a( \para) \para( a)
 }

 I get:

 GNU LilyPond 2.9.11
 Processing `greg.ly'
 Parsing...
 greg.ly:7:10: error: syntax error, unexpected '~'
 a ~ \erga
   ~ \erga
 [other syntax errors]

This is not a bug, what you wrote is simply not valid LilyPond syntax,
as the message tells (syntax error). (, ) and ~ only applyes to
literal notes, which \erga and \para are not.

I suggest that you wrote instead:

erg = \once \override NoteHead #'style = #'diamond
%% unfortunately, you cannot simply write:
%%   par = \parenthesize
%% see ly/music-functions-init.ly for the definition
%% of parenthesize.
par = 
#(define-music-function (parser loc arg) (ly:music?)
   Tag @var{arg} to be parenthesized.
   (set! (ly:music-property arg 'parenthesize) #t)
   arg)

{ 
  a ~ \erg a ~ \erg a
  a( \erg a) \erg a( a)
  a ~ \par a ~ \par a
  a( \par a) \par a( a)
}

nicolas


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


Re: RemoveEmptyVerticalGroup remove-first?

2006-07-24 Thread Nicolas Sceaux
Rick Hansen (aka RickH) [EMAIL PROTECTED] writes:

 Has this:

 \override RemoveEmptyVerticalGroup #'remove-first = ##t

 been depricated in 2.8.5?  It's not in the new manual.

Try
  \override Score.VerticalAxisGroup #'remove-first = ##t

 If so, then how do I get rid of the large amount of vertical whitespace
 between the header and the first system?  My page only has 3 lines and I'd
 like them all to be together beginning shortly after the heading leaving all
 the whitespace at page bottom.

 I already have ragged-bottom and ragged-last-bottom set to true.  Under
 2.8.0 I believe RemoveEmptyVerticalGroup used to allow you to remove the
 whitespace after the heading.

No. This property can be set to remove empty staves in the first system
when using \RemoveEmptyStaffContext (which otherwise are only removed in
the following systems).

If you want to tweak the spacing, use:
  \paper { annotate-spacing = ##t }
and read the section about vertical spacing in the manual.
You probably want to tweak after-title-space.

nicolas


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


Re: notime

2006-07-24 Thread Paul Scott

Jon Wild wrote:

On Sun, 23 Jul 2006, Paul Scott wrote:


Could someone tell me what's wrong with the following file:

==
\paper {
  ragged-right = ##t
  notime = ##t
}

\score {
  {c' e' g'1 d' f' a'1 e' g' b'1}
}
==

notime is not having an effect - I couldn't really find a 
description of how to use it properly. 


What version are you running?  notime doesn't exist for the \paper 
block in 2.9.12.


Version 2.8.something, the current stable version. I noticed notime 
described in section 13.5 of the documentation, but couldn't find a 
dedicated entry for it anywhere else. I didn't know which block it 
should go in, either.

It looks like that notime is for Lilypond-book only.



I also tried this override:

\override staff.TimeSignature #'break-visibility = #'(#f #f #f)

but couldn't get that to compile without an error either.


Staff must be capitalized.  Lilypond is case sensitive.


Sorry, I miscopied that in the email; I did in fact capitalize it in 
my score. It still doesn't work. Is the syntax right, with the 
apostrophe appearing after the first two # signs? 

AFAICT the value should be #(#f #f #f) without the apostrophe.

Which block should the override go in?

And is this the appropriate way to hide a time signature?

Can't be sure about appropriate but this works for me:

\new Staff \with {  \remove Time_signature_engraver  }

Paul



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


Re: Fwd: Re: Re: Getting LilyPond to wirk on Windows XP

2006-07-24 Thread Paul Scott

Charles Cave wrote:

I replied to Roger Hurst and realised that reply to on this list replies to
poster not the listhere is what I sent.  
  
This is the only list I know of where the custom is to do a Reply 
All.  I usually delete the poster's address if I'm sure s/he is 
subscribed but you will will get two copies when people reply to most of 
your posts.


Paul



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


Re: Can't set next-padding - it's ignoring me

2006-07-24 Thread Nicolas Sceaux
Anthony Youngman [EMAIL PROTECTED] writes:

 Okay, it's now doing what I want. Adding between-system-padding fixed
 it and reduced next-padding.

 So I'm satisfied - it's working how I want. But it's still left me
 puzzled as to exactly what's going on ... why doesn't lily recognise
 \outputProperty? 

But this does not even exist!
And you can use \overrideProperty only where a music expression
is allowed, that is not inside a \layout or \paper block, but where you
enter your notes.

 why can't I control next-padding directly?
 ragged-bottom seems to have no effect. between-system-padding seems not
 to be displayed by annotate-spacing (although that could be the overlay
 effect I mentioned).

When the next-padding property has not been set on an individual system
by \overrideProperty, then the value displayed by annotate-spacing is
the default value, ie. the value of between-system-padding.

nicolas


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


RE: Can't set next-padding - it's ignoring me

2006-07-24 Thread Anthony Youngman
Ahhh ...

So that means I need to check the documentation and send a bug-fix to
Graham.

In case you hadn't noticed, the reason I used the (nonexistent)
\outputProperty is because it was documented in the manual ...

Cheers,
Wol 

-Original Message-
From: Nicolas Sceaux [mailto:[EMAIL PROTECTED] 
Sent: 24 July 2006 08:57
To: Anthony Youngman
Cc: lilypond-user@gnu.org
Subject: Re: Can't set next-padding - it's ignoring me

Anthony Youngman [EMAIL PROTECTED] writes:

 Okay, it's now doing what I want. Adding between-system-padding
fixed
 it and reduced next-padding.

 So I'm satisfied - it's working how I want. But it's still left me
 puzzled as to exactly what's going on ... why doesn't lily recognise
 \outputProperty? 

But this does not even exist!
And you can use \overrideProperty only where a music expression
is allowed, that is not inside a \layout or \paper block, but where you
enter your notes.

 why can't I control next-padding directly?
 ragged-bottom seems to have no effect. between-system-padding seems
not
 to be displayed by annotate-spacing (although that could be the
overlay
 effect I mentioned).

When the next-padding property has not been set on an individual system
by \overrideProperty, then the value displayed by annotate-spacing is
the default value, ie. the value of between-system-padding.

nicolas

*  *

This transmission is intended for the named recipient only. It may contain 
private and confidential information. If this has come to you in error you must 
not act on anything disclosed in it, nor must you copy it, modify it, 
disseminate it in any way, or show it to anyone. Please e-mail the sender to 
inform us of the transmission error or telephone ECA International immediately 
and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, 
Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 
2333.

*  *


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


Re: help with custom markup command?

2006-07-24 Thread Nicolas Sceaux
Monk Panteleimon [EMAIL PROTECTED] writes:

 \markup \pad-markup #3 \large{ \with-color #(x11-color 'firebrick) \italic {
 \hspace #9 Deacon:} \override #'(line-width . 60) \justify{ What the deacon
 says. } }

 I want to condense this into a command so that {what the deacon says}
 constitutes the argument-in-question, whereas the rest of the formatting and
 the {deacon} argument remain the same. \markup \deacon{what the deacon says}
 would be fine. 
 Just plain \deacon{what the deacon says} would be even better. In fact it
 would be splendid, if only I could figure out where and what and how
 everything goes into the #(define ... scheme. Then I could alter that
 definition for use with {what everyone else who isn't singing says}.
 \rubric{some rubrics} etc. etc.

The first step is to convert your literal \markup expression to
scheme. Then substitue the part that should change with a variable name,
finally wrap this expression inside a define-markup-command expression.

The argument to your \deacon command, a markup, will be the justified
part.

#(define-markup-command (deacon layout props what-is-said)
(markup?)
  (interpret-markup layout props
(markup #:pad-markup 3 
  #:large #:line (#:hspace 9
  #:with-color (x11-color 'firebrick) #:italic 
Deacon:
  #:override '(line-width . 60) what-is-said

\markup \deacon \justify {
  What the deacon says.
}

nicolas


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


lilyond packaging

2006-07-24 Thread Johannes Schöpfer
hello all,

can someone please tell me who the package master is at this time?
pedro kroeger doesn't answer.

regards,
johnny
-- 
http://www.johannes-schoepfer.de

Feel free – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


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


Re: lilyond packaging

2006-07-24 Thread Han-Wen Nienhuys

Johannes Schöpfer schreef:

hello all,

can someone please tell me who the package master is at this time?
pedro kroeger doesn't answer.

regards,
johnny



We don't have one at the moment. What's the problem?


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


A new freeware LilyPond editor for Windows

2006-07-24 Thread Rick Hansen (aka RickH)

Hello,

I just created and uploaded a syntax highlighting file for the ConTEXT
editor.

www.context.cx

http://www.context.cx http://www.context.cx 

Look in the forum section for the highlighting file I uploaded and some
instructions at the top for setting up the Function keys to do compiles,
views, midi, etc.

After using jEdit for a while I found ConTEXT to be far, far, far superior
on the Windows platform.  ConTEXT editor is light and very fast, whereby
jEdit would take 30 seconds or more to open large or many files (over 1
meg).  (But Java apps generally do run slow on Windows.)  Also the jEdit
highlighter misses a lot of reserved words.

I have included every LilyPond user-public reserved word I can find through
version 2.8.5.  Also it will highlight imbedded Scheme code separately
making LP proper much easier to read and keep separated from Scheme.  It
also separates Context objects from Layout objects, hilights strings,
comments, markup commands, properties, action words like \set and \override
differently, etc.  I came up with several thousand LP reserved words and
categorized them all, I also tested this hilighter with all the LP
regression and input files.

The only minor highlighting glitch I found with ConTEXT is that string
ending quotes cannot be on a line by themselves (they must end the string
immediately, or if they are on their own line they must be preceeded with a
space and not the carriage return)  Other than that, this editor is pretty
simple and pretty darn good at hilighting LP syntax.  I've also had about
100 files open simultaneously with no performance problems in it.

As new versions of LP arise I'll add reserved words as needed to the
highlighting file.

After installing ConTEXT, just download LilyPond.chl from the forum area
and copy it to:

C:\Program Files\ConTEXT\Highlighters

Close and Re-Open ConTEXT.

Now whenever you open up .LY files in ConTEXT they will be syntactically
highlighted.

Then read the blurb I wrote at the top of the LilyPond.chl file to show how
to set up your F9 and F10 keys to compile and view your music in the ConTEXT
command shell.

Have fun
Rick



-- 
View this message in context: 
http://www.nabble.com/A-new-freeware-LilyPond-editor-for-Windows-tf1993431.html#a5470863
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


RE: 17th century keyboard ornament

2006-07-24 Thread Fairchild
Peter -

Sorry, I haven't deduced how postscript determines 0, 0.  Likely what you
want can be done with Scheme; beyond my ken.

  - Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Peter Van Kranenburg
Sent: Sunday, July 23, 2006 12:52 PM
To: lilypond-user@gnu.org
Subject: Re: 17th century keyboard ornament


Fairchild wrote:
 Peter -
 
 Tune to suit.
 

Thanks. After some tuning, I got the desired result indeed.
There are, however, some questions left. With this solution, I have to 
define two macros for each pitch, one for stem up and one for stem down. 
Besides this, the direction of the stem must be known at encoding stage. 
Is there a way to position the dashes relatively to the (invisible) 
stem, so that a more generic macro can be defined?

Of course I will keep working on this myself by reading the manual and 
experimenting, but if someone can give me a clue, it would probably 
speed up.

regards,
Peter



___
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


Re: Chord name exception not getting a match

2006-07-24 Thread Rick Hansen (aka RickH)

Thanks, I'll try that later.  But shouldn't the exception processor be
looking at my exception table first for a match, then use my exception
instead of any further processing of that chord name?  After all, my souce
code does have an exact matching entry in my exception list, why would the
octave indication matter at all?  And would I add the octave to both my
source code and my exception list?  I thought exception entries were just
hard and fast matched to your source code in concert key, now it's a grey
area on how to get an exception match.



-- 
View this message in context: 
http://www.nabble.com/Chord-name-exception-not-getting-a-match-tf1986715.html#a5471387
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: Re: lilyond packaging

2006-07-24 Thread Johannes Schöpfer

  can someone please tell me who the package master is at this time?
 
 We don't have one at the moment. What's the problem?

i have updated the lilypond-slackware-package to 2.8.4.
platform is slackware version 10.2.
the package-location has changed, please link to 
http://www.johannes-schoepfer.de/lilypond/slackware/
please also change my packager-email to [EMAIL PROTECTED]

thank you,

johnny


-- 
http://www.johannes-schoepfer.de

Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
Feel free mit GMX DSL: http://www.gmx.net/de/go/dsl


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


Re: Re: Chord name exception not getting a match

2006-07-24 Thread Johannes Schöpfer
  After all, my souce
 code does have an exact matching entry in my exception list, why would the
 octave indication matter at all? 
i don't know, but on my system the 9 has to be an ocatve higher than the 
basenote.

 And would I add the octave to both my
 source code and my exception list? 
if you add for example c:7.9-,13 in \chordmode without  \chordNames then you'll 
what notes are produced. that has to exactly match the exeption list entry.

johnny

-- 
http://www.johannes-schoepfer.de

Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
Feel free mit GMX DSL: http://www.gmx.net/de/go/dsl


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


Re: Can you add blank pages in Lilypond?

2006-07-24 Thread Panteck
Thanks for your help, Graham!  That worked perfectly for breaks that occur 
between movements.  For breaks that occur during movements, I came up with a 
snippet that almost does what I want.  The only problem is that I'm not good 
enough with Scheme to get the set bar number line working.  Any Scheme 
experts out there know how to programatically subtract 1 from the current 
bar number?


blankPage =
{
\pageBreak

\once \override Staff.Clef #'transparent = ##t
\once \override Staff.KeySignature #'transparent = ##t
\once \override Score.BarNumber #'transparent = ##t
\override Staff.StaffSymbol #'line-count = 0
\stopStaff s1*1/64 \startStaff
% \set Score.currentBarNumber = #(- (ly:context-property context 
'currentBarNumber) 1)


\once \override TextScript #'extra-offset = #'( -10.0 . -60.0 )
s1*63/64 _\markup { (this page has been left blank to facilitate page 
turning) }

\bar  

\revert Staff.StaffSymbol #'line-count
\stopStaff \startStaff

\pageBreak
}

--Steven

- Original Message - 
From: Graham Percival [EMAIL PROTECTED]

To: Panteck [EMAIL PROTECTED]
Cc: lilypond-user@gnu.org
Sent: Friday, July 21, 2006 12:49 PM
Subject: Re: Can you add blank pages in Lilypond?



Panteck wrote:

I'm using Lilypond 2.8.4 on Windows XP.

I'm trying to optimize page turns in a double-sided printing scenario, 
and need to add blank pages in the PDF at appropriate locations.  Is it 
possible to add a completely blank page (or a page that says This page 
intentionally left blank) in Lilypond?  I've tried multiple \pageBreaks 
in a row, and having an empty \score { } \header { breakbefore = ##t } 
block, but neither one works.  I searched the web and found lots of 
examples of how to create a bunch of empty staffs, but not how to create 
just a blank page.  Has anyone else figured out a solution to this 
problem?


I'm using lilypond-book, so I \lilypondfile{page-break.ly} this file. To 
use this inside lilypond, remember that you can just have a \markup on its 
own (ie no \score).  If you add breakbefore headers to this file and the 
following movement, you should be able to get it to work.


%%% page-break.ly:
\version 2.9.6
\markup{ \fill-line{ \column {
  \hspace #1
  \hspace #1
  \hspace #1
  \hspace #1
  \hspace #1
  \hspace #1
  \hspace #1
  \hspace #1
  \hspace #1
  \hspace #1
  \hspace #1
  \hspace #1
  \line { (this page has been left blank to facilitate page turning) }
}}}




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


Re: Re: Chord name exception not getting a match

2006-07-24 Thread Rick Hansen (aka RickH)

thanks, that makes sense.

Rick


-- 
View this message in context: 
http://www.nabble.com/Chord-name-exception-not-getting-a-match-tf1986715.html#a5473431
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: 17th century keyboard ornament

2006-07-24 Thread Peter Van Kranenburg

Fairchild wrote:

Peter -

Sorry, I haven't deduced how postscript determines 0, 0.  Likely what you
want can be done with Scheme


That's what I'm gonna try, indeed.
Nevertheless, many thanks for the suggestions.

Peter



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


Re: notime

2006-07-24 Thread Jon Wild

On Mon, 24 Jul 2006, Markus Schneider wrote:


 \layout {
   ragged-right = ##t
   \context {
 \Staff
 \remove Time_signature_engraver
   }
 }


Thanks! I added the line

   \remove Bar_engraver

right after the other \remove, and it did what I wanted.

Best --Jon W.


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


Re: Can you add blank pages in Lilypond?

2006-07-24 Thread Markus Schneider
Steven,

you can use \cadenzaOn \cadenzaOff. Bar counting is suppressed during a
cadenza.

Cheers,
Markus





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


new user....

2006-07-24 Thread confrey

hi everybody,
I'm a musician, I play and tech piano; I?m using linux since 1999,and 
now I'm diving in lilypond sea
I think notes' entry is not difficult, but I have some difficulties 
about page layout; for example :

- how can I choose the width of a measure?
- how can I choose the number of measure for staff?
- how can I have a 100% staff (piano) and a 75 % staff (voice)?

excuse me for my questins, help me if you can
thanks

confrey

--

confrey


Linux Registered User#240359 
Linux Registered Machine #133789




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


Lyrics and centering

2006-07-24 Thread Michael J Millett
I am having a problem with the centering of lyrics, for which I was 
hoping to get some help.


I cannot get the words to center underneath the proper note when a tie 
is involved. For instance, if a note is tied, the word is centering 
underneath the Two notes, and not underneath only the first note of the 
tie, as it should. I've tried both \set ignoreMelismata = ##t and  \set 
melismaBusyProperties = #'(), but to no effect.


I am also getting the word not centered on the first beat of the second 
measure, where the first beat is part a slur.


One question in particular: Is it absolutely necessary use Lyricsto 
instead of the other lyric modes in order to get the centering I am 
trying to get?


So far, I haven't found any examples of this.

Thanks again for your help. This has certainly been the nicest user 
group I can remember being a part of :) That helps!


Michael



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


Uninstalling

2006-07-24 Thread Gordon Gilbert

Hi!

I've just downloaded version 2.9.13-1 to install on my FreeBSD machine.  I 
know the install is easy, because I've done it before, but what is the 
**easiest** way to uninstall the previous version before doing so?  I've 
removed contents of directories, then removed the directories, but isn't 
there an easier way?


Blessings,

Fr. Gordon Gilbert+


+=+
| Angels' Roost Farm  |
|   Rev. Fr. Gordon Gilbert  Susan Gilbert   |
|   705-549-5056  |
|[EMAIL PROTECTED]  |
|[EMAIL PROTECTED] |
+=+


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


Re: Uninstalling

2006-07-24 Thread Paul Scott

Gordon Gilbert wrote:

Hi!

I've just downloaded version 2.9.13-1 to install on my FreeBSD 
machine.  I know the install is easy, because I've done it before, but 
what is the **easiest** way to uninstall the previous version before 
doing so?  I've removed contents of directories, then removed the 
directories, but isn't there an easier way?

(As root if you installed it as root) do:

uninstall-lilypond

Paul Scott


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


Re: new user....

2006-07-24 Thread Markus Schneider
Hi confrey,

 - how can I choose the width of a measure?
Look here:
http://lilypond.org/doc/v2.8/Documentation/user/lilypond.html#Proportional-notation

 - how can I choose the number of measure for staff?
see below.

Markus

%%% Begin Snippet
\version 2.8.4
global = {
  \hideNotes
  \repeat unfold 5 {
s1 |
s1 |
s1 |
s1 |
  \break
  }
}

music = \relative c' {
  | a4 b c d
  | \times 2/3 { a4 b c } \times 2/3 { a4 b c }
  | a8 b c d a8 b c d
  | \times 2/3 { a8 b c } \times 2/3 {d a8 b } \times 2/3 { c d c } \times
2/3 {d a8 b }

}

\score { {
  \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
  \new Staff
  
\global
\music
  
  }
  \layout {
indent = 0\cm
  }
}
%%% End Snippet





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


Re: Lyrics and centering

2006-07-24 Thread Kieren MacMillan

Hi, Michael:

I am having a problem with the centering of lyrics, for which I was  
hoping to get some help.
I cannot get the words to center underneath the proper note when a  
tie is involved.
For instance, if a note is tied, the word is centering underneath  
the Two notes,

and not underneath only the first note of the tie, as it should.


I think you might be mistaken regarding the traditional engraving  
convention -- my copy of The Essential Dictionary of Musical  
Notation says


Another help in reading a melisma is the proper alignment of  
the lyric.

The word or syllable, instead of being centered under the note,
should be aligned flush left with the left edge of the notehead.

Which is exactly what Lilypond does (in my experience). That being  
said, I do think that Lilypond is too severe in its left- 
alignedness -- therefore, I have resorted to using


\once \override LyricText #'X-offset = #-0.5

in order to give the lyrics a slightly softer look.

In any case, play around with #'X-offset, #'self-alignment-X, etc.,  
in your LyricText object(s) to see what best fixes your specific issue 
(s).


Cheers,
Kieren.


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


RE: font metric

2006-07-24 Thread Fairchild
These chunks are taken from the program reference for LilyPond version
2.8.5,
http://lilypond.org/doc/v2.8/Documentation/user/lilypond-internals/Scheme-fu
nctions.html#Scheme-functions :

- Function: ly:font-design-size font
Given the font metric font, return the design size, relative to the
current output-scale. 

- Function: ly:font-file-name font
Given the font metric font, return the corresponding file name. 

- Function: ly:font-magnification font
Given the font metric font, return the magnification, relative to the
current outputs-cale. 

- Function: ly:font-name font
Given the font metric font, return the corresponding name. 

- Function: ly:font-sub-fonts font
Given the font metric font of an OpenType font, return the names of the
subfonts within font. 

What does a 'font metric font' look like?  Is there an example using any of
these Scheme functions?

  - Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Fairchild
Sent: Friday, July 21, 2006 7:21 AM
To: lilypond-user@gnu.org
Subject: font metric


In several places, documentation refers to font metric but I have not
found a syntax definition or an example of its use.  

Specifically, in the function: ly:font-filename font (given the font metric
font, return the corresponding file name) what is the syntax for font?

- Bruce






___
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


Lilypond is not happy with GUILE 1.6.8

2006-07-24 Thread Eyolf Ostrem
I've just upgraded from guile 1.6.7 to 1.6.8, and now lilypond is not happy. 
Here's the output when I try to run lilypond on files that worked just the 
other day:

GNU LilyPond 2.9.3
Processing `testfile.ly'
Parsing...
/usr/share/lilypond/2.9.3/ly/music-functions-init.ly:102:1: error: GUILE 
signaled an error for the expression beginning here
#
 (use-modules (scm display-lily))invalid module name for use-syntax ((srfi 
srfi-39))

/usr/share/lilypond/2.9.3/ly/music-functions-init.ly:102:5: error: syntax 
error, unexpected '-', expecting '='
#(use
 -modules (scm 
display-lily))/usr/share/lilypond/2.9.3/ly/music-functions-init.ly:48:56: In 
expression (display-lily-init parser):
/usr/share/lilypond/2.9.3/ly/music-functions-init.ly:48:56: Unbound variable: 
display-lily-init


I'm not positive that the guile upgrade is to blame, since there has been a 
period when I haven't used LP, but the errors turned up in the meantime.
Any help would be appreciated.

Eyolf


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


Re: Lyrics and centering

2006-07-24 Thread Daniel Johnson

Kieren MacMillan wrote:


I think you might be mistaken regarding the traditional engraving 
convention -- my copy of The Essential Dictionary of Musical 
Notation says


Another help in reading a melisma is the proper alignment of the 
lyric.

The word or syllable, instead of being centered under the note,
should be aligned flush left with the left edge of the notehead.
There are circumstances where that is problematic, though. Let's say I 
have a SATB score in four staves, in which all four voices are singing 
the same lyrics, but the sopranos are singing a melisma while the basses 
are holding a whole note.  Ideally the lyrics would line up vertically, 
but in practice the bass lyrics will be slightly to the left of the 
soprano.  The solution to this is to \set associatedVoice, but this can 
be very clunky, especially since this \set has to occur at least one 
syllable before it is supposed to take effect.  (At least I think so -- 
anytime I use this solution it involves about 30 minutes of trial and 
error.)


I can't think of an easily-implemented solution to this, though, other 
than a bunch of manual tweaks.  While Finale lines them up evenly, it 
does so at the expense of the traditional engraving convention you've 
mentioned above.  This is part of the reason why Finale scores have a 
recognizable unpleasant look.


--Daniel



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


inserting copyright symbol

2006-07-24 Thread Paul Scott
After quite a bit of searching I managed to enter a copyright symbol 
into the copyright field of the header of my score with emacs.  With 
Lilypond 2.9.13 I get:


programming error: FT_Get_Glyph_Name returns error
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming. 
Skipping glyph.

continuing, cross fingers

This may just be a lack of understanding of emacs but does anyone know 
what's wrong or know what question to ask me?


TIA,

Paul Scott



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


Re: font metric

2006-07-24 Thread Han-Wen Nienhuys

Fairchild schreef:


In several places, documentation refers to font metric but I have not
found a syntax definition or an example of its use.  


try

  ly:grob-default-font

or

  ly:grob-property grob 'font


Specifically, in the function: ly:font-filename font (given the font metric
font, return the corresponding file name) what is the syntax for font?


what problem are you trying to solve?

--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


avoid-slur not set

2006-07-24 Thread Henrik Frisk
Hello,

I've been away from the list for some time. Noticed
that convert-ly erroneously (?) changed my \epsfile markups in a file
version 2.7.15 to \\epsfile when updating it to 2.9.13. This is on the
OSX version.


\version 2.7.15

\new Staff \relative c' {
c4^\markup {\epsfile #nss.eps}
}



results in 


\version 2.9.11

\new Staff \relative c' {
c4^\markup {\\epsfile #X #10 #nss.eps}
}


/henrik


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


Re: lyrics running wider than the staff

2006-07-24 Thread Michael Haynie

Thanks for the quick response.

I would be embarrassed to not have found that, except that it never 
occurred to me to look at the root node of the section, which doesn't 
suggest that it deals with such an odd topic.  I've wondered if it 
might be a good idea to collect settings which have global formatting 
effects into one section, or at least creating a sort of index.  As 
someone who creates thousand page documents ever other year, I can 
appreciate the difficulties ...


On Jul 24, 2006, at 2:19 AM, Graham Percival wrote:


Michael Haynie wrote:
Since I've moved to 2.8 from 2.2, I've been having trouble with the 
lyrics -- the last word (syllable) of the last measure of a line 
frequently runs out into the right margin.  At best, it's ugly.  At 
the worst, the word is cut off when I print.  I've searched the docs 
and the archives, but I can't seem to guess the right keywords.


Please read section 7.3 in the docs for 2.8, specifically the 
commonly tweaked properties.


- Graham





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


beaming and tuplets

2006-07-24 Thread Henrik Frisk
Hello again,

The tuplet bracket in the example below has to be manually adjusted when
I beam the 16th note triplet with the rests. It has a slant in the wrong
direction and collides with the beam.


\version 2.9.11

\new Staff \relative c' {
  \times 2/3 { 
d16 [
  e r16
} r8 ]
}


/Henrik


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


RE: font metric

2006-07-24 Thread Fairchild
Han-Wen -

Thanks, but still too cryptic for me.

Indeed, you have added to my unknowns list.  The function
ly:grob-default-font seems to require an argument 'grob.'  How to denote a
specific grob?

I'm searching for a way to interrogate the default/current font name, then
add to LSR entry File Information.

   - Bruce

-Original Message-
From: Han-Wen Nienhuys [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 24, 2006 5:14 PM
To: Fairchild
Cc: lilypond-user@gnu.org
Subject: Re: font metric


Fairchild schreef:

 In several places, documentation refers to font metric but I have not
 found a syntax definition or an example of its use.  

try

   ly:grob-default-font

or

   ly:grob-property grob 'font

 Specifically, in the function: ly:font-filename font (given the font
metric
 font, return the corresponding file name) what is the syntax for font?

what problem are you trying to solve?

-- 

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
  -- Code for Music Notation
http://www.lilypond-design.com






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


Re: lyrics running wider than the staff

2006-07-24 Thread Michael Haynie
The Score.PaperColumn doesn't seem to have any noticeable effect on the output (irrespective of placement in layout or score blocks).  However, the section also mentions having lyrics avoid barlines by setting several layout properties:

\layout {
\context {
\Lyrics
\consists Bar_engraver
\consists Separating_line_group_engraver
\override BarLine #'transparent = ##t
}
}

On several sample scores, this greatly improves the visual appearance of the work.  Now for the difficult part -- I have 493 scores to adjust this way.  I can certainly write an emacs macro to insert the context settings into the layout section, but I wonder if it's possible to handle this more globally.  Is there a way to define something like a music expression that can be included here?  Suppose I want to add another setting, like: 

\context { \RemoveEmptyStaffContext }

It would be nice to just edit a master file and have all 500 (I keep adding new ones) songs updated.

Any ideas?

Thanks.

On Jul 24, 2006, at 2:19 AM, Graham Percival wrote:

Michael Haynie wrote:
Since I've moved to 2.8 from 2.2, I've been having trouble with the lyrics -- the last word (syllable) of the last measure of a line frequently runs out into the right margin.  At best, it's ugly.  At the worst, the word is cut off when I print.  I've searched the docs and the archives, but I can't seem to guess the right keywords.

Please read section 7.3 in the docs for 2.8, specifically the commonly tweaked properties.

- Graham

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


Re: Uninstalling

2006-07-24 Thread Gordon Gilbert

Hi!

Thanks for your prompt reply.  Only trouble is, I tried it, but it didn't 
work.  When I did it, it returned the following:


[2:5:[EMAIL PROTECTED]:/u/gord uninstall-lilypond
su: uninstall-lilypond: command not found
[2:6:[EMAIL PROTECTED]:/u/gord

Have I got it slightly wrong?  Or majorly wrong?  Next idea?

Thanks,

Father Gordon Gilbert


On Mon, 24 Jul 2006, Paul Scott wrote:


Date: Mon, 24 Jul 2006 14:07:09 -0700
From: Paul Scott [EMAIL PROTECTED]
To: Gordon Gilbert [EMAIL PROTECTED]
Cc: lilypond-user@gnu.org
Subject: Re: Uninstalling

Gordon Gilbert wrote:

Hi!

I've just downloaded version 2.9.13-1 to install on my FreeBSD machine.  I 
know the install is easy, because I've done it before, but what is the 
**easiest** way to uninstall the previous version before doing so?  I've 
removed contents of directories, then removed the directories, but isn't 
there an easier way?

(As root if you installed it as root) do:

uninstall-lilypond

Paul Scott




+=+
| Angels' Roost Farm  |
|   Rev. Fr. Gordon Gilbert  Susan Gilbert   |
|   705-549-5056  |
|[EMAIL PROTECTED]  |
|[EMAIL PROTECTED] |
+=+


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


Creating PNG output of music snippets is always the size of a page

2006-07-24 Thread Charles Cave
When I run lilypond with the --png command line switch, the generated
PNG file is the size of the printed page.  How can I make this image small 
enough
so the image is cropped?  It is rather tedious to open the file with GIMP and
manually crop the image.

The image created from the input file below was 859 x  pixels
(8.506 x 11.001 inches ... obviously the page size).

I am running LilyPond 2.8.3 on Windows XP

E:\lilypond --png  noscore.ly
GNU LilyPond 2.8.3
Processing `noscore.ly'
Parsing...
Interpreting music... [1]
Preprocessing graphical objects...
Calculating line breaks... [2]
Calculating page breaks...
Layout output to `noscore.ps'...
Converting to PNG...


noscore.ly contains:

\version 2.8.3

\score {
\context Staff \relative c'' { c8 c c16 c c c }
\layout{
\context {
  \Staff
  \remove Staff_symbol_engraver
}
}
}





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


Re: inserting copyright symbol

2006-07-24 Thread Kieren MacMillan

Hi, Paul:


does anyone know what's wrong or know what question to ask me?


What format have you saved the document in? (e.g., UTF-8)
Kieren.


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


Re: lyrics running wider than the staff

2006-07-24 Thread Kieren MacMillan

Hi, Michael:

Is there a way to define something like a music expression that can  
be included here?


I'm assuming you understand the concept of stylesheets? (See the docs  
for examples...)


For instance, I have the following stylesheets:
1. KM_init_Score
2. KM_init_PianoStaff
3. KM_init_Lyrics
4. KM_init_Song (\include-s KM_init_Score, *PianoStaff, and  
*Lyrics)


These describe my house style(s).

Then, in (e.g.) a song score, I'll simply \include KM_init_Song, and  
everything is hunky-dory. If I need to change my house style for  
lieder, I simply make the change at the appropriate level (usually  
*Song, since others might be included elsewhere) and then recompile  
all my individual song \score-s.


Works like a charm!

Best regards,
Kieren.


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


Re: Lyrics and centering

2006-07-24 Thread Michael J Millett
In regards to lyric placement, you now have me highly intrigued. So I 
surveyed a number of sources. Sorry about the length.


G Schirmer/AMP Manual of Style and Usage (pages 88 - 89)

There is no discussion of this topic. However, in most of the examples, 
the first note of a measure is aligned with the word such that the 
approximately the second letter of the word is directly underneath the 
note-head. This seems to be regardless of the presence of a slur or 
tie. This also includes a hyphenation that starts a measure; the hyphen 
precedes the first letter, as it would be two spaces to the left of the 
note-head. For all other notes, except those involving hyphens or 
extensions, the word is centered underneath the note-head. In the case 
of hyphenated words, page 82 shows an example where each part of the 
word except the first is aligned flush left. But, the example on page 
89 shows the last word of the hyphen as centered. I'm not sure if there 
is a convention here, or it is just made to fit. I did not find an 
example of an extension that did not involve the beginning of a 
measure. In the case of ties, the word is not centered under the two 
notes; it is aligned only with the first note of the tie.


Gardner Read (pages 287 - 299)

There is no discussion of this topic. However, in every example except 
17-8, the first word of a measure is centered underneath the note-head. 
It looks to me like the first note of the measures have been moved to 
the right to accommodate the centering of the word. In the case of 
hyphens, the words are still centered. In the case of extensions, some 
examples show the first word centered, and some show alignment of the 
note-head with approximately the second letter (page 292). In the case 
of ties, the word is not centered under the two notes; it is aligned 
only with the first note of the tie.


FJ Haydn: Creation, Dover reprint from CF Peters edition

The usage is inconsistent. The word for the first note of measures 
sometimes aligns with the first, second, or even third letter of the 
word. Sometimes, the first word is centered. It just seems to be 
designed to fit. There are some interesting examples on pages 156 - 
157. In the case of hyphens and extensions, again, I am finding no 
great consistency. In the case of ties: same thing as said earlier:  
The word is not centered under the two notes; it is aligned only with 
the first note of the tie.


My current issue with LP is that it is centering words underneath both 
notes of the tie instead of just the first. Thank you for the 
suggestions on how to fix that.


Conclusion: I do not find any great consistencies. However, in a very 
general way:


First words of measures are often aligned with note-heads such that 
approximately the second letter is aligned with the note-head.


Hyphenated words are often aligned in the same way as above, but 
certainly not always. The first syllables, however, tend to be 
centered, unless it is the beginning of a measure.


The first syllable of melismas are often aligned with note-heads such 
that approximately the second letter is aligned with the note-head. 
But, are also often aligned flush left.


Words involving tied notes are aligned in some way to only the first 
note of the tie, and never to both notes of the tie.


In regards to the quoted comment: 
Another help in reading a melisma is the proper alignment of the lyric.

The word or syllable, instead of being centered under the note,
should be aligned flush left with the left edge of the note-head.


The only consistent example of flush left alignment in the Schirmer I 
can find involves hyphenation (page 82), and not a melisma. Melismas 
are not aligned flush left here. In the Haydn, the opposite seems to be 
true. Often the syllable that begins the melisma is aligned flush left, 
while the second syllable of hyphenated words is aligned to near the 
second letter.  See page 107 for some interesting comparisons between 
melismas and hyphenated words.


Overall, the words are just made to fit and made to be easily read. 
I do not see how an ideal algorithm could ever be designed to 
accommodate all this.


Congratulations to the programmers of LP for doing so well with this!

Michael



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


Re: Uninstalling

2006-07-24 Thread Paul Scott

Gordon Gilbert wrote:

Hi!

Thanks for your prompt reply.  Only trouble is, I tried it, but it 
didn't work.  When I did it, it returned the following:


[2:5:[EMAIL PROTECTED]:/u/gord uninstall-lilypond
su: uninstall-lilypond: command not found
[2:6:[EMAIL PROTECTED]:/u/gord

Have I got it slightly wrong?  Or majorly wrong?  Next idea?
Are using a GUB (Grand Unified Binary - installer from LilyPond web 
site)?  If so it may not be on your path, even though I don't know how 
LilyPond itself would work since on my system they are on the same path.


Anyway try searching for uninstall-lilypond with locate or find.

HTH,

Paul



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


Re: inserting copyright symbol

2006-07-24 Thread Paul Scott

Kieren MacMillan wrote:

Hi, Paul:


does anyone know what's wrong or know what question to ask me?


What format have you saved the document in? (e.g., UTF-8)
Kieren.

AFAIK (which isn't very far in this case) emacs uses UTF-8 by default.  
When I enter the copyright symbol (with ucs-insert) the correct symbol 
is visible.  I just did a normal save.  When I re-open the file with 
emacs the correct symbol is still there.


Thanks,

Paul



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