Re: How to increase space between chord names and the fret diagram?

2006-12-04 Thread Stephen Torri
Thank you very much for giving me an example. Now I understand
completely what you had in mind.

Stephen

On Mon, 2006-12-04 at 08:58 +0100, Mats Bengtsson wrote:
> That's not exactly what I had in mind. Since the default value of
> minimum-Y-extent in Lyrics is (-1.2 . 2.4) (see the program reference 
> for the
> Lyrics context to find out, 
> http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/Lyrics.html#Lyrics),
> and since the fretboards are much higher than normal lyrics, I would rather
> use something like
> 
> \score{
>   ...
>   \layout{
> ragged-right = ##t
> \context{
>   \Lyrics
>   \override LyricSpace #'minimum-distance = #2.0
>   \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 9.0)
>}
>   }
> }
> 
>/Mats
> 
> Stephen Torri wrote:
> > On Sun, 2006-12-03 at 20:09 +0100, Mats Bengtsson wrote:
> >   
> >> This is described in the section "Vertical spacing inside a system"
> >> in the manual. You could either increase the vertical extent of the 
> >> ChordNames context downwards or of the Lyrics context upwards.
> >>
> >>/Mats
> >>
> >> 
> >
> > So do this:
> >
> >  \override Lyrics.VerticalAxisGroup #'y-extent = #'( 0 . 3 )
> >
> > Is that what you mean by "increase the vertical extent" of Lyrics?
> >
> > Stephen
> >
> >   
> 



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


Re: LilyPond 2.4.6 for cygwin?

2006-12-04 Thread Jan Nieuwenhuizen
"Thomas Scharkowski" <[EMAIL PROTECTED]> writes:

>> Bug report, please.
> I get:
>   
>   Segmentation fault (core dumped)

Thanks, but that's not enough for me to reproduce it.  How do you
ivoke lilypond?  What does cygcheck /usr/bin/lilypond say?

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


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


Re: DynamicLineSpanner padding

2006-12-04 Thread Arvid Grøtting
Trevor Bača  gmail.com> writes:

> (I personally think that at least dynamics should exhibit baseline
> alignment by default, but at least there's an easy workaround with
> definitions like those above.)

Any text that aligns horisontally, should align on the baseline.  For latin
scripts at least.  Alignment anywhere else is just plain wrong.

That said, horizontal alignment of dynamics doesn't look like it's been a
primary concern in any of the hand-engraved scores I can remember ever seeing. 
The engraver seems to have been more concerned, usually, with fitting in the
dynamics using as little space as possible; this often means moving the dynamic
script slightly to the left to be able to place it closer to the staff.

Here's Lilypond's default compared with an approximation to this technique:

\version "2.11.0"

\paper { ragged-right = ##t }

\score {

  \context Score <<
\relative c' { s8\mf c4*1/2^\markup{Almost good} d4 e f
   \bar "||"
   c4\f^\markup{Default} d e f4*1/2 s8\ff 
   \bar "||"
   c1^\markup{Good}
 }
  >>
  \layout {}
 }

Cheers,

-- 

Arvid




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


Re: LilyPond 2.4.6 for cygwin?

2006-12-04 Thread Mats Bengtsson

Since the error message complains about feta20.afm, it has nothing directly
to do with ec-fonts-mftraced. Rather, I suspect that you have teTeX 3 
installed,
which is a bit more picky about where font related files are located, 
compared to
earlier teTeX versions, see 
http://www.mail-archive.com/lilypond-user@gnu.org/msg23601.html

for example. However, when browsing the mailing list archives, I get the
impression that this problem should have been solved already in LilyPond
2.4.5. Maybe you just have to run the command
texhash
to refresh the file name database to make it work again.

  /Mats

Thomas Scharkowski wrote:

Thank you,
but I need version 2.4.6. (BTW I normally use the newest Windows 
version).
The mail archives showed several similar problems (can't find 
feta...) and maybe the solution is to get an older version of ec-

fonts-mftraced (1.0.2). Is there any chance?

Thomas
  
You could do the following: install 2.6.5-1 for Windows from 
http://lilypond.org/web/install/older-versions

and run it from Cygwin. This is perhaps easier.

Fred

Thomas Scharkowski a écrit :


"Thomas Scharkowski" <[EMAIL PROTECTED]> writes:


Is there any chance to reinstall 2.4.6?
  

When you run Cygwin's setup.exe, it first downloads all packages to be
installed.  If you did not delete those, they are still on your hard
disk.

Jan.

 
Thank you, I managed to reinstall 2.4.6-1 from my harddisk, but when 
running, I get the following message:

--
error: can't find 'feta20.afm'
Music font has not been installed properly. Aborting
--

I remember having seen this message before, and that there was a 
solution, but this was quite long ago and I don't remember.

Can anyone help?

Thank you
Thomas
  





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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Two questions about note heads

2006-12-04 Thread Mats Bengtsson

The basic principle is the same as is described in the section on Polymetric
notation. For example, you can do:

\version "2.10.0"
mynotehead = \markup{\musicglyph #"scripts.turn" }

\score {
\relative c''{
   a
   \once \override NoteHead #'stencil = #ly:text-interface::print 
   \once \override NoteHead #'text = \mynotehead

   a
 }
}

  /Mats

Peter Budny wrote:

Mats Bengtsson  ee.kth.se> writes:

  

Quoting Peter Budny  mail.gatech.edu>:



2) Can you set a custom symbol as a note head?
  

There are many shapes to choose from in LilyPond, see the section called
Special noteheads in the manual.



I should have been more clear... I meant a completely custom symbol, by
picking something out of the Feta font, not just changing the style.



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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Tutorial

2006-12-04 Thread Mats Bengtsson

If you read "How LilyPond files work" in the Tutorial, you will learn that
if you have something like
\relative b' { \set Staff.instrumentName = " 2 " \key c \major \override 
Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r a4 b c 
a g2 r \bar "||"

}

in your file, then it's actually equivalent to
\score{
\relative b' { \set Staff.instrumentName = " 2 " \key c \major \override 
Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r a4 b c 
a g2 r \bar "||"

}
}

This, of course, means that if you want to include a \header{...} for 
your specific
score, then it has to be included within the same \score{...} block as 
the actual music.
Also, I forgot to tell you one detail, which is described in section 
"Creating titles",
namely that by default, only the piece and opus headers are printed for 
each
separate score. Note also that your attempt to get rid of the bar 
numbering fails

completely. Here's a modified version of your first example that hopefully
is closer to what you want:

\version "2.10.0"

\paper{
printallheaders=##t
bottom-margin = 3\cm
}

\layout{
 \context{
   \Score
   \remove "Bar_number_engraver"
 }
}

\score{
\relative b' { \set Staff.instrumentName = " 1 "  \override 
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a g2 g \bar 
"||"

}
\header{
title = "Ist ein Wolf in'n Brunnen Gefallen"
arranger = " "
}
}

\score{
\relative b' { \set Staff.instrumentName = " 2 " \key c \major \override 
Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r a4 b c 
a g2 r \bar "||"

}
\header{
title = "Summ, summ, summ"
arranger = " "
}
}


   /Mats



Manuel wrote:

I wrote an instruction for the bottom margin like this:


\version "2.10.0"

\paper{
bottom-margin = 3\cm
}


and it seems to work, only the actual bottom margin is bigger than the 
3 cm specified.


