Re: multimeasure rest on single line DrumStaff

2008-03-04 Thread Mats Bengtsson

Try setting
   \override MultiMeasureRest #'staff-position = #0.01
If you look in the source code, you will see that it treats the case
staff-position=0.0 (i.e. the default setting) specially, so what my
proposed workaround does is simply to fool LilyPond.

   /Mats

Reinhold Kainhofer wrote:

Am Montag, 3. März 2008 schrieb Risto Vääräniemi:
  

Hi Orm,
I was struggling with the same thing two months back and then I just
lowered the rests by one "space unit". \override
RhythmicStaff.MultiMeasureRest #'extra-offset = #'(0.0 . -1.0)



Unfortunately, this messes up real multi-measure rests... See attached 
example.


Cheers,
Reinhold
  



___
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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: Staff spacing and collisions

2008-03-04 Thread Mats Bengtsson



Oscar van Eijk wrote:

Hi All,

I'm 'Lilyponding' a small prelude I wrote. It's only one page, but I
can't get it without collisions.

I attached a PNG, if that's not clear enough; the PDF is at
http://vaneyck.terra-terra.com/Senorio.de.los.Llanos.pdf.

My problem is mainly the slur above bars 19 and 20 that collide with the
Pedal sign of bar 14.
  
It looks like a bug to me that you get this collision, even though I 
guess that
LilyPond makes some approximations to the actual slur shape when it 
calculates
the vertical spacing. Can you please send a .ly file example (as small 
as possible)

to bug-lilypond.

It could easily be solved if the staff space of the second line would be
decreased a bit, but I can't find how to achieve that.
  
I don't really understand what kind of solution you want. The natural 
solution

would be to increase the spacing between the two systems (score lines).
One trick to do that, if everything else fails, is described in
http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00454.html

   /Mats


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


Text woes

2008-03-04 Thread Timothy S. Nelson
	Hi all again, and thanks for your help so far.  Now I'm having trouble 
with text.  But before I start on the individual technical problems, I'd like 
some general advice.


	As an example, I want a rallentando in my piece of music for 4 
instruments.  What I need first is advice.  I've been using the rehearsal 
marks for instructions that apply to the piece as a whole, and the ordinary 
marks for the instructions that apply to the individual instruments.  Is this 
what I should be doing, or should I mark them each individually?  Or some 
other option?


Thanks for any advice,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: [EMAIL PROTECTED]| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI D G+ e++> h! y-

-END GEEK CODE BLOCK-


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


Re: Chord changes under voltas?

2008-03-04 Thread eric raeburn

Thanks for the reference to LSR; very useful resource.
-Eric


Valentin Villenave wrote:

2008/3/2, Mats Bengtsson <[EMAIL PROTECTED]>:
  

You can't have searched very thoroughly, this topic has
 been discussed several times on the mailing lists.



There's also http://lsr.dsi.unimi.it/LSR/Item?id=273

 "Volta brackets over chord names": the name says it all!

Cheers,
Valentin

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


Re: multimeasure rest on single line DrumStaff

2008-03-04 Thread Orm Finnendahl
Hi all,

Am 04. März 2008, 00:42 Uhr (+0200) schrieb Risto Vääräniemi:
> 
> However, as Reinhold pointed out, if you use multi-measure rests to
> "skip" measures you have to revert the extra-offset for that period.
> Assuming you always know when the kip takes place.
> \revert DrumStaff .MultiMeasureRest #'extra-offset

I think there should be a mechanism to set the MM-Rest offset for
skipped measures separately from the MM-Rest offset of one measure
rests, as this is the common practice and probably needed by anybody
using single line staff systems.

Thanks to all for the help!

--
Orm


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


Re: Problem with \transpose and \cueDuring

2008-03-04 Thread Reinhold Kainhofer
Am Dienstag, 4. März 2008 schrieb Han-Wen Nienhuys:
> 2008/3/3, Reinhold Kainhofer <[EMAIL PROTECTED]>:
> > I'm currently investigating how to properly write transposing
> > instruments. Since their voices are also used in cue notes, the best way
> > is to write them
>
> I don't understand this remark: this is exactly why we have the
> \transposition feature; why doesn't that do what you need?