Concerning the titles for the pieces, I don't get it. I tried 
different ways, like this one:



\version "2.10.0"

\score{
\remove "Bar_number_engraver"
\header{
title = "Ist ein Wolf in'n Brunnen Gefallen"
arranger = " "
}
}


\relative b' { \set Staff.instrumentName = " 1 "  \override 
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a g2 g 
\bar "||"

}





\score{
\remove "Bar_number_engraver"
\header{
title = "Summ, summ, summ"
arranger = " "
}
}

\relative b' { \set Staff.instrumentName = " 2 " \key c \major 
\override Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r a4 b 
c a g2 r \bar "||"

}

but evidently it's not right.

I also tried to separate more the last staff of the first piece from 
the first staff of the second:


\version "2.10.0"



\layout

{
\context {
\Score
\remove "Bar_number_engraver"

}
}



\relative b' { \set Staff.instrumentName = " 1 "  \override 
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a g2 g 
\bar "||"

}


\overrideProperty
#"Score.NonMusicalPaperColumn"
#'line-break-system-details
#'((fixed-alignment-extra-space . 15))


\relative b' { \set Staff.instrumentName = " 2 " \key c \major 
\override Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r a4 b 
c a g2 r \bar "||"

}


but no change took place.

Manuel





Am 01/12/2006 um 11:02 schrieb Mats Bengtsson:


Right! If you specify one or more header blocks at the top level of the
file, the last one will be used globally for all the scores in the file.
If you want specific titles for each score, include the header block
within the corresponding \score{...} block:
\score{
 ...
 \header{
   ...
 }
}

\score{
 ...
 \header{
   ...
 }
}

...

If you want to set the time signature style once and for all for all 
the scores, do

\layout{
 ...
 \context{
   \Staff
   \override TimeSignature #'style = #'()
 }
}
see "Changing context default settings" in the manual for more 
information.


 /Mats


Manuel wrote:


Am 01/12/2006 um 10:21 schrieb Mats Bengtsson:




Manuel wrote:


Since you don't say what error message you get or include your 
file in the email,

it's impossible to provide any help here.


It says "gescheiterte Dateien".

In that case, I guess that you also get some more warning or error 
message
above that line, which provide more specific information. Please 
include the

full log.


Right, I will do so, no accusation and many thanks to you. Right 
now, however, I don't get any error massage at all: I wrote the 
title for the second piece and it appeared as the title for the 
first one. Here is the example:


\version "2.10.0"



\layout

{
\context {
\Score
\remove "Bar_number_engraver"

}
}



\header {
title = "Ist ein Wolf in'n Brunnen Gefallen"
arranger = " "
}

\relative b' { \set Staff.instrumentName = " 1 "  \ov

Lilypond 2.8.8 for cygwin (was: Lilypond 24.6 cygwin)

2006-12-04 Thread Thomas Scharkowski
I invoke Lilypond from  the cygwin bash.

cygcheck /usr/bin/lilypond:
--
C:/cygwin/usr/bin/lilypond - Cannot open
--

cygcheck /bin/lilypond:
--
C:/cygwin/bin\cygwin1.dll
  C:\WINDOWS\System32\ADVAPI32.DLL
C:\WINDOWS\System32\ntdll.dll
C:\WINDOWS\System32\KERNEL32.dll
C:\WINDOWS\System32\RPCRT4.dll
C:/cygwin/bin\cygfontconfig-1.dll
  C:/cygwin/bin\cygexpat-0.dll
  C:/cygwin/bin\cygfreetype-6.dll
C:/cygwin/bin\cygz.dll
C:/cygwin/bin\cygglib-2.0-0.dll
  C:/cygwin/bin\cygiconv-2.dll
  C:/cygwin/bin\cygintl-3.dll
C:/cygwin/bin\cyggobject-2.0-0.dll
C:/cygwin/bin\cygguile-17.dll
  C:/cygwin/bin\cygcrypt-0.dll
  C:/cygwin/bin\cyggmp-3.dll
  C:/cygwin/bin\cygintl-8.dll
  C:/cygwin/bin\cygltdl-3.dll
C:/cygwin/bin\cygpango-1.0-0.dll
  C:/cygwin/bin\cyggmodule-2.0-0.dll
C:/cygwin/bin\cygpangoft2-1.0-0.dll
C:/cygwin/bin\cygwin1.dll
  C:\WINDOWS\System32\ADVAPI32.DLL
C:\WINDOWS\System32\ntdll.dll
C:\WINDOWS\System32\KERNEL32.dll
C:\WINDOWS\System32\RPCRT4.dll
C:/cygwin/bin\cygfontconfig-1.dll
  C:/cygwin/bin\cygexpat-0.dll
  C:/cygwin/bin\cygfreetype-6.dll
C:/cygwin/bin\cygz.dll
C:/cygwin/bin\cygglib-2.0-0.dll
  C:/cygwin/bin\cygiconv-2.dll
  C:/cygwin/bin\cygintl-3.dll
C:/cygwin/bin\cyggobject-2.0-0.dll
C:/cygwin/bin\cygguile-17.dll
  C:/cygwin/bin\cygcrypt-0.dll
  C:/cygwin/bin\cyggmp-3.dll
  C:/cygwin/bin\cygintl-8.dll
  C:/cygwin/bin\cygltdl-3.dll
C:/cygwin/bin\cygpango-1.0-0.dll
  C:/cygwin/bin\cyggmodule-2.0-0.dll
C:/cygwin/bin\cygpangoft2-1.0-0.dll
--

lilypond.exe.stackdump:
--
Exception: STATUS_ACCESS_VIOLATION at eip=00F8C69D
eax=0057 ebx= ecx= edx=00F57037 esi=0057 
edi=00F522B0
ebp=0022BC98 esp=0022BC80 program=C:\cygwin\bin\lilypond.exe, pid 
1784, thread main
cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
0022BC98  00F8C69D  (0057, 00F522B0, 0022BCB8, 00F57037)
0022BCB8  00FA2099  (00F57037, 0057, 00F522B0, 100AF438)
0022BCE8  00F88B76  (, , 00F522B0, )
0022BD18  00F51287  (03D44902, 7FEDD170, 0004, 7FEDD1B0)
0022BD38  664F2F21  (7FEDD190, 7FEDD170, 0004, 6649F6BC)
0022BD68  6649AD7F  (7EF86398, 4E20, 0022BE08, 66495D76)
0022BD78  6649ADB1  (7FEDD1B0, 7FEDD190, 0022BDB8, 664C678A)
0022BE08  66495D76  (7EF86398, 7EF863B0, 0022BE28, 664C060A)
0022BE28  66499EFA  (7EF86398, 7FEE0200, 7FF7BEF8, 610573F4)
0022BE48  664AF4CF  (7FEE0240, 7FF7BED8, 0022BE78, 6649B9B2)
0022BED8  664968E3  (7FF7BF60, 0404, 0404, 1008A878)
0022BEF8  66499B23  (7FF7BF60, 7FF7BF08, 7FF7BFA0, 66489670)
0022BF18  664896C4  (7FF7BF18, 7FF7BF60, 7FF7BF08, 664D0B4A)
0022BFA8  66495BDA  (7FF76A78, 7FF7BF80, 7FF7C168, 1003D370)
0022C038  664969CB  (7FF7BFC8, 0404, 0404, 664968E3)
0022C058  66499B23  (7FF7BFC8, 0004, 7FF7C188, 7FF7F730)
End of stack trace (more stack frames may be present)
--

> "Thomas Scharkowski" <[EMAIL PROTECTED]> writes:
> 
> >> Bug report, please.
> > I get:
> > 
> > Segmentation fault (core dumped)
> 
> Thanks, but that's not enough for me to reproduce it.  How do you
> ivoke lilypond?  What does cygcheck /usr/bin/lilypond say?
> 
> Jan.
> 
> -- 
> Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
> http://www.xs4all.nl/~jantien   | http://www.lilypond.org




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


Re: Tutorial

2006-12-04 Thread Manuel

Thanks very much for your help, Mats!

Typesetting music with LilyPond is fun. I can't do it right, but it  
is still fun. (And actually it wasn't fun with other, commercial  
programs). It is perhaps difficult for a poor musician with no  
knowledge whatsoever of a command-line way of working to learn. I  
work with this for a couple of hours a day, but it will take me a  
while to understand, perhaps, some obvious things (that are not  
obvious to me, of course) - but please believe that I do look in the  
manual and try solutions.


Manuel

Am 04/12/2006 um 10:58 schrieb Mats Bengtsson:



 Note also that your attempt to get rid of the bar numbering fails
completely. Here's a modified version of your first example that  
hopefully

is closer to what you want:

\version "2.10.0"

\paper{
printallheaders=##t
bottom-margin = 3\cm
}

\layout{
 \context{
   \Score
   \remove "Bar_number_engraver"
 }
}

\score{
\relative b' { \set Staff.instrumentName = " 1 "  \override  
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a g2 g  
\bar "||"

}
\header{
title = "Ist ein Wolf in'n Brunnen Gefallen"
arranger = " "
}
}

\score{
\relative b' { \set Staff.instrumentName = " 2 " \key c \major  
\override Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r a4  
b c a g2 r \bar "||"

}
\header{
title = "Summ, summ, summ"
arranger = " "
}
}


   /Mats



Manuel wrote:

I wrote an instruction for the bottom margin like this:


\version "2.10.0"

\paper{
bottom-margin = 3\cm
}


and it seems to work, only the actual bottom margin is bigger than  
the 3 cm specified.


Concerning the titles for the pieces, I don't get it. I tried  
different ways, like this one:



\version "2.10.0"

\score{
\remove "Bar_number_engraver"
\header{
title = "Ist ein Wolf in'n Brunnen Gefallen"
arranger = " "
}
}


\relative b' { \set Staff.instrumentName = " 1 "  \override  
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a g2  
g \bar "||"

}





\score{
\remove "Bar_number_engraver"
\header{
title = "Summ, summ, summ"
arranger = " "
}
}

\relative b' { \set Staff.instrumentName = " 2 " \key c \major  
\override Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r  
a4 b c a g2 r \bar "||"

}

but evidently it's not right.

I also tried to separate more the last staff of the first piece  
from the first staff of the second:


\version "2.10.0"



\layout

{
\context {
\Score
\remove "Bar_number_engraver"

}
}



\relative b' { \set Staff.instrumentName = " 1 "  \override  
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a g2  
g \bar "||"

}


\overrideProperty
#"Score.NonMusicalPaperColumn"
#'line-break-system-details
#'((fixed-alignment-extra-space . 15))


\relative b' { \set Staff.instrumentName = " 2 " \key c \major  
\override Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r  
a4 b c a g2 r \bar "||"

}


but no change took place.

Manuel





Am 01/12/2006 um 11:02 schrieb Mats Bengtsson:

Right! If you specify one or more header blocks at the top level  
of the
file, the last one will be used globally for all the scores in  
the file.

If you want specific titles for each score, include the header block
within the corresponding \score{...} block:
\score{
 ...
 \header{
   ...
 }
}

\score{
 ...
 \header{
   ...
 }
}

...

If you want to set the time signature style once and for all for  
all the scores, do

\layout{
 ...
 \context{
   \Staff
   \override TimeSignature #'style = #'()
 }
}
see "Changing context default settings" in the manual for more  
information.


 /Mats


Manuel wrote:


Am 01/12/2006 um 10:21 schrieb Mats Bengtsson:




Manuel wrote:


Since you don't say what error message you get or include  
your file in the email,

it's impossible to provide any help here.


It says "gescheiterte Dateien".

In that case, I guess that you also get some more warning or  
error message
above that line, which provide more specific information.  
Please include the

full log.


Right, I will do so, no accusation and many thanks to you. Right  
now, however, I don't get any error massage at all: I wrote the  
title for the second piece and it appeared as the title for the  
first one. Here is the example:


\version "2.10.0"



\layout

{
\context {
\Score
\remove "Bar_number_engraver"

}
}



\header {
title = "Ist ein Wolf in'n Brunnen Gefallen"
arranger = " "
}

\relative b' { \set Staff.instrumentName = " 1 "  \override  
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a  
g2 g \bar "||"

}

\header {
title = "Summ, summ, summ"
arranger = " "
}

\relative b' { \set Staff.instrumentName = " 2 " \key c \major  
\override Staff.TimeSignature #'

Re: Tutorial

2006-12-04 Thread Mats Bengtsson



Manuel wrote:
As of now, there are three things between me and happiness, at least 
concerning the first half of my first work with LilyPond, so I can 
show it to people like a newborn child:


...


- I need to put the page numbering in the center. I looked in "page 
formatting" and elsewhere in the tutorial but I don't know how to do it.


That's admittedly a bit tricky to figure out yourself. Using the default 
definitions

of the header layout as a starting point, I managed to come up with
\paper{
 ...
evenHeaderMarkup = \markup
\fill-line {
 %% force the header to take some space, otherwise the
 %% page layout becomes a complete mess.
 " "
 \on-the-fly #print-page-number-check-first \fromproperty 
#'page:page-number-string

 " "
}
oddHeaderMarkup = \markup
\fill-line {
 %% force the header to take some space, otherwise the
 %% page layout becomes a complete mess.
 " "
 \on-the-fly #print-page-number-check-first \fromproperty 
#'page:page-number-string

 " "
}
}

- I need to increase or decrease the distance between a specific staff 
and the next one. Among other places I read under "Controlling spacing 
of individual systems" but did not find the information.
Do you mean distance between different lines (systems) of a score or 
between
different scores (or between different staves within each system if you 
have multiple

instruments)?

   /Mats


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


Customizing the footer with information from the current score -- possible?

2006-12-04 Thread Arvid Grøtting
Hi,

I have several multi-score "\book"s that I want to typeset, and ideally I'd like
to do this from within Lilypond (and not with lilypond-book) to take advantage
of the new line/page breaking (and to keep my tool-chain as short as possible).

Now, I know how to include a full header for each piece.  I'm comfortable enough
with customizing oddFooterMarkup et al with information that I know how to get.
 But there's some information I'd like to get at, that I'm not sure where to 
find.

Is there a way to test (within an oddFooterMarkup redefinition) which piece
(i.e. \score block) I'm in?

Can I test whether this is the first, or indeed last, page of the current \score
(as opposed to the whole book)?

I need this to typeset e.g. copyright information for each score in an
anthology, or information on separate availability (and ISMN) on each part in a
multi-part work.

Cheers,

-- 

Arvid




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


Re: proportional notation screws up score