Oops, sorry, I didn't read that part of the documentation thoroughly 
enough ;-( I only saw MIDI in capitals, looked at the example (where the 
\transposition does not have any effect on the output) and assumed it would 
only work on MIDI. 

Of course, it works just fine. Thanks for the hint!
Reinhold
-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/


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


Re: Autobeaming with subdivision in 4/4

2008-03-04 Thread Hans Aberg


On 3 Mar 2008, at 22:32, Hugo Flordal wrote:


OK, thanks, that's one solution... but I guess that is not
the "right" way of doing it?


The problem is that you want to beam differently than implied by the  
time signature you want to write. So you want to beam in what might  
be described as 8 = (1+1)+(1+1)+(1+1)+(1+1), whereas the common  
interpretation of 4 is (1+1)+(1+1) or perhaps 1+1+1+1. If taken  
literally, your beaming implies that the 4/4 has one primary accent,  
and on the 1/4s have secondary accents. Then each 1/4 has a yet  
subordinate accent on the second 1/8 of it. And LilyPond does not a  
dedicated function doing just that, though it might be possible to do  
write one.


  Hans Åberg




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


Re: lilypond-book with multi-dir projects

2008-03-04 Thread Mats Bengtsson



Graham Percival wrote:

On Mon, 03 Mar 2008 23:30:48 +0100
John Mandereau <[EMAIL PROTECTED]> wrote:

  

I (or somebody else) will fix that, but unfortunately, I won't have
time for any serious contribution to LilyPond before a couple of
weeks.  I'm sure I have some time again after April 3th, that's all.



Ok, for your list:
lilypond-book --out=/tmp/ foo.lytex

should imply -I=/tmp/  otherwise lilypnod-book will never find
foo.tex and will then always recreate foo.tex.
(alternately, just improve the searching for the old .tex file)

  

I don't exactly understand what problem you are referring to. Is it that you
have lines like
\input{includedfile}
or
\input{includedfile.lytex}
and that lilypond-book doesn't find the includedfile.{tex,lytex} file?
However, why should the unprocessed includedfile.tex file be located
in /tmp/? This is where the processed output file will be placed, so
having the original input file in that temporary directory seems silly.

On the other hand, as far as I can see, lilypond-book will not find such
an \input:ted file even if you specify it's location using -I. Rather, 
it will

search using the same mechanism as is used within LaTeX to search for
files. In other words, you should add the directory to the TEXINPUTS
search path to make lilypond-book find it.

  /Mats


Cheers,
- Graham


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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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: clefs and positioning

2008-03-04 Thread Reinhold Kainhofer
Am Dienstag, 4. März 2008 schrieb Timothy C Litwiller:
> Thanks so much for that.  It looks like it is working very well.

You're welcome. Note, however, that the clef you are generating is effectively 
the same as "treble_8", since the C clef defines the position of the middle 
c. So I suppose the piece is for two tenors and to basses, not for female 
voice, right?

Cheers,
Reinhold

-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/


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


Re: Problem with \transpose and \cueDuring

2008-03-04 Thread Mats Bengtsson

In the GDP docs, this issue is mentioned both in the sections on
"Instrument transpositions" and "Quoting other voices". Do you
think it needs further clarification?

  /Mats

Reinhold Kainhofer wrote:

Am Dienstag, 4. März 2008 schrieb Han-Wen Nienhuys:
  

2008/3/3, Reinhold Kainhofer <[EMAIL PROTECTED]>:


I'm currently investigating how to properly write transposing
instruments. Since their voices are also used in cue notes, the best way
is to write them
  

I don't understand this remark: this is exactly why we have the
\transposition feature; why doesn't that do what you need?



Oops, sorry, I didn't read that part of the documentation thoroughly 
enough ;-( I only saw MIDI in capitals, looked at the example (where the 
\transposition does not have any effect on the output) and assumed it would 
only work on MIDI. 


Of course, it works just fine. Thanks for the hint!
Reinhold
  


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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: lilypond-book with multi-dir projects

2008-03-04 Thread Graham Percival
On Tue, 04 Mar 2008 11:00:57 +0100
Mats Bengtsson <[EMAIL PROTECTED]> wrote:

> Graham Percival wrote:
> > lilypond-book --out=/tmp/ foo.lytex
> >
> > should imply -I=/tmp/  otherwise lilypnod-book will never find
> > foo.tex and will then always recreate foo.tex.
> > (alternately, just improve the searching for the old .tex file)
> >
> >   
> I don't exactly understand what problem you are referring to. Is it
> that you have lines like
> \input{includedfile}
> or
> \input{includedfile.lytex}

No; just take the simplest possible .lytex file (such as the
template from the docs).  Run
  lilypond-book --pdf --out=/tmp foo.lytex
  lilypond-book --pdf --out=/tmp foo.lytex

Both times, it compiles all the lilypond snippets and creates a
new foo.tex in /tmp/.  I think this is because lilypnod-book looks
for a foo.tex in the same directory, instead of looking in the
output directory.

If you add -I=/tmp/  then lilypond-book won't recompile all the
snippets on the second (idential) run.  This works fine for me,
but since John's familiar with lilypnod-book, python, and was
offering, I figured it was worth mentioning.

Cheers,
- Graham


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


Re: lilypond-book with multi-dir projects

2008-03-04 Thread Mats Bengtsson



Graham Percival wrote:


No; just take the simplest possible .lytex file (such as the
template from the docs).  Run
  lilypond-book --pdf --out=/tmp foo.lytex
  lilypond-book --pdf --out=/tmp foo.lytex

Both times, it compiles all the lilypond snippets and creates a
new foo.tex in /tmp/.  I think this is because lilypnod-book looks
for a foo.tex in the same directory, instead of looking in the
output directory.
  

That's a regression bug compared to version 2.10.33!

  /Mats


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


Re: Autobeaming with subdivision in 4/4

2008-03-04 Thread Hugo Flordal
On Tue, 4 Mar 2008, Hans Aberg wrote:
>
> On 3 Mar 2008, at 22:32, Hugo Flordal wrote:
> >
> > OK, thanks, that's one solution... but I guess that is 
> > not the "right" way of doing it? Another way to do it is 
> > to run these lines instead of the 4/4 specific ones I 
> > gave in the example file.
> >
> > #(override-auto-beam-setting '(end * * * *) 1 4 'Voice)
> > #(override-auto-beam-setting '(end * * * *) 2 4 'Voice)
> > #(override-auto-beam-setting '(end * * * *) 3 4 'Voice)
> >
> > Then (surprisingly(?)) it works fine, and the output 
> > looks great. However, I do not want */* rules since I 
> > want to place these lines in a generic definition file 
> > that I \include everywhere, which would mess up all non 
> > */4 scores. (Right now I have a beautiful definition 
> > file where everything but the auto-beaming is configured 
> > nicely for my scottish snare drumming needs.)
> >   So... can it be done "the right way" (presumably by 
> > reverting and overriding the auto-beaming rules(?))? Or 
> > perhaps these are bugs that I, as a user, can not 
> > overcome without hacks like these?
> >
> >   thanks
> > hguo
> >
>
> The problem is that you want to beam differently than 
> implied by the time signature you want to write. So you 
> want to beam in what might be described as 8 = 
> (1+1)+(1+1)+(1+1)+(1+1), whereas the common interpretation 
> of 4 is (1+1)+(1+1) or perhaps 1+1+1+1. If taken 
> literally, your beaming implies that the 4/4 has one 
> primary accent, and on the 1/4s have secondary accents. 
> Then each 1/4 has a yet subordinate accent on the second 
> 1/8 of it. And LilyPond does not a dedicated function 
> doing just that, though it might be possible to do write 
> one.
> 
>  Hans Åberg

Thank you for the reply, but I'm not sure I get it... Are 
you saying (indirectly) that when I set the beatLength to 
1/8, I implicitly change the timing to 8/8? Should I then 
use 8/8 beaming rules? Is that why my 4/4 auto-beam rules do 
not work but the */* rules do? I will eagerly try this as 
soon as I can... that would solve my problems and also 
explain some of the strange behaviour of the auto-beams.
  For the general discussion, my interpretation of beam 
subdivision is something that is orthogonal to the beaming 
given by the timing. E.g. for 6/8 I could very well want 
beams of length 3/8 with subdivision on either 1/8 or 3/16 
(or no subdivision at all), depending on musical beat, 
esthetics, readability, or for whatever reason. 
Subdividision on "beats" is just a special case!
  Unfortunately, in lilypond, subdivision is tied to the 
timing, since both use the "beatLength" property. A separate 
property for setting the subdivision length would have been 
more generic... is that hard to implement, you think? 

  thanks again
Hugo___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Autobeaming with subdivision in 4/4

2008-03-04 Thread Hugo Flordal
OK, thanks, that's one solution... but I guess that is not 
the "right" way of doing it? Another way to do it is to run 
these lines instead of the 4/4 specific ones I gave in the 
example file.

#(override-auto-beam-setting '(end * * * *) 1 4 'Voice)
#(override-auto-beam-setting '(end * * * *) 2 4 'Voice)
#(override-auto-beam-setting '(end * * * *) 3 4 'Voice)

Then (surprisingly(?)) it works fine, and the output looks 
great. However, I do not want */* rules since I want to 
place these lines in a generic definition file that I 
\include everywhere, which would mess up all non */4 scores. 
(Right now I have a beautiful definition file where 
everything but the auto-beaming is configured nicely for my 
scottish snare drumming needs.)
  So... can it be done "the right way" (presumably by 
reverting and overriding the auto-beaming rules(?))? Or 
perhaps these are bugs that I, as a user, can not overcome 
without hacks like these?

  thanks
hguo

On Sun, 2 Mar 2008, Hans Aberg wrote:

> 
> On 2 Mar 2008, at 17:12, Hugo Flordal wrote:
> 
> >  I have problems getting autobeaming to work together with beam subdivision
> > in
> > 4/4 timing. I'm typesetting for the scottish snare drum and there are two
> > requirements that need to be fulfilled,
> > 
> >  * beams should always start and end on even quarters (and nowhere else),
> > and
> >  * beams should be subdivided on eighths.
> 
> Perhaps something like:
> 
>  \time 8/8
>  \set beatGrouping = #'(1 1 1 1 1 1 1 1)
>  \set subdivideBeams = ##t
>  #(override-auto-beam-setting '(end * * 8 8) 2 8)
>  #(override-auto-beam-setting '(end * * 8 8) 4 8)
>  #(override-auto-beam-setting '(end * * 8 8) 6 8)
> 
> And then figure out how to draw a 4-time time signature.
> 
>  Hans Åberg
> 
> 
> \version "2.10.33"
> 
> % Header
> \header {
>  title = "Quarter beams with subdivision, minimal test"
>  tagline = ##f
> }
> 
> myautobeams = {
>  \set beatGrouping = #'(1 1 1 1 1 1 1 1)
>  \set subdivideBeams = ##t
>  #(override-auto-beam-setting '(end * * 8 8) 2 8)
>  #(override-auto-beam-setting '(end * * 8 8) 4 8)
>  #(override-auto-beam-setting '(end * * 8 8) 6 8)
> }
> 
> % Music
> {
>  %% Time
>  \time 8/8
>  {
>%% Change auto beam behaviour
>\myautobeams
> 
>   %% First measure
>   \partial 8 {
>   d8:32(
>   }
>   \repeat volta 2 {
> d->) \times 2/3 {c16 d c} d8-> c16. d32-> c16. d32-> c d c d c8-> c
>   }
>  }
> }
> 
> 


Hugo Flordal +46 704 74 69 52 (cell)
Kansligränd 5+46 8 594 318 19 (home)
141 63 Huddinge
Sweden  [EMAIL PROTECTED] (email)
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Flamenco/Rasgueado and Lilypond

2008-03-04 Thread David Stocker
Greetings,

The "up bow" and "down bow" symbols are used when notating plucked string
instruments played with a plectrum. For rasgueados, I have not seen them
used. Typically, rasgueados are notated with an arpeggio line, using an up
arrowhead at the top to indicate a down strum (from lowest sounding to
highest sounding strings) or an arrowhead at the bottom for upstroke.

I don't know how to do this in lilypond however...

Anyone else?


David Stocker
www.thenotesetter.com
4048 Fox Rest Ter.
Powhatan, VA 23139
(804) 598-3762
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Timothy S. Nelson
Sent: Monday, March 03, 2008 8:40 PM
To: lilypond-user@gnu.org
Subject: Flamenco/Rasgueado and Lilypond

Hi all.  I did a Google and an Archives search on how to notate
rasgueado with lilypond, and the instructions there said to use an arpeggio.

I've since discovered on Wikipedia that the up bow/down bow notation
used for violins can be used for up strokes/down strokes for plucked string
instruments.

http://en.wikipedia.org/wiki/Modern_musical_symbols

(search for "up bow" in the above link)

Anyway, I think that's a better way of indicating things, so I
thought I'd send it to the list, and it would appear in the archives for
future searchers, so they don't have to re-notate everything like I will :).

I'd also welcome responses to this; while I don't hang out on the
lilypond lists any more, I did a few years ago, and the notational knowledge
of some of the people here was amazing to me :).

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: [EMAIL PROTECTED]| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI D G+ e++> h! y- -END GEEK
CODE BLOCK-


___
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: clefs and positioning

2008-03-04 Thread Tim Litwiller

Reinhold Kainhofer wrote:

Am Dienstag, 4. März 2008 schrieb Timothy C Litwiller:
  

Thanks so much for that.  It looks like it is working very well.



You're welcome. Note, however, that the clef you are generating is effectively 
the same as "treble_8", since the C clef defines the position of the middle 
c. So I suppose the piece is for two tenors and to basses, not for female 
voice, right?


Cheers,
Reinhold

  

That is correct.



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


Julie: GUILE for Java

2008-03-04 Thread Bertalan Fodor (LilyPondTool)

Hi,

In the last 3 weeks I created the base for an R5RS Scheme interpreter 
written in Java, aimed at GUILE compatibility. It is quite basic yet, 
but I'm not very far from the point where I can start interpreting 
LilyPond input files as they are. Actually module support is what I have 
to implement until that.
I hope you know what that means... syntax checking, autocompletion in 
Scheme parts, Wysiwym display etc.
However, even to correctly parse LilyPond files I must implement 
LilyPond's exported interfaces, that is, Scheme procedures beginning 
with ly:, which are implemented as C++ functions. So definitely I won't 
be enough alone for this project to succeed.
So if you are interested, or think that in the future at some time will 
be interested in helping/contributing, whatever, you can check the 
sources at http://www.sourceforge.net/projects/julie


I think it would be good if I noticed you about it, even if you can't do 
much about this yet :-)