2006-12-04 Thread Han-Wen Nienhuys
Trevor Bača escreveu:
> On 12/3/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
>> Trevor Bača escreveu:
>> > 2. There is a bug with proportional not dealing with skips correctly.
>> > Proportional notation handles notes and rests correctly. But
>> > proportional notation freaks out with skips. I noticed this some time
>> > ago but haven't really drawn any special attention to the bug because
>> > a reasonable workaround is to use a transparent rest (or transparent
>> > note) in place of a skip. But this is a problem and does need to be
>> > fixed because using this workaround can (and does) lead to all sorts
>> > of interpreter warnings about clashing note columns or unknown rest
>> > direction. Here's a snippet and I'll crosspost the bug list; to see
>> > what's going on, render the example and note that the spacing of all
>> > three scores should be identical but that the 2nd score is not:
>>
>>
>>   \override SpacingSpanner #'uniform-stretching = ##t
>>
>> seems to work over here.
> 
> OK, yes, it works here to. Can't believe I hadn't figured that out
> before ... very useful indeed.
> 
> So the observation is something like: "uniform-stretching spaces skips
> proportionally".

no, the observation is:

By default, lily will stretch the spacing *following* a symbol, and
add various tweaks depending stem directions etc.

uniform-stretching switches off all those complications.

-- 

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: Lilypond and TextMate

2006-12-04 Thread bbarros

what do I do with this file?

2006/11/29, Jacob Rus <[EMAIL PROTECTED]>:


Christian Hitz wrote:
> Hi Jacob,
>
> I used your Lilypond bundle for TextMate. While working an a few songs,
> I made some refinements to the bundle. See the attached patch.
>
> Thanks for your work.
>
> Christian

Thanks.  I've applied most of the stuff in that patch, though I just did
it manually.  Once we get some more snippets made, perhaps we can make a
screencast... that might get some more response from this list ;)
(you're the first to notice my original note as far as I can tell).

For those Mac Lilypond users who haven't tried TextMate, I really can't
recommend it enough.  And I'll reiterate what I originally said: I think
TextMate is really ideal for dealing with languages like lilypond that
have somewhat different needs from most programming languages.  The
snippets, the incredibly flexible syntax highlighting, and the ability
to integrate commands like updating code to the most recent lilypond
version, engraving, or creating midi files, make TextMate even more
useful than the venerable emacs, in my opinion (and far prettier on the
Mac ;).  Best of all, customizing TextMate is *really easy*, so even
newbies can mold it to their needs.

Cheers,
Jacob Rus



___
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


String numbers

2006-12-04 Thread Luc
Hi

Following the description in the snippet "tablature.ly" in the regressiion 
tests of Lilypond 2.10.0 I would expect string numbers in all the 4 chords!

Am I mistaken?

Thanks
Luc




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


Re: changing the appearance of noteheads

2006-12-04 Thread Trevor Bača

On 11/23/06, Martijn Vromans <[EMAIL PROTECTED]> wrote:

Thank you very much! I already tried, but it doesn't work somehow. Are there
any known bugs? Probably I just do something stupid. In the layout block I
inserted this code:

\context{
  \Staff
\override NoteCollision #'merge-differently-headed = ##t
}

It's rather strange, because it worked in another case!


Hi Martijn,

The NEWS file for 2.10 points out that the duration-log attribute of
the NoteHead grob can now be \overriden.

%%% BEGIN %%%

\version "2.10.0"

\new Staff {
 \override NoteHead #'duration-log = #1
 c'16
}

%%% END %%%


--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: changing the appearance of noteheads

2006-12-04 Thread Martijn Vromans

Thanks very much! This really IS a major advantage for some of my scores!

Thanks!

Martijn

2006/12/4, Trevor Bača <[EMAIL PROTECTED]>:


On 11/23/06, Martijn Vromans <[EMAIL PROTECTED]> wrote:
> Thank you very much! I already tried, but it doesn't work somehow. Are
there
> any known bugs? Probably I just do something stupid. In the layout block
I
> inserted this code:
>
> \context{
>   \Staff
> \override NoteCollision #'merge-differently-headed = ##t
> }
>
> It's rather strange, because it worked in another case!

Hi Martijn,

The NEWS file for 2.10 points out that the duration-log attribute of
the NoteHead grob can now be \overriden.

%%% BEGIN %%%

\version "2.10.0"

\new Staff {
  \override NoteHead #'duration-log = #1
  c'16
}

%%% END %%%


--
Trevor Bača
[EMAIL PROTECTED]

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


uniform-stretching

2006-12-04 Thread Orm Finnendahl
Hi,

I tried the uniform-stretching property but couldn't get it to work as
expected. If I understand this property correctly, it should stretch
out bars according to their time-signature regardless of skips or
rests within.

This fails (e.g. the first measure should be much wider than the
second, the last and the one before the last measure should have the
same width ...):

\version "2.11.0"

\score {
\new Staff {
\relative {
\override Score.SpacingSpanner #'uniform-stretching = ##t
\set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
\time 4/4 r1
\time 3/8 r4.
\time 5/4 r1 r4
\time 5/16 r4 r16
\time 5/8 s2 s8
\time 5/8 r2 r8
}
}
\layout {
ragged-right = ##t
}
}

Can someone help? Trevor?

--
Orm


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


Extracting parts from a .ly file?

2006-12-04 Thread Eduardo Vieira

Hello users, does anybody have a Python or Perl script to extract parts from a
.ly file and save them into a different file?

For example:
I have several files with:

soprano = {

music
 }
alto = {
music
 }
etc.
and would like to get each part in a different file (soprano.ly, alto.ly,
etc.ly) . If someone with programming skills could share such script, I'd be
very thankful. I'm using Windows XP and if it is in a language other than
Python or Perl, it is fine if it works in Windows.

Regards,

Eduardo
___
Com o Click21 você tem sempre vantagens! Além do email com 1 Gb, Acelerador, 
Blog,
Flog, Games e atendimento 24 horas, voce também pode falar minutos DDD com a
promoção Click 21 Minutos. Quanto mais você navega mais fala DDD.



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


NoteEdit?

2006-12-04 Thread Mike Blackstock

For the past while, I've been using NoteEdit for lilypond note-entry. Mainly
I'm using it to make public-domain versions of flute and guitar music,
and it seems to take care of 90% of my needs.
(see http:///www.blackstock.ca/flute_and_guitar.php and
http://www.blackstock.ca/voice_and_guitar.php )

I've seen very little mention of NoteEdit and I'm wondering, is the
project dead in the water? It seems to me to be a good base for a
GUI for lilypond.

Any ideas anyone?

Cheers,
Mike



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


GUI Interface for MAC OS X

2006-12-04 Thread Ezequiel Sierra

Does anyone know  a good GUI interface for MAC OS X?


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


Re: NoteEdit?

2006-12-04 Thread Jan Nieuwenhuizen
Mike Blackstock <[EMAIL PROTECTED]> writes:

> I've seen very little mention of NoteEdit and I'm wondering, is the
> project dead in the water?

http://canorus.berlios.de/wiki/index.php/Main_Page

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


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


Re: uniform-stretching

2006-12-04 Thread Trevor Bača

On 12/4/06, Orm Finnendahl <[EMAIL PROTECTED]> wrote:

Hi,

I tried the uniform-stretching property but couldn't get it to work as
expected. If I understand this property correctly, it should stretch
out bars according to their time-signature regardless of skips or
rests within.

This fails (e.g. the first measure should be much wider than the
second, the last and the one before the last measure should have the
same width ...):

\version "2.11.0"

\score {
\new Staff {
\relative {
\override Score.SpacingSpanner #'uniform-stretching = ##t
\set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
\time 4/4 r1
\time 3/8 r4.
\time 5/4 r1 r4
\time 5/16 r4 r16
\time 5/8 s2 s8
\time 5/8 r2 r8
}
}
\layout {
ragged-right = ##t
}
}

Can someone help? Trevor?


Hi Orm,

OK, I'm spinning out some combinations of different settings, and
getting closer.

We definitely need uniform-stretching = ##t (as you have here in your example).

I think we also need \remove Separating_line_group_engraver, as
Han-Wen mentioned in a mail yesterday. (Separating_line_group_engraver
lives in the Staff context, BTW; make sure to place the \remove there
or else Lily will silently pass over your incorrect engraver removal,
never letting you know that you've failed to remove what you thought
you were removing.)

So I've put together four score pairs; each pair comprises first notes
and then rests.

The first pair has no tweaks and shows that notes and rests of like
duration space differently by default.

The second pair removes Separating_line_group_engraver from the Staff context.

The third pair sets uniform-stretching = ##t.

The fourth pair performs both tweaks.

These examples provide a couple of useful conclusions but don't yet
solve the problem. The conclusions are:

1. Notes and rests of like duration space differently by default (as
mentioned above)

2. uniform-stretching = ##t spaces notes and rests of like duration
identically (which is what we want)

3. removing Separating_line_group_engraver by itself is not enough to
cause even spacing; but I'm including the examples with removing
Separating_line_group_engraver because other testfiles seem to show
that the removal is necessary to get true proportional spacing


More tests coming later today ...



--
Trevor Bača
[EMAIL PROTECTED]


0018.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: uniform-stretching

2006-12-04 Thread Trevor Bača

On 12/4/06, Trevor Bača <[EMAIL PROTECTED]> wrote:

On 12/4/06, Orm Finnendahl <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I tried the uniform-stretching property but couldn't get it to work as
> expected. If I understand this property correctly, it should stretch
> out bars according to their time-signature regardless of skips or
> rests within.
>
> This fails (e.g. the first measure should be much wider than the
> second, the last and the one before the last measure should have the
> same width ...):
>
> \version "2.11.0"
>
> \score {
> \new Staff {
> \relative {
> \override Score.SpacingSpanner #'uniform-stretching = ##t
> \set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
> \time 4/4 r1
> \time 3/8 r4.
> \time 5/4 r1 r4
> \time 5/16 r4 r16
> \time 5/8 s2 s8
> \time 5/8 r2 r8
> }
> }
> \layout {
> ragged-right = ##t
> }
> }
>
> Can someone help? Trevor?

Hi Orm,

OK, I'm spinning out some combinations of different settings, and
getting closer.

We definitely need uniform-stretching = ##t (as you have here in your example).

I think we also need \remove Separating_line_group_engraver, as
Han-Wen mentioned in a mail yesterday. (Separating_line_group_engraver
lives in the Staff context, BTW; make sure to place the \remove there
or else Lily will silently pass over your incorrect engraver removal,
never letting you know that you've failed to remove what you thought
you were removing.)

So I've put together four score pairs; each pair comprises first notes
and then rests.

The first pair has no tweaks and shows that notes and rests of like
duration space differently by default.

The second pair removes Separating_line_group_engraver from the Staff context.

The third pair sets uniform-stretching = ##t.

The fourth pair performs both tweaks.

These examples provide a couple of useful conclusions but don't yet
solve the problem. The conclusions are:

1. Notes and rests of like duration space differently by default (as
mentioned above)

2. uniform-stretching = ##t spaces notes and rests of like duration
identically (which is what we want)

3. removing Separating_line_group_engraver by itself is not enough to
cause even spacing; but I'm including the examples with removing
Separating_line_group_engraver because other testfiles seem to show
that the removal is necessary to get true proportional spacing


More tests coming later today ...


AHA. There *is* a genuine bug as relates to spaces screwing up
proportional notation under the circumstance that a skip *appears as
the first item in a measure*. I'll crosspost to the bug list.


--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: proportional notation screws up score

2006-12-04 Thread Trevor Bača

On 12/3/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:

Trevor Bača escreveu:
> 2. There is a bug with proportional not dealing with skips correctly.
> Proportional notation handles notes and rests correctly. But
> proportional notation freaks out with skips. I noticed this some time
> ago but haven't really drawn any special attention to the bug because
> a reasonable workaround is to use a transparent rest (or transparent
> note) in place of a skip. But this is a problem and does need to be
> fixed because using this workaround can (and does) lead to all sorts
> of interpreter warnings about clashing note columns or unknown rest
> direction. Here's a snippet and I'll crosspost the bug list; to see
> what's going on, render the example and note that the spacing of all
> three scores should be identical but that the 2nd score is not:


  \override SpacingSpanner #'uniform-stretching = ##t

seems to work over here.


AHA. Found it.

Setting uniform-stretching will make *almost* all skips work correctly
under proportional notation. However, there is in fact a genuine bug
with spaces freaking out proportional spacing, with one very specific
condition needing to be satisfied: the space must come as the very
first grob in the measure (immediately after a \time command).

Compare the three scores below: all are one-measure scores and all
three measures should be exactly the same length. Skips are fine; just
not at the beginning of the measure; and the third score fails.

%%% BEGIN %%%

\version "2.11.0"

\layout {
  ragged-right = ##t
}

\new Score \with {
  \override SpacingSpanner #'uniform-stretching = ##t
  \override SpacingSpanner #'strict-note-spacing = ##t
  proportionalNotationDuration = #(ly:make-moment 1 16)
} {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
 \time 4/4 c'4 c'4 c'4 c'4 % WORKS GREAT
  }
}

\new Score \with {
  \override SpacingSpanner #'uniform-stretching = ##t
  \override SpacingSpanner #'strict-note-spacing = ##t
  proportionalNotationDuration = #(ly:make-moment 1 16)
} {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
 \time 4/4 c'4 s4 s4 s4 % WORKS GREAT - SKIP NOT AT BEGINNING
  }
}

\new Score \with {
  \override SpacingSpanner #'uniform-stretching = ##t
  \override SpacingSpanner #'strict-note-spacing = ##t
  proportionalNotationDuration = #(ly:make-moment 1 16)
} {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
 \time 4/4 s4 s4 s4 s4 % BUG - SKIP AT BEGINNING OF MEASURE
  }
}

%%% END %%%

Will crosspost to bug.


--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: GUI Interface for MAC OS X

2006-12-04 Thread fiëé visuëlle

Am 2006-12-04 um 20:25 schrieb Ezequiel Sierra:


Does anyone know  a good GUI interface for MAC OS X?


MacOS X *is* a GUI interface for BSD Unix. :-)

If you're looking for a LilyPond GUI interface:
- LilyPad
  http://edbaskerville.com/software/lilypad/
  (very simplistic; author is sleeping, promised a new version  
several months before; I like it anyway)

- jEdit with LilyPondTool
  http://jedit.org/
  http://www.organum.hu/78.0.html
  (is said to be great, but I hate Java applications on OSX)

Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
http://www.cacert.org (I'm an assurer)




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


Re: Lilypond and TextMate

2006-12-04 Thread Jacob Rus

bbarros wrote:

what do I do with this file?