Bert

--
LilyPondTool is the editor for LilyPond files.
See http://lilypondtool.organum.hu



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


Problem with cue notes and \voiceOne/Two

2008-03-04 Thread Reinhold Kainhofer
I have a staff with two voices (using \voiceOne and \voiceTwo), where I also 
insert cue notes. The problem now is that after a \cueDuring, all 
\voiceOne/Two settings are reset and do not apply any more.

An example is attached. Before the cue notes, the correct settings are used, 
but after the cue notes, the voice settings of just the voice with the cue 
notes is reset.
Is there anything I can do against this (short of manually inserting \voiceOne 
after each cue, which totally defeats my purpose)?

The other issue is that if both voices use cue notes from the same voice, I 
get double notes. Is there any way around this?

Cheers,
Reinhold

-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
\version "2.11.39"
#(ly:set-option 'point-and-click #f)

\header { title="Cue notes mess up \voiceOne and \voiceTwo"}
\layout{ 
  ragged-right = ##t
}

vI = \relative c'' { c4 c c c | c c c c | c c c c | c c c c | c c c c | c c c c | c c c c | }
\addQuote vI \vI
vIIa = \relative c'' { e4 d f, e | \cueDuring "vI" #UP { R1 } | e'4 d f, e }
vIIb = \relative c'' { c4 b d, c | \cueDuring "vI" #UP { R1 } | c'4 b d, c }

<<
% after the cue notes, the voiceOne/Two settings are messed up:
\context Staff = "S1" <<
  \context Voice = vIIa { \voiceOne \vIIa }
  \context Voice = vIIb { \voiceTwo \vIIb }
>>
% killing the cues on one staff does not fix the problem:
\context Staff = "S2" <<
  \context Voice = vIIa { \voiceOne \killCues\vIIa }
  \context Voice = vIIb { \voiceTwo \vIIb }
>>
% killing the cues on both makes it work:
\context Staff = "S3" <<
  \context Voice = vIIa { \voiceOne \killCues\vIIa }
  \context Voice = vIIb { \voiceTwo \killCues\vIIb }
>>
>>




cue_voiceOneTwo_messup.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing around bar lines in 2.11.38

2008-03-04 Thread Valentin Villenave
Hi Steve,

can you send a short example?

If this is obviously a collision, i'll add it as a bug. If it's about
a matter of taste, you should try something such as
\override Staff.TimeSignature #'Y-extent = #'(-1 . 1)

Cheers,
Valentin

2008/3/3, Steve Dunlop <[EMAIL PROTECTED]>:
> I'm finding that there isn't enough space around bar lines.  In some
>  cases ledger lines are touching the bar lines.  Is this a known bug?  Is
>  there a way to adjust the space a barline takes up?
>
>  Steve
>
>
>
>  ___
>  lilypond-user mailing list
>  lilypond-user@gnu.org
>  http://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
Cheers,
Valentin


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


staffsymbol left edge

2008-03-04 Thread Neil Thornock
Hello all,

I've converted my staff (stopstaff startstaff stuff) into a line extender,
indicating a repeat of a few notes.

On the next system down, I'd like for the staff (the "line extender") to
begin printing after the clef.  As it is, it prints under the clef (as a
staff normally does).

Is there a way to tell lily to start the staffsymbol *after* the clef - to
nudge the start a few staff spaces to the right?


Thanks,
Neil

-- 
Neil Thornock, D.M.
Visiting Assistant Professor of Music
Composition/Theory
Brigham Young University
http://neilthornock.net
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Hi someting Wicked this way came: problems with fonts on Easy lilypond 2.10.33?

2008-03-04 Thread Andreas Stenberg

Hi!

Did get a new computer last week and finaly got it in more or less 
working order. Trouble is I'm now on Windows Wista and did not get the 
normal down load of Lilypond and jEdit with Lilytool to work as it 
should. Did try the Easy lilypond package and most things are working  
(but not all, most are jEdit problems I think).


The wicked thing is: The text font I get as default (headers, markup and 
lyrics) when processing is a rather ugly sans - type font (looking a lot 
like some Arial version).  Changing fonts any of the normal ways works 
ok so no problem. But if I chose _Times New Roman_ i get  some thing 
looking like an capital I over a dot in place of capital N.
This is most anoying an weird. Can't figur if the problem is on my 
computer, in  the interplay between jEdit and Lily or if there is 
somthing wrong with the pacage i downloaded.
Is This an Easylily problem or a Wista problem or  what? Should I have 
to try to get it all the normal eg. Downloading Lilypond, jEdit etc. 
separately and troubling my self through the usual configuration disasters?


Andreas Stenberg

 




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


Re: Hi someting Wicked this way came: problems with fonts on Easy lilypond 2.10.33?

2008-03-04 Thread Mats Bengtsson

If you search the mailing list archives, you can find some
reports that LilyPond is very slow on Vista, since for some
reason the font name database is rebuilt every time you
run LilyPond, not only the first time after installation as
is normally the case. A short description and a proposed
workaround is described at
http://code.google.com/p/lilypond/issues/detail?id=545&q=vista

I have not heard about your specific problem before, but
since it's font related, the workaround might solve also
your problem if you are lucky.

   /Mats

Andreas Stenberg wrote:


Hi!

Did get a new computer last week and finaly got it in more or less 
working order. Trouble is I'm now on Windows Wista and did not get the 
normal down load of Lilypond and jEdit with Lilytool to work as it 
should. Did try the Easy lilypond package and most things are working  
(but not all, most are jEdit problems I think).


The wicked thing is: The text font I get as default (headers, markup 
and lyrics) when processing is a rather ugly sans - type font (looking 
a lot like some Arial version).  Changing fonts any of the normal ways 
works ok so no problem. But if I chose _Times New Roman_ i get  some 
thing looking like an capital I over a dot in place of capital N.
This is most anoying an weird. Can't figur if the problem is on my 
computer, in  the interplay between jEdit and Lily or if there is 
somthing wrong with the pacage i downloaded.
Is This an Easylily problem or a Wista problem or  what? Should I have 
to try to get it all the normal eg. Downloading Lilypond, jEdit etc. 
separately and troubling my self through the usual configuration 
disasters?


Andreas Stenberg

 




___
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: Spacing around bar lines in 2.11.38

2008-03-04 Thread Mats Bengtsson

Valentin Villenave wrote:


Hi Steve,

can you send a short example?

If this is obviously a collision, i'll add it as a bug. If it's about
a matter of taste, you should try something such as
\override Staff.TimeSignature #'Y-extent = #'(-1 . 1)
 


That won't affect the spacing around bar lines!
We've had some bugs related to the spacing around
bar lines, but these should be fixed in recent 2.11.x
versions. Of course, what's a bug or not in these
situations may be a matter of taste. Do you mainly
see the problem before or after the bar lines?

  /Mats


Cheers,
Valentin

2008/3/3, Steve Dunlop <[EMAIL PROTECTED]>:
 


I'm finding that there isn't enough space around bar lines.  In some
cases ledger lines are touching the bar lines.  Is this a known bug?  Is
there a way to adjust the space a barline takes up?

Steve



___
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: multimeasure rest on single line DrumStaff

2008-03-04 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Dienstag, 4. März 2008 schrieben Sie:
> Try setting
> \override MultiMeasureRest #'staff-position = #0.01
> If you look in the source code, you will see that it treats the case
> staff-position=0.0 (i.e. the default setting) specially, so what my
> proposed workaround does is simply to fool LilyPond.

Hehe, nice catch. Any chance this setting could be integrated into 
ly/engraver-init.ly so that RhythmicStaff would by default display correct 
rests?

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHzawsTqjEwhXvPN0RAvicAJ9UgZdosOeAh53VwsDMIyIZm4Dp+ACfSgIf
ht9KtWNjCu1o12wSf0sKq08=
=gz+Z
-END PGP SIGNATURE-


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


Re: Staff spacing and collisions

2008-03-04 Thread Oscar van Eijk
Mats,

Thanks for your reply, but it's fixed already :)
The output was based on an old template I grabbed from the 2.6
documentation. I updated it with the latest piano from the snippets doc;
the URL now shows the correct output.
The slur of bars 6-7 still takes up a lot of space, but I think I'll be
able to fix that.

Thnx,
Oscar

On Tue, 2008-03-04 at 10:02 +0100, Mats Bengtsson wrote:
> 
> Oscar van Eijk wrote:
> > Hi All,
> >
> > I'm 'Lilyponding' a small prelude I wrote. It's only one page, but I
> > can't get it without collisions.
> >
> > I attached a PNG, if that's not clear enough; the PDF is at
> > http://vaneyck.terra-terra.com/Senorio.de.los.Llanos.pdf.
> >
> > My problem is mainly the slur above bars 19 and 20 that collide with the
> > Pedal sign of bar 14.
> >   
> It looks like a bug to me that you get this collision, even though I 
> guess that
> LilyPond makes some approximations to the actual slur shape when it 
> calculates
> the vertical spacing. Can you please send a .ly file example (as small 
> as possible)
> to bug-lilypond.
> > It could easily be solved if the staff space of the second line would be
> > decreased a bit, but I can't find how to achieve that.
> >   
> I don't really understand what kind of solution you want. The natural 
> solution
> would be to increase the spacing between the two systems (score lines).
> One trick to do that, if everything else fails, is described in
> http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00454.html
> 
> /Mats



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


Re: Autobeaming with subdivision in 4/4

2008-03-04 Thread Hans Aberg

On 4 Mar 2008, at 13:20, Hugo Flordal wrote:


The problem is that you want to beam differently than
implied by the time signature you want to write. So you
want to beam in what might be described as 8 =
(1+1)+(1+1)+(1+1)+(1+1), whereas the common interpretation
of 4 is (1+1)+(1+1) or perhaps 1+1+1+1. If taken
literally, your beaming implies that the 4/4 has one
primary accent, and on the 1/4s have secondary accents.
Then each 1/4 has a yet subordinate accent on the second
1/8 of it. And LilyPond does not a dedicated function
doing just that, though it might be possible to do write
one.



Thank you for the reply, but I'm not sure I get it... Are
you saying (indirectly) that when I set the beatLength to
1/8, I implicitly change the timing to 8/8? Should I then
use 8/8 beaming rules? Is that why my 4/4 auto-beam rules do
not work but the */* rules do?


No. LilyPond currently only has ready-made high-level functions for  
some standard situations, where time signature and beaming agree. In  
other cases one will have to use low level functions, as I showed you.


  Hans Aberg




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


Re: Spacing around bar lines in 2.11.38

2008-03-04 Thread Valentin Villenave
2008/3/4, Mats Bengtsson <[EMAIL PROTECTED]>:
> Valentin Villenave wrote:

>  >\override Staff.TimeSignature #'Y-extent = #'(-1 . 1)

> That won't affect the spacing around bar lines!

Obviously, what I meant was:

\override Staff.BarLine #'Y-extent = #'(-1 . 1)

:-)

Cheers,
Valentin


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


Re: Spacing around bar lines in 2.11.38

2008-03-04 Thread Valentin Villenave
2008/3/4, Valentin Villenave <[EMAIL PROTECTED]>:

>  \override Staff.BarLine #'Y-extent = #'(-1 . 1)

... and X-extent instead of Y.

Gosh, I'd better go to bed now.

Valentin


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


Re: Autobeaming with subdivision in 4/4

2008-03-04 Thread Hugo Flordal
On Tue, 4 Mar 2008, Hans Aberg wrote:

> On 4 Mar 2008, at 13:20, Hugo Flordal wrote:
> 
> >> The problem is that you want to beam differently than
> >> implied by the time signature you want to write. So you
> >> want to beam in what might be described as 8 =
> >> (1+1)+(1+1)+(1+1)+(1+1), whereas the common interpretation
> >> of 4 is (1+1)+(1+1) or perhaps 1+1+1+1. If taken
> >> literally, your beaming implies that the 4/4 has one
> >> primary accent, and on the 1/4s have secondary accents.
> >> Then each 1/4 has a yet subordinate accent on the second
> >> 1/8 of it. And LilyPond does not a dedicated function
> >> doing just that, though it might be possible to do write
> >> one.
> 
> > Thank you for the reply, but I'm not sure I get it... Are
> > you saying (indirectly) that when I set the beatLength to
> > 1/8, I implicitly change the timing to 8/8? Should I then
> > use 8/8 beaming rules? Is that why my 4/4 auto-beam rules do
> > not work but the */* rules do?
> 
> No. LilyPond currently only has ready-made high-level functions for  
> some standard situations, where time signature and beaming agree. In  
> other cases one will have to use low level functions, as I showed you.
> 
>Hans Aberg

Well, believe it or not, it _does_ work "as it should" when 
I change the rules to

  #(override-auto-beam-setting '(end * * 8 8) 1 4 'Voice)
  #(override-auto-beam-setting '(end * * 8 8) 1 2 'Voice)
  #(override-auto-beam-setting '(end * * 8 8) 3 4 'Voice)

That is to say, 8/8 instead of 4/4. But the timing is still 
unchanged, i.e. 4/4, just like I wanted it. (I have only 
tried it for the example that I posted originally, perhaps 
this is a freak example, I'll experiment more later.)
  Clearly, this is not a bug---it is an accidental feature!

  jolly good! thanks for the help!
hguo



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


Re: Autobeaming with subdivision in 4/4

2008-03-04 Thread Hans Aberg

On 4 Mar 2008, at 21:55, Hugo Flordal wrote:


No. LilyPond currently only has ready-made high-level functions for
some standard situations, where time signature and beaming agree. In
other cases one will have to use low level functions, as I showed  
you.



Well, believe it or not, it _does_ work "as it should" when
I change the rules to

  #(override-auto-beam-setting '(end * * 8 8) 1 4 'Voice)
  #(override-auto-beam-setting '(end * * 8 8) 1 2 'Voice)
  #(override-auto-beam-setting '(end * * 8 8) 3 4 'Voice)

That is to say, 8/8 instead of 4/4. But the timing is still
unchanged, i.e. 4/4, just like I wanted it. (I have only
tried it for the example that I posted originally, perhaps
this is a freak example, I'll experiment more later.)


Somebody else has to join in, explaining how LilyPond works. But I  
think the 8 8 patterns above is looked up by the \time 8/8. The  
numbers followed are just treated as rational numbers for time.


  Hans Åberg

 


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


Re: Staff spacing and collisions

2008-03-04 Thread Mats Bengtsson

Oscar van Eijk wrote:


Mats,

Thanks for your reply, but it's fixed already :)
The output was based on an old template I grabbed from the 2.6
documentation. I updated it with the latest piano from the snippets doc;
the URL now shows the correct output.
The slur of bars 6-7 still takes up a lot of space, but I think I'll be
able to fix that.
 


Yes it's really ugly. One solution seems to be to add a setting
like
\once \override Slur #'positions = #'(5 . 5)
See also the bug report "Weird output" that I just
sent to the bug-lilypond mailing list.

   /Mats


Thnx,
Oscar

On Tue, 2008-03-04 at 10:02 +0100, Mats Bengtsson wrote:
 


Oscar van Eijk wrote:
   


Hi All,

I'm 'Lilyponding' a small prelude I wrote. It's only one page, but I
can't get it without collisions.

I attached a PNG, if that's not clear enough; the PDF is at
http://vaneyck.terra-terra.com/Senorio.de.los.Llanos.pdf.

My problem is mainly the slur above bars 19 and 20 that collide with the
Pedal sign of bar 14.
 
 

It looks like a bug to me that you get this collision, even though I 
guess that
LilyPond makes some approximations to the actual slur shape when it 
calculates
the vertical spacing. Can you please send a .ly file example (as small 
as possible)

to bug-lilypond.
   


It could easily be solved if the staff space of the second line would be
decreased a bit, but I can't find how to achieve that.
 
 

I don't really understand what kind of solution you want. The natural 
solution

would be to increase the spacing between the two systems (score lines).
One trick to do that, if everything else fails, is described in
http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00454.html

   /Mats
   





___
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: staffsymbol left edge

2008-03-04 Thread Mats Bengtsson

See http://lists.gnu.org/archive/html/lilypond-user/2005-11/msg00073.html
for an example on how to rearrange the way things are ordered.
In fact, if you move the left-edge to after the clef in the list for
what happens at the beginning of lines, you should get what
you want. (Don't forget to use the default settings from your
current LilyPond version as a starting point).

  /Mats

Neil Thornock wrote:


Hello all,

I've converted my staff (stopstaff startstaff stuff) into a line 
extender, indicating a repeat of a few notes.


On the next system down, I'd like for the staff (the "line extender") 
to begin printing after the clef.  As it is, it prints under the clef 
(as a staff normally does).


Is there a way to tell lily to start the staffsymbol *after* the clef 
- to nudge the start a few staff spaces to the right?



Thanks,
Neil

--
Neil Thornock, D.M.
Visiting Assistant Professor of Music
Composition/Theory
Brigham Young University
http://neilthornock.net



___
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: Spacing around bar lines in 2.11.38 - links to example

2008-03-04 Thread Steve Dunlop
http://www.nerstrand.net/8lpf.pdf

Measure 26 is the worst but you can see the problem throughout the
score.

I'm posting the whole thing because the overall spacing situation seems
to be contributing to the problem.

Sources:

http://www.nerstrand.net/8lpf.ly
http://www.nerstrand.net/bwv558.ly
http://www.nerstrand.net/organscore.ly

Steve

>  Original Message 
> Subject: Re: Spacing around bar lines in 2.11.38
> From: Mats Bengtsson <[EMAIL PROTECTED]>
> Date: Tue, March 04, 2008 1:04 pm
> To: Steve Dunlop <[EMAIL PROTECTED]>
> Cc: Valentin Villenave <[EMAIL PROTECTED]>,  lilypond-user@gnu.org
> 
> 
> Valentin Villenave wrote:
> 
> >Hi Steve,
> >
> >can you send a short example?
> >
> >If this is obviously a collision, i'll add it as a bug. If it's about
> >a matter of taste, you should try something such as
> >\override Staff.TimeSignature #'Y-extent = #'(-1 . 1)
> >  
> >
> That won't affect the spacing around bar lines!
> We've had some bugs related to the spacing around
> bar lines, but these should be fixed in recent 2.11.x
> versions. Of course, what's a bug or not in these
> situations may be a matter of taste. Do you mainly
> see the problem before or after the bar lines?
> 
>/Mats
> 
> >Cheers,
> >Valentin
> >
> >2008/3/3, Steve Dunlop <[EMAIL PROTECTED]>:
> >  
> >
> >>I'm finding that there isn't enough space around bar lines.  In some
> >> cases ledger lines are touching the bar lines.  Is this a known bug?  Is
> >> there a way to adjust the space a barline takes up?
> >>
> >> Steve
> >>
> >>
> >>
> >> ___
> >> 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: Julie: GUILE for Java

2008-03-04 Thread Han-Wen Nienhuys
2008/3/4, Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>:
>  In the last 3 weeks I created the base for an R5RS Scheme interpreter
>  written in Java, aimed at GUILE compatibility. It is quite basic yet,
>  but I'm not very far from the point where I can start interpreting
>  LilyPond input files as they are. Actually module support is what I have
>  to implement until that.

Cool!  Just as curiosity, why didn't you consider the alternate
Java-schemes, like jscheme, kawa, sisc, etc?

>  I hope you know what that means... syntax checking, autocompletion in
>  Scheme parts, Wysiwym display etc.

>  However, even to correctly parse LilyPond files I must implement
>  LilyPond's exported interfaces, that is, Scheme procedures beginning
>  with ly:, which are implemented as C++ functions. So definitely I won't
>  be enough alone for this project to succeed.

It depends on how far you want to go. It is easy to extract signatures
(names & number of arguments) automatically.

Surely you don't want to reimplement all of LilyPond in Java?

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


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


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


Changing the bar-number string

2008-03-04 Thread Francesco Guglie
Hi everybody!
Since I'm having some problems posting my mail to the mailing-list through my 
mail-client, I'm trying to resend this one through the gmane interface. 

I'm typesetting an orchestral score with repeated sections inside each 
movement; I'd like to change the bar-numbers of a repeated section so that it 
shows the bar-number of the first time with a "bis" added. 
I'll try to explain it better with an example: the first number of ther 
repeated section is "34"; when it is repeated, I'd like to have "34bis" and 
so on for all the bar numbers of the section.
I've tried to use the properties of BarNumber context, but with no success. 
I'm using lilypond 2.11.41.
Thank you all!

Francesco Guglie



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


Re: lilypond-book with multi-dir projects

2008-03-04 Thread Graham Percival
On Sat, 1 Mar 2008 00:23:37 -0600
"Daniel Tonda" <[EMAIL PROTECTED]> wrote:

> lilypond-book --pdf -o OUT Master.tex
> will leave all the lily*.pdf and semi-compiled output in the OUT
> directory, then you can cd to the OUT directory and do:
 
After much investigation, this looks like the best solution after
all... although I need to play more games on the TeX side of
things.

For the curious, here's my makefile for my chapter subdirs:
# -I is to work around a bug in lilypond-book 2.11.41
LYFLAGS= --pdf --out $(BUILDDIR) -I $(BUILDDIR)
#LYFLAGS= --pdf -I /tmp --out /tmp --process='lilypond -I
ly-preamble.ly'

all:
lilypond-book $(LYFLAGS) *.lytex



and here's the main makefile:
FILE=masters-percival

XPDF=xpdf $(BUILDDIR)/$(FILE).pdf
OPEN=open $(BUILDDIR)/$(FILE).pdf
BUILDDIR=/tmp/thesis
SOURCEDIR=$(HOME)/docs/thesis/
PDF=TEXINPUTS=$(BUILDDIR):.: pdflatex -output-directory
$(BUILDDIR) $(FILE)
BIB=cd $(BUILDDIR) && BIBINPUTS=$(SOURCEDIR) bibtex $(FILE)

SUBDIRS = intro
#exercises transcription grading meaws

all: build show

build:
mkdir -p $(BUILDDIR)
for dir in $(SUBDIRS); do (cd $$dir; make
BUILDDIR=$(BUILDDIR)); done
$(PDF)
$(BIB)
$(PDF)
$(PDF)

show:
ifdef DISPLAY
$(XPDF)
else
$(OPEN)
endif

keep: all
cp $(BUILDDIR)/$(FILE).pdf $(SOURCEDIR)

clean:
rm -rf $(BUILDDIR)


Cheers,
- Graham


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


Re: Staff spacing and collisions

2008-03-04 Thread Oscar van Eijk
Thanks again Mats.

I've chosen for a different fix based on something I saw in the LSR. In
your buglist code it would be:

\version "2.11.41"
<<
\new Staff = up { s1*2 }
\new Staff = down \relative c,{\clef bass  \stemDown
  % Commenting out the next line gives a much nicer slur shape
  % almost no matter what values I specify for the positions.
  % \once \override Slur #'positions = #'(5 . 5)
  \once\override Slur  #'extra-offset = #'(0 . 7)
  \once\override Slur  #'control-points = #'((0 . -6) (10 . -2) (82 .
-4 ) (94 . 1))
  f4. ( a8 d f \change Staff = "up" \stemUp \times 2/3 {a[ d f} |
  a16] d,[ f a \times 4/5 {d16] f[ a d32. f64 ~ f16] ~} f4 ) r |
\noBreak
  d4 a f d ||
  }
 >>

\layout{ ragged-right = ##t }


Might be a matter of taste, but I think this looks more elegant.

Oscar


On Tue, 2008-03-04 at 22:55 +0100, Mats Bengtsson wrote:
> Oscar van Eijk wrote:
> 
> >Mats,
> >
> >Thanks for your reply, but it's fixed already :)
> >The output was based on an old template I grabbed from the 2.6
> >documentation. I updated it with the latest piano from the snippets doc;
> >the URL now shows the correct output.
> >The slur of bars 6-7 still takes up a lot of space, but I think I'll be
> >able to fix that.
> >  
> >
> Yes it's really ugly. One solution seems to be to add a setting
> like
> \once \override Slur #'positions = #'(5 . 5)
> See also the bug report "Weird output" that I just
> sent to the bug-lilypond mailing list.
> 
> /Mats
> 
> >Thnx,
> >Oscar
> >
> >On Tue, 2008-03-04 at 10:02 +0100, Mats Bengtsson wrote:
> >  
> >
> >>Oscar van Eijk wrote:
> >>
> >>
> >>>Hi All,
> >>>
> >>>I'm 'Lilyponding' a small prelude I wrote. It's only one page, but I
> >>>can't get it without collisions.
> >>>
> >>>I attached a PNG, if that's not clear enough; the PDF is at
> >>>http://vaneyck.terra-terra.com/Senorio.de.los.Llanos.pdf.
> >>>
> >>>My problem is mainly the slur above bars 19 and 20 that collide with the
> >>>Pedal sign of bar 14.
> >>>  
> >>>  
> >>>
> >>It looks like a bug to me that you get this collision, even though I 
> >>guess that
> >>LilyPond makes some approximations to the actual slur shape when it 
> >>calculates
> >>the vertical spacing. Can you please send a .ly file example (as small 
> >>as possible)
> >>to bug-lilypond.
> >>
> >>
> >>>It could easily be solved if the staff space of the second line would be
> >>>decreased a bit, but I can't find how to achieve that.
> >>>  
> >>>  
> >>>
> >>I don't really understand what kind of solution you want. The natural 
> >>solution
> >>would be to increase the spacing between the two systems (score lines).
> >>One trick to do that, if everything else fails, is described in
> >>http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00454.html
> >>
> >>/Mats
> >>
> >>
> >
> >
> >
> >___
> >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: Julie: GUILE for Java

2008-03-04 Thread Bertalan Fodor

Han-Wen Nienhuys írta:

2008/3/4, Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>:
  

 In the last 3 weeks I created the base for an R5RS Scheme interpreter
 written in Java, aimed at GUILE compatibility. It is quite basic yet,
 but I'm not very far from the point where I can start interpreting
 LilyPond input files as they are. Actually module support is what I have
 to implement until that.



Cool!  Just as curiosity, why didn't you consider the alternate
Java-schemes, like jscheme, kawa, sisc, etc?
  

There are some reasons.
- I found their architecture to be too complicated. I wanted a simple, 
clean one.

- Their code base seem to be written in not Java style.
- If I need some ideas I can get from them.
- They have their own extensions which may collide with the guile stuff.
- My motivation was stronger this way.
Still, writing my own version may be a wrong idea. However, for 
extending it with guile constructs I still feel it easier, because of 
their complexity, legacy extensions I'd be afraid of making a change in 
the code would create unexplicable behaviour.


It depends on how far you want to go. It is easy to extract signatures
(names & number of arguments) automatically.
  

That's a good idea. That way I can generate stubs.

Surely you don't want to reimplement all of LilyPond in Java?
  

No I don't. My goals are:
- have bar checks work really as bar checks (using Duration objects etc.)
- have autocompletion in Scheme
- perhaps some visual display of music written - I don't know how 
feasible is this without implementing all of LilyPond in Java



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