Just grab the newest Lilypond bundle out of TextMate's subversion 
repository, or grab the GetBundle bundle from http://validcode.net/stuff




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


Re: GUI Interface for MAC OS X

2006-12-04 Thread Franz Fellner
hi

> Does anyone know  a good GUI interface for MAC OS X?

I'm sure canorus will become one:
http://canorus.berlios.de
At the moment it is still a little bit spartanic (under heavy development), 
but the code and the application-design look really promising.

Greez
Franz


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


Re: uniform-stretching

2006-12-04 Thread Trevor Bača

On 12/4/06, Trevor Bača <[EMAIL PROTECTED]> wrote:

On 12/4/06, Trevor Bača <[EMAIL PROTECTED]> wrote:
> On 12/4/06, Orm Finnendahl <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I tried the uniform-stretching property but couldn't get it to work as
> > expected. If I understand this property correctly, it should stretch
> > out bars according to their time-signature regardless of skips or
> > rests within.
> >
> > This fails (e.g. the first measure should be much wider than the
> > second, the last and the one before the last measure should have the
> > same width ...):
> >
> > \version "2.11.0"
> >
> > \score {
> > \new Staff {
> > \relative {
> > \override Score.SpacingSpanner #'uniform-stretching = ##t
> > \set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
> > \time 4/4 r1
> > \time 3/8 r4.
> > \time 5/4 r1 r4
> > \time 5/16 r4 r16
> > \time 5/8 s2 s8
> > \time 5/8 r2 r8
> > }
> > }
> > \layout {
> > ragged-right = ##t
> > }
> > }
> >
> > Can someone help? Trevor?
>
> Hi Orm,
>
> OK, I'm spinning out some combinations of different settings, and
> getting closer.
>
> We definitely need uniform-stretching = ##t (as you have here in your 
example).
>
> I think we also need \remove Separating_line_group_engraver, as
> Han-Wen mentioned in a mail yesterday. (Separating_line_group_engraver
> lives in the Staff context, BTW; make sure to place the \remove there
> or else Lily will silently pass over your incorrect engraver removal,
> never letting you know that you've failed to remove what you thought
> you were removing.)
>
> So I've put together four score pairs; each pair comprises first notes
> and then rests.
>
> The first pair has no tweaks and shows that notes and rests of like
> duration space differently by default.
>
> The second pair removes Separating_line_group_engraver from the Staff context.
>
> The third pair sets uniform-stretching = ##t.
>
> The fourth pair performs both tweaks.
>
> These examples provide a couple of useful conclusions but don't yet
> solve the problem. The conclusions are:
>
> 1. Notes and rests of like duration space differently by default (as
> mentioned above)
>
> 2. uniform-stretching = ##t spaces notes and rests of like duration
> identically (which is what we want)
>
> 3. removing Separating_line_group_engraver by itself is not enough to
> cause even spacing; but I'm including the examples with removing
> Separating_line_group_engraver because other testfiles seem to show
> that the removal is necessary to get true proportional spacing
>
>
> More tests coming later today ...

AHA. There *is* a genuine bug as relates to spaces screwing up
proportional notation under the circumstance that a skip *appears as
the first item in a measure*. I'll crosspost to the bug list.


Hi Orm,

So, in the meantime you can use replace skips with transparent rests
as a workaround to the measure-initial skip bug. The last two measures
in 5/8 are uneven with skips (in the first score) and completely even
with transparent rests (in the second score).

%%% BEGIN %%%

\version "2.11.0"

\layout {
  ragged-right = ##t
}

\score {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
  \relative {
  \override Score.SpacingSpanner #'uniform-stretching = ##t
  \set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
  \time 4/4 r1
  \time 3/8 r4.
  \time 5/4 r1 r4
  \time 5/16 r4 r16
  \time 5/8 s2 s8 % Uneven
  \time 5/8 r2 r8   % Uneven
  }
  }
}

\score {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
  \relative c' {
  \override Score.SpacingSpanner #'uniform-stretching = ##t
  \set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
  \time 4/4 r1
  \time 3/8 r4.
  \time 5/4 r1 r4
  \time 5/16 r4 r16
  \override Rest #'transparent = ##t
  \time 5/8 r2 r8
  \revert Rest #'transparent
  \time 5/8 r2 r8
  }
  }
}

%%% END %%%

So the transparent rest workaround should help until we can fix the
measure-initial skip bug.

What's odd, though, is how short that first measure in 4/4 is ... can
we get a minimal (one- or two-measure) example that shows that overly
shortened first measure?


--
Trevor Bača
[EMAIL PROTECTED]


transparent-rests.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Complex piano score

2006-12-04 Thread Palmer, Ralph
Greetings -

This is not about a bug or a specific problem; rather, it's a request
for advice.

I'm running LilyPond 2.10 under WinXP SP2.

I'm transcribing a complex piano score with a lot of markup and one to
four voices. Each voice is silent for up to many measures at times. I
would like to be able to check the score measure by measure, as I
transcribe it.

It looks like there are multiple strategies for producing such a score.
Do any of you have a favorite strategy you'd be willing to share? I've
looked at the LilyPond examples and the User Manual, but nothing
appropriate jumps out at me.

Thanks for your time and attention,

Ralph
+
Ralph Palmer
Energy/Administrative Coordinator
Keene State College
Keene, NH 03435-2502
Phone: 603-358-2230
Cell: 603-209-2903
Fax: 603-358-2456
[EMAIL PROTECTED]


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


Re: Complex piano score

2006-12-04 Thread Graham Percival

Palmer, Ralph wrote:

It looks like there are multiple strategies for producing such a score.
Do any of you have a favorite strategy you'd be willing to share? I've
looked at the LilyPond examples and the User Manual, but nothing
appropriate jumps out at me.


I have no experience at producing such scores, but did you notice 6.4.9 
Writing music in parallel ?


Cheers,
- Graham


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


using an older tex file

2006-12-04 Thread Charles Gran
Hi,

I have a tex document that I created with version 2.7.40 (I think) and haven't
updated it in a while, but want to now, don't have that version installed,
installed the new version, and can't get it to ouptu successfully.  I've
attached the windows output and the beginning of the doc.

Can someone help me?

D:\Docs2\1\final>lilypond-book --psfonts test5-Final.lytex
lilypond-book.py (GNU LilyPond) 2.10.0
Reading test5-Final.lytex...
Running latex...This is TeX, Version 3.14159 (MiKTeX 2.1)
(c:/temp/tmpzftf8t.tex
LaTeX2e <2000/06/01>
Babel  and hyphenation patterns for english, french, german, ngerman, du
mylang, nohyphenation, loaded.

(C:\texmf\tex\latex\base\report.cls
Document Class: report 2000/05/19 v1.4b Standard LaTeX document class
(C:\texmf\tex\latex\base\size12.clo)) (C:\texmf\tex\latex\tools\enumerate.sty)
(C:\texmf\tex\latex\graphics\graphics.sty (C:\texmf\tex\latex\graphics\trig.sty
) (C:\texmf\tex\latex\00miktex\graphics.cfg)
(C:\texmf\tex\latex\graphics\dvips.def))
No file tmpzftf8t.aux.
textwidth=390.0pt
columnsep=10.0pt
(tmpzftf8t.aux) )
No pages of output.
Transcript written on tmpzftf8t.log.
Dissecting...
Writing snippets...
Processing...
Running lilypond...GNU LilyPond 2.10.0
Processing `D:/Docs2/1/final/snippet-map.ly'
Parsing...
Processing `D:/Docs2/1/final/lily-1180379026.ly'
Parsing...
D:/Docs2/1/final/lily-1180379026.ly:286:1: error: GUILE signaled an error for th
e expression beginning here
#
 (set! toplevel-score-handler ly:parser-print-score)
Unbound variable: ly:parser-print-score
D:/Docs2/1/final/lily-1180379026.ly:286:5: error: syntax error, unexpected '!',
expecting '='
#(set
 ! toplevel-score-handler ly:parser-print-score)
ERROR: Unbound variable: ly:parser-print-score
command failed: lilypond -b eps -I  "D:\\Docs2\\1\\final" --formats=eps  -dread-
file-list -deps-box-padding=-3  snippet-names
Child returned 1

==
%\version "2.7.40"

\documentclass[12pt,letterpaper]{report}
\usepackage{enumerate}
\usepackage{graphics}
\begin{document}
\section*{Music 1 - Final}
\begin{enumerate}[I.]

%-
\item General Questions
\begin{enumerate}[1.]
\item In 3/4 what is the meaning of:
\begin{enumerate}[a.]
\item the top number
\item the bottom number
\end{enumerate}

\item In 6/8 what is the meaning of:
\begin{enumerate}[a.]
\item the top number
\item the bottom number
\end{enumerate}
\end{enumerate} 
%-
 \item Label the following time signatures as:
\begin{itemize}
 \item Simple or compound
 \item Duple, Triple, or Quadruple
 \item Draw the pulse (beat) note
\end{itemize}

\begin{lilypond}
\score {
  { 
 \time 6/4
s1
  }
  \layout {
indent = 0\in
\context {
  \Staff
  \remove Staff_symbol_engraver
  \remove Clef_engraver
  \remove Bar_engraver
}
\context {
  \Score
  \remove Bar_number_engraver
}
  }
}
\end{lilypond}



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


Re: a2 paper

2006-12-04 Thread Graham Percival

James Bailey wrote:
I was wondering if you ever got this to work and what OS you're using. 
I've been able to successfully edit paper.scm and got it to work on 
Windows, unfortunately, my primary platform is Mac OSX, and I can't get 
it to work there.


Please keep lilypond emails on the mailist.

Editing scm should work on all platforms.  What error message did you 
get when you tried it on OSX?  Note that you need to edit the paper.scm 
that's inside the LilyPond.app.


Cheers,
- Graham


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


Re: a2 paper

2006-12-04 Thread James E. Bailey
I edit the file successfully. The same file that works on windows, on macintosh 
generates a PDF that's rotated landscape. I am editing the paper.scm inside the 
lilypond app.

Here's what happens. I compile the file in lilypond, and the pdf that is 
generated is my new paper size, but the paper is rotated landscape.
If I open the postscript in preview, in renders a pdf on letter size paper (the 
default)
I can change the default paper in Adobe distiller to my new size paper and run 
the postscript through that to get the proper paper size.

Is it possible to embed the paper size in the postscript that lilypond 
generate?. That seems to be the step that's missing.


On Monday, December 04, 2006, at 02:34PM, "Graham Percival" <[EMAIL PROTECTED]> 
wrote:
>James Bailey wrote:
>> I was wondering if you ever got this to work and what OS you're using. 
>> I've been able to successfully edit paper.scm and got it to work on 
>> Windows, unfortunately, my primary platform is Mac OSX, and I can't get 
>> it to work there.
>
>Please keep lilypond emails on the mailist.
>
>Editing scm should work on all platforms.  What error message did you 
>get when you tried it on OSX?  Note that you need to edit the paper.scm 
>that's inside the LilyPond.app.
>
>Cheers,
>- Graham
>
>


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


odd choral score problem

2006-12-04 Thread James E. Bailey
So, I'm creating a choral score and having some difficulties. First of all, I 
put everything in separate files because it's just easier for me to find errors 
that way, so posting music would be a bit difficult, I'll explain everything as 
well as I can.

I have "SopranoMusic" defined in its own file. I have "sopranolyrics" defined 
in its own file. I also have a sopranoscore file that puts the two together so 
I can see the output and check things before I start putting a choral score 
together. I have these files defined for all of my voice parts. And I also have 
an "open score" version file that compiles all of the music and lyrics together 
into an open score, and am just now creating a "closed score" version for my 
final version.

Each part creates a pdf that is perfect individually. The open score creates a 
pdf that is perfect. The closed score version has odd lyric placement issues 
after extended rests. These issues do not occur in the solo part versions or 
the open score version. Specifically, after a rest of more than a measure, the 
lyrics are shifted over. I don't really understand it. Is there something I'm 
missing. I just edited the choral score template from the 2.10 tutorial.


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


Re: Measure-initial spaces confuse propotional spacing

2006-12-04 Thread Trevor Bača

On 12/4/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:

Trevor Bača escreveu:
> \new Score \with {
>   \override SpacingSpanner #'uniform-stretching = ##t
>   \override SpacingSpanner #'strict-note-spacing = ##t
>   proportionalNotationDuration = #(ly:make-moment 1 16)

try adding

  \override PaperColumn #'stencil = #ly:paper-column::print
  \override PaperColumn #'used = ##t


It works perfectly. Once again I retract the bug report.

%%% BEGIN %%

\version "2.11.0"

\layout {
  ragged-right = ##t
}

\new Score \with {
  \override SpacingSpanner #'uniform-stretching = ##t
  \override SpacingSpanner #'strict-note-spacing = ##t
  proportionalNotationDuration = #(ly:make-moment 1 16)
  \override PaperColumn #'stencil = #ly:paper-column::print
  \override PaperColumn #'used = ##t
} {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
 \time 4/4 c'4 c'4 c'4 c'4 % WORKS GREAT
  }
}

\new Score \with {
  \override SpacingSpanner #'uniform-stretching = ##t
  \override SpacingSpanner #'strict-note-spacing = ##t
  proportionalNotationDuration = #(ly:make-moment 1 16)
  \override PaperColumn #'stencil = #ly:paper-column::print
  \override PaperColumn #'used = ##t
} {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
 \time 4/4 c'4 s4 s4 s4 % WORKS GREAT - SKIP NOT AT BEGINNING
  }
}

\new Score \with {
  \override SpacingSpanner #'uniform-stretching = ##t
  \override SpacingSpanner #'strict-note-spacing = ##t
  proportionalNotationDuration = #(ly:make-moment 1 16)
  \override PaperColumn #'stencil = #ly:paper-column::print
  \override PaperColumn #'used = ##t
} {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
 \time 4/4 s4 s4 s4 s4 % WORKS FINE WITH SKIP AT BEGINNING OF MEASURE
  }
}

%%% END %%%

Of the two PaperColumn overrides ...

  \override PaperColumn #'stencil = #ly:paper-column::print
  \override PaperColumn #'used = ##t

... it is setting 'used = ##t that is necessary for measure-initial
skips to space proportionally; setting stencil labels the paper
columns and musical durations (in fractions of a whole note) for
debugging. (See attached.)

This helps tremendously. Getting much closer to the right spacing for
Orm's violin score ...



--
Trevor Bača
[EMAIL PROTECTED]


PaperColumn.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Complex piano score

2006-12-04 Thread Trevor Bača

On 12/4/06, Palmer, Ralph <[EMAIL PROTECTED]> wrote:

Greetings -

This is not about a bug or a specific problem; rather, it's a request
for advice.

I'm running LilyPond 2.10 under WinXP SP2.

I'm transcribing a complex piano score with a lot of markup and one to
four voices. Each voice is silent for up to many measures at times. I
would like to be able to check the score measure by measure, as I
transcribe it.

It looks like there are multiple strategies for producing such a score.
Do any of you have a favorite strategy you'd be willing to share? I've
looked at the LilyPond examples and the User Manual, but nothing
appropriate jumps out at me.

Thanks for your time and attention,

Ralph


Hi Ralph,

Could you post a (small) scan of the representative part of the score?
Different score textures sometimes have different best practices for
input.

(There's a 64k attachment limit on the list, FYI, so adust the scan.)

--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: uniform-stretching

2006-12-04 Thread Trevor Bača

On 12/4/06, Trevor Bača <[EMAIL PROTECTED]> wrote:

On 12/4/06, Trevor Bača <[EMAIL PROTECTED]> wrote:
> On 12/4/06, Trevor Bača <[EMAIL PROTECTED]> wrote:
> > On 12/4/06, Orm Finnendahl <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I tried the uniform-stretching property but couldn't get it to work as
> > > expected. If I understand this property correctly, it should stretch
> > > out bars according to their time-signature regardless of skips or
> > > rests within.
> > >
> > > This fails (e.g. the first measure should be much wider than the
> > > second, the last and the one before the last measure should have the
> > > same width ...):
> > >
> > > \version "2.11.0"
> > >
> > > \score {
> > > \new Staff {
> > > \relative {
> > > \override Score.SpacingSpanner #'uniform-stretching = ##t
> > > \set Score.proportionalNotationDuration = #(ly:make-moment 8 
50)
> > > \time 4/4 r1
> > > \time 3/8 r4.
> > > \time 5/4 r1 r4
> > > \time 5/16 r4 r16
> > > \time 5/8 s2 s8
> > > \time 5/8 r2 r8
> > > }
> > > }
> > > \layout {
> > > ragged-right = ##t
> > > }
> > > }
> > >
> > > Can someone help? Trevor?


Hi Orm,

OK, and overriding PaperColumn used to ##t (together with uniform
stretching) evens out the last two measures in 5/8 perfectly (with no
need to resort to the transparent Rest workaround).

%%% BEGIN %%%

\version "2.11.0"

\layout {
  ragged-right = ##t
}

\score {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
  \relative {
  \override Score.SpacingSpanner #'uniform-stretching = ##t
  \set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
   \override Score.PaperColumn #'used = ##t
  \time 4/4 r1
  \time 3/8 r4.
  \time 5/4 r1 r4
  \time 5/16 r4 r16
  \time 5/8 s2 s8
  \time 5/8 r2 r8
  }
  }
}

\score {
  \new Staff \with {
 \remove Separating_line_group_engraver
  } {
  \relative c' {
  \override Score.SpacingSpanner #'uniform-stretching = ##t
  \set Score.proportionalNotationDuration = #(ly:make-moment 8 50)
   \override Score.PaperColumn #'used = ##t
  \time 4/4 r1
  \time 3/8 r4.
  \time 5/4 r1 r4
  \time 5/16 r4 r16
  \time 5/8 s2 s8
  \time 5/8 r2 r8
  }
  }
}

%%% END %%%

I still don't understand why that initial measure in 4/4 is so short, though ...

So the list of settings to use so far is:


1. \set proportionalNotationDuration = #(ly:make-moment n d) (in the Score)
2. \override SpacingSpanner #'uniform-stretching = ##t (in the Score)
3. \override PaperColumn #'used = ##t (in the Score)
4. \remove Separating_line_group_engraver (in the Staff)

In addition, if you want "true" proportional notation (where time
signatures and clefs and accidentals consume no space), then set

5. \override SpacingSpanner #'strict-note-spacing = ##t (in the Score)

This should now be much closer.

Also, some other contemporary best practices I use almost all the time are:

Score:
6. allowBeamBreak = ##t
7. autoBeaming = ##f
8. tupletFullLength = ##t
9. \override Beam #'break-overshoot = #'(-0.5 . 1.0)
10. \override SpacingSpanner #'strict-grace-spacing = ##t
11. \override TupletBracket #'bracket-visibility = ##t

Voice:
12. \remove Forbid_line_break_engraver

Most of these additional settings aid in letting tuplet brackets and
beams break across two or even three lines, and so may not be as
useful in your current score. But if you do have sections with many
measured spanners, consider the settings above for a starting point.


--
Trevor Bača
[EMAIL PROTECTED]


PaperColumn-2.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: svg backend

2006-12-04 Thread Julian Peterson
Howdy.  I sent this a few days ago, but haven't gotten a response.  I 
have found several emails in the mailing lists reporting similar 
problems, but haven't found a solution.  Is this an error with lilypond 
or with my understanding?  Any pointers would be appreciated.  Thanks...

JP


Julian Peterson wrote:

Hello.

I'm trying to use the svg backend of 2.8.8 but am getting the 
following error:

warning: can't decypher Pango description: Century Schoolbook

(this actually occurs many, many times, probably once for each 
instance of text).  When I open the svg file with inkscape, I am 
presented with a single blank page (the input is a 6 page score).  The 
manual states that it will dump a separate file for each page, but 
only one file is generated.


I've copied the OTF fonts to ~/.fonts as suggested by the manual.  
What else am I missing?


Thanks,
Julian Peterson





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


Re: odd choral score problem

2006-12-04 Thread Mats Bengtsson
Impossible to say without seeing your .ly files. Could you please try to 
reduce
your example to a few lines of code that illustrates the problem (it may 
very

well happent that you find the problem yourself during that process).

  /Mats

James E. Bailey wrote:

So, I'm creating a choral score and having some difficulties. First of all, I 
put everything in separate files because it's just easier for me to find errors 
that way, so posting music would be a bit difficult, I'll explain everything as 
well as I can.

I have "SopranoMusic" defined in its own file. I have "sopranolyrics" defined in its own file. I 
also have a sopranoscore file that puts the two together so I can see the output and check things before I start 
putting a choral score together. I have these files defined for all of my voice parts. And I also have an "open 
score" version file that compiles all of the music and lyrics together into an open score, and am just now 
creating a "closed score" version for my final version.

Each part creates a pdf that is perfect individually. The open score creates a 
pdf that is perfect. The closed score version has odd lyric placement issues 
after extended rests. These issues do not occur in the solo part versions or 
the open score version. Specifically, after a rest of more than a measure, the 
lyrics are shifted over. I don't really understand it. Is there something I'm 
missing. I just edited the choral score template from the 2.10 tutorial.


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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: NoteEdit?

2006-12-04 Thread Daniel Tonda

I've tried canorus but it does not seem to be stable enough, plus it lacks
basic functionality yet. Noteedit (2.8), seems to be the latest and exports
old lilypond-code but with the convert-ly script there's no problem.

Daniel Tonda C.

2006/12/4, Jan Nieuwenhuizen <[EMAIL PROTECTED]>:


Mike Blackstock <[EMAIL PROTECTED]> writes:

> I've seen very little mention of NoteEdit and I'm wondering, is the
> project dead in the water?

http://canorus.berlios.de/wiki/index.php/Main_Page

Jan.

--
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


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





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