Re: Trills With Accidentals

2012-06-18 Thread ArnoldTheresius



P Spalding wrote:
 
 Arnold,  In Linux Ubuntu, the Lilypond version I had was 2.12.   I just
 upgraded to 2.14.2 hoping these commands you sent me would work.   Nope! 
 I see the include file you sent was created in version 2.15.39.   
 
 Regards,
 RDL
 ...
 
It was quite some time to develop these routines - I started with 2.12.3 in
use. I think just the last change I did not test with the older versions.
I'll retest it on my Win7/64 with 2.12.3, 2.14.2 and 2.15.39. At least, it
did run with all these versions in the past.
-- 
View this message in context: 
http://old.nabble.com/Trills-With-Accidentals-tp33979017p34028256.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Appreciation / Financial support

2012-06-18 Thread Ramana Kumar
On Mon, Jun 18, 2012 at 6:46 AM, Christ van Willegen
cvwille...@gmail.comwrote:

 On Mon, Jun 18, 2012 at 12:12 AM, Janek Warchoł
 janek.lilyp...@gmail.com wrote:
  On Sun, Jun 17, 2012 at 11:28 PM, Tim McNamara tim...@bitstream.net
 wrote:
  From experience, PayPal is very easy to use to send money to someone in
 Europe.
  The currency exchange is automatic, although I don't know what the
 recipient fees are.
 
  According to their website it's between 0 and 4% +0,3$ depending on
  payment method and country.

 Ouch, that's quite steep!

 David, since you live in .de, you probably also have a bank account
 there. If you list the IBAN (and other info) somewhere, in .eu bank
 transfers are free of fees...


Does that include the UK?



 Christ van Willegen
 --
 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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

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


Re:centering text

2012-06-18 Thread simon blackmore

Thanks everyone.

What a great list you have got going.
Problem solved. I look forward to using this software more.

Thanks again.

Cheers

Simon

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


Re: Appreciation / Financial support

2012-06-18 Thread David Kastrup
Christ van Willegen cvwille...@gmail.com writes:

 On Mon, Jun 18, 2012 at 12:12 AM, Janek Warchoł
 janek.lilyp...@gmail.com wrote:
 On Sun, Jun 17, 2012 at 11:28 PM, Tim McNamara tim...@bitstream.net wrote:
 From experience, PayPal is very easy to use to send money to
 someone in Europe.
 The currency exchange is automatic, although I don't know what the
 recipient fees are.

 According to their website it's between 0 and 4% +0,3$ depending on
 payment method and country.

 Ouch, that's quite steep!

 David, since you live in .de, you probably also have a bank account
 there. If you list the IBAN (and other info) somewhere, in .eu bank
 transfers are free of fees...

Only in the Euro zone, and they are not _free_ of fee but just can't
exceed the fees for national transfers.

A recent contributor from France discovered that his bank took €3
according to its conditions.  But it would have done so as well within
France.  Now while I have my doubts that a bank with that sort of
condition for a fundamental operation would be competitive (and so I
consider it somewhat likely that there was some mistake involved), I
think that would not be against EU regulations: you can charge all you
want for a SEPA bank transfer as long as you are gouging your customers
the same in-country.

As a rule, contributors in the Euro zone have found transfer costs zero
or small.  This obviously excludes the UK, and fees for bank transfers
from there are somewhere around the £10 figure or more, namely
prohibitive.  Fees might vary according to bank, but so far people have
found that what Paypal skims off is the lesser evil.

I will not list my bank data publicly but give it out on request.  This
is my private account and I need to be able to track the source of
incoming money.  The account also is not specific to LilyPond but to
myself, so if I quit working on LilyPond on a donation basis, I need to
be able to contact everyone who has contributed so far, and don't want
to continue having this account be the target for LilyPond based
contributions.

A publicly listed account number would require a _dedicated_ account,
one which one can close down when the purpose is no longer in place.
Fees for such a non-personal account, namely a business account, are
considerably higher.

Basically it is the same story all over: if you do things properly,
everybody working the pipeline feels entitled to a more substantial
share.

-- 
David Kastrup


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


Re: Appreciation / Financial support

2012-06-18 Thread Ramana Kumar
Are either Flattr or Bitcoin possible good alternatives?

On Mon, Jun 18, 2012 at 8:54 AM, David Kastrup d...@gnu.org wrote:

 Christ van Willegen cvwille...@gmail.com writes:

  On Mon, Jun 18, 2012 at 12:12 AM, Janek Warchoł
  janek.lilyp...@gmail.com wrote:
  On Sun, Jun 17, 2012 at 11:28 PM, Tim McNamara tim...@bitstream.net
 wrote:
  From experience, PayPal is very easy to use to send money to
  someone in Europe.
  The currency exchange is automatic, although I don't know what the
  recipient fees are.
 
  According to their website it's between 0 and 4% +0,3$ depending on
  payment method and country.
 
  Ouch, that's quite steep!
 
  David, since you live in .de, you probably also have a bank account
  there. If you list the IBAN (and other info) somewhere, in .eu bank
  transfers are free of fees...

 Only in the Euro zone, and they are not _free_ of fee but just can't
 exceed the fees for national transfers.

 A recent contributor from France discovered that his bank took €3
 according to its conditions.  But it would have done so as well within
 France.  Now while I have my doubts that a bank with that sort of
 condition for a fundamental operation would be competitive (and so I
 consider it somewhat likely that there was some mistake involved), I
 think that would not be against EU regulations: you can charge all you
 want for a SEPA bank transfer as long as you are gouging your customers
 the same in-country.

 As a rule, contributors in the Euro zone have found transfer costs zero
 or small.  This obviously excludes the UK, and fees for bank transfers
 from there are somewhere around the £10 figure or more, namely
 prohibitive.  Fees might vary according to bank, but so far people have
 found that what Paypal skims off is the lesser evil.

 I will not list my bank data publicly but give it out on request.  This
 is my private account and I need to be able to track the source of
 incoming money.  The account also is not specific to LilyPond but to
 myself, so if I quit working on LilyPond on a donation basis, I need to
 be able to contact everyone who has contributed so far, and don't want
 to continue having this account be the target for LilyPond based
 contributions.

 A publicly listed account number would require a _dedicated_ account,
 one which one can close down when the purpose is no longer in place.
 Fees for such a non-personal account, namely a business account, are
 considerably higher.

 Basically it is the same story all over: if you do things properly,
 everybody working the pipeline feels entitled to a more substantial
 share.

 --
 David Kastrup


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

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


Re: centering text

2012-06-18 Thread Janek Warchoł
On Mon, Jun 18, 2012 at 9:47 AM, simon blackmore
l...@simonblackmore.net wrote:
 What a great list you have got going.
 Problem solved. I look forward to using this software more.

:)

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


Re: Appreciation / Financial support

2012-06-18 Thread Joseph Rushton Wakeling

On 17/06/12 23:12, Janek Warchoł wrote:

On Sun, Jun 17, 2012 at 11:28 PM, Tim McNamaratim...@bitstream.net  wrote:

 From experience, PayPal is very easy to use to send money to someone in Europe.
  The currency exchange is automatic, although I don't know what the recipient 
fees are.


According to their website it's between 0 and 4% +0,3$ depending on
payment method and country.
https://cms.paypal.com/us/cgi-bin/?cmd=_render-contentcontent_ID=marketing_us/fees


They also have a micropayments rate which might work out better depending on 
typical donation size:

https://micropayments.paypal-labs.com/

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


Re: Appreciation / Financial support

2012-06-18 Thread David Kastrup
Joseph Rushton Wakeling joseph.wakel...@webdrake.net writes:

 On 17/06/12 23:12, Janek Warchoł wrote:
 On Sun, Jun 17, 2012 at 11:28 PM, Tim McNamaratim...@bitstream.net  wrote:
  From experience, PayPal is very easy to use to send money to
 someone in Europe.
   The currency exchange is automatic, although I don't know what
 the recipient fees are.

 According to their website it's between 0 and 4% +0,3$ depending on
 payment method and country.
 https://cms.paypal.com/us/cgi-bin/?cmd=_render-contentcontent_ID=marketing_us/fees

 They also have a micropayments rate which might work out better
 depending on typical donation size:
 https://micropayments.paypal-labs.com/

Do the math.  The break-even point for 5%+$0.05 as opposed to 2.9%+$0.30
is when 2.1% amount to $0.25, namely $11.90.  The fee for $20 will
already be $1.05 rather than $0.88, for $50 it will be $2.55 rather than
$1.75.  With the current contribution structure, a change would not
really be prudent.  That makes more sense if you have a large number of
casual small contributors.

-- 
David Kastrup


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


Re: Trills With Accidentals

2012-06-18 Thread ArnoldTheresius



ArnoldTheresius wrote:
 
 
 
 P Spalding wrote:
 
 Arnold,  In Linux Ubuntu, the Lilypond version I had was 2.12.   I just
 upgraded to 2.14.2 hoping these commands you sent me would work.   Nope! 
 I see the include file you sent was created in version 2.15.39.   
 
 Regards,
 RDL
 ...
 
 It was quite some time to develop these routines - I started with 2.12.3
 in use. I think just the last change I did not test with the older
 versions. I'll retest it on my Win7/64 with 2.12.3, 2.14.2 and 2.15.39. At
 least, it did run with all these versions in the past.
 

I had the chance to do a quick check on a VMWare ubuntu - based on the
developers UBUNTU VMWare with the standard release 2.14.2 installed. uname
-a returns ... 2.6.32.26-generic #48-Ubuntu SMP Wed Nov 24 09:00.03 UTC 2010
i686 GNU/Linux.
I copied both ly files into one directory. I editded
pitchedArticulationsTest.ly using gedit, where I replaced \version 2.15.39
with \version 2.14.2 and uncommented my test suite. I opened the Terminal,
set my working directory to the directory both files were stored, and did
run lilypond per commandline, i.e. `lilypond pitchedArticulationsTest.ly`. I
got the expected warnings (fallback to ... symbol) and the PDF was
successfully created. A quick view into the PDF did not show any problem.
 
-- 
View this message in context: 
http://old.nabble.com/Trills-With-Accidentals-tp33979017p34028687.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: A couple house-style adaptment questions

2012-06-18 Thread Rodolfo Zitellini
On Sun, Jun 17, 2012 at 12:52 PM, Xavier Scheuer x.sche...@gmail.com wrote:
 On 16 June 2012 11:45, Rodolfo Zitellini xhero...@gmail.com wrote:
 Hi All,
 I have to prepare a book to follow the house style of my publisher,
 and I'm struggling a bit with the following things:

 1) Aligned BassFigures ABOVE the staff.
 The publisher wants them all above. I include the figures to my Staff
 context and set \bassFigureStaffAlignmentUp: it works, but each number
 gets it's vertical position from the note it hase above, with the
 result that the figures are not uniformly aligned. Is there a way to
 aligne them to the same baseline? It would be the same as when you put
 them in the FiguredBass context under the staff (tried a FiguredBass
 context but it seems it can be placed only under the staff and not
 above).

 Hi,

 A FiguredBass context above the staff works here.
 Or is this result not what you want?

  Snippet

 \version 2.15.40

 \score {
  
    \new FiguredBass {
      \figuremode {
        64 5 6 4 6 5/ |
        51
      }
    }
    \new Staff {
      \clef bass
      \relative c {
        c4 f g g, |
        c1
      }
    }
  
 }

  End of snippet



Thanks Daniel and Xavier! all the points are mostly solved. I just
still have a couple problems with the figures above the staff.
My error (before Xavier's suggestion) was that I placed my
\FiguredBass into a StaffGroup (I show a group on only one stave).
Putting it outside works, figures are nicely aligned above the staff
but... if I add another staff above, the figures seem to stick on the
bottom of the upper staff:

 Snippet

\version 2.15.40

\score {
 
\new Staff {
\clef treble
\relative c'' {
c4 a g d' | c1
}
}
   \new FiguredBass {
 \figuremode {
   64 5 6 4 6 5/ |
   51
 }
   }
   \new Staff {
 \clef bass
 \relative c {
   c4 f g g, |
   c1
 }
   }
 

}

\paper {
ragged-bottom = ##f
ragged-last-bottom = ##f
}

 End of snippet

You should get a huge gap between the staves and the numbers on the
upper one. How can I have them stick to the bottom stave? Am I missing
something here?
Thanks!
Rodolfo

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


Re: A couple house-style adaptment questions

2012-06-18 Thread Rodolfo Zitellini
On Sun, Jun 17, 2012 at 2:09 PM, David Nalesnik
david.nales...@gmail.com wrote:
 Hi Rodolfo,

 On Sun, Jun 17, 2012 at 5:22 AM, Rodolfo Zitellini xhero...@gmail.com
 wrote:

 I am looking a bit on the bracketed-accidental issue (which could be
 my only conditio sine qua non with my publisher).
 It seems that the parenthesis are hard-coded in accidental.cc (line 35
 and 37, accidentals.leftparen and accidentals.rightparen). Would it be
 possible to add an option to select parenthesis/bracket and change the
 glyph? or in alternative add a callback to I can hook a custom bracket
 stencil? what do you think?


 One option would be to override the cautionary accidental's stencil.  Here
 I've made use of bracketify-stencil, which is found in `stencil.scm'.  I've
 included a comment line to show what the various parameters are so you can
 adjust this to your liking.

 Hope this helps!

 -David

  \version 2.15.40

 #(define (bracketed-cautionary grob)
   (let ((stil (ly:accidental-interface::print grob)))
     ; (bracketify-stencil stil axis thick protrusion padding)
     (bracketify-stencil stil Y 0.1 0.25 0.2)))

 \relative c'' {
   \override AccidentalCautionary #'parenthesized = ##f
   \override AccidentalCautionary #'stencil = #bracketed-cautionary
   cis? c? ces? ceses?
   cisis?
 }

Oops, pardon, thanks _David_ not Daniel (too much time in front of the
computer, sorry!)

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


Re: Editorial ties in scheme

2012-06-18 Thread Mike

Here is my solution for marking ties as editorial.

It seems that the size of tie is not known when the
stencil is called, so I used a function from sencil.scm
to calculate its extent.  I thought scheme was not too
bad until I saw this - I have no idea how it works, but
the answers seem plausible.

Posted for comments and in case others may find it
useful.


\version 2.15
editorialTieStencil=#(lambda(grob)
  (define (pairs-to-lists p) (list(car p) (cdr p)))
  
  ; this routine taken from stencil.scm
  ; trace the course of a bezier and return
  ; its extent.  We use the max Y extent
  (define (path-min-max origin pointlist)
(define (line-part-min-max x1 x2)
(list (min x1 x2) (max x1 x2)))

   (define (bezier-part-min-max x1 x2 x3 x4)
((lambda (x) (list (reduce min 1 x) (reduce max -1 x)))
  (map
(lambda (x)
  (+ (* x1 (expt (- 1 x) 3))
 (+ (* 3 (* x2 (* (expt (- 1 x) 2) x)))
(+ (* 3 (* x3 (* (- 1 x) (expt x 2
   (* x4 (expt x 3))
(if ( (+ (expt x2 2) (+ (expt x3 2) (* x1 x4)))
   (+ (* x1 x3) (+ (* x2 x4) (* x2 x3
(list 0.0 1.0)
(filter
  (lambda (x) (and (= x 0) (= x 1)))
  (append
(list 0.0 1.0)
(map (lambda (op)
   (if (not (eqv? 0.0
  (- (+ x1 (* 3 x3)) (+ x4 (* 3 x2)
   ;; Zeros of the bezier curve
   (/ (+ (- x1 (* 2 x2))
 (op x3
 (sqrt (- (+ (expt x2 2)
 (+ (expt x3 2) (* x1 x4)))
  (+ (* x1 x3)
 (+ (* x2 x4) (* x2 x3)))
  (- (+ x1 (* 3 x3)) (+ x4 (* 3 x2
   ;; Apply L'hopital's rule to get the zeros if 0/0
   (* (op 0 1)
  (/ (/ (- x4 x3) 2)
 (sqrt (- (+ (* x2 x2)
 (+ (* x3 x3) (* x1 x4)))
  (+ (* x1 x3)
 (+ (* x2 x4) (* x2 x3)
 (list + -

  (define (bezier-min-max x1 y1 x2 y2 x3 y3 x4 y4)
(map (lambda (x)
   (apply bezier-part-min-max x))
 `((,x1 ,x2 ,x3 ,x4) (,y1 ,y2 ,y3 ,y4

  (define (line-min-max x1 y1 x2 y2)
(map (lambda (x)
   (apply line-part-min-max x))
 `((,x1 ,x2) (,y1 ,y2

  ((lambda (x)
  
 (list
   (reduce min +inf.0 (map caar x))
   (reduce max -inf.0 (map cadar x))
   (reduce min +inf.0 (map caadr x))
   (reduce max -inf.0 (map cadadr x
(map (lambda (x)

   (if (eq? (length x) 8)
   (apply bezier-min-max x)
   (apply line-min-max x)))
 (map (lambda (x y)
(append (list (cadr (reverse x)) (car (reverse x))) y))
  (append (list origin)
  (reverse (cdr (reverse pointlist pointlist
   ;-
   ;  the stencil
  (let* (
 (tie-stencil (ly:tie::print grob))
 (cpoints (ly:grob-property grob 'control-points))
 ;  bezier routine wants a list of lists, not pairs
 (lpoints (map pairs-to-lists cpoints))
 (dir(ly:grob-property grob 'direction))
 (offset -0.2) ; vertical fudge factor 
 (max-tie (if (= dir -1) 
(list-ref  (path-min-max '(0 0) lpoints) 2) 
(list-ref  (path-min-max '(0 0) lpoints) 3)
))
 
 ; (cpoint3-cpoint0) / 2 + cpoint0
 (mid-tie
   (+(car(list-ref cpoints 0))
 ( / (- (car(list-ref cpoints 3))
(car( list-ref cpoints 0))) 2)))
 (ps (format #f gsave
 /mid-tie ~s def
 /max-tie ~s def
 /offset ~s def
 /tick-len 0.5 def
 currentpoint translate
 0 offset translate
 newpath
 0.15 setlinewidth
 1 setlinecap
 mid-tie max-tie moveto
 gsave
 0 tick-len rlineto
 stroke
 grestore
 0 -1 tick-len mul rlineto
 stroke
 grestore mid-tie  max-tie (* offset dir)))

 (tick-stencil(ly:make-stencil(list 'embedded-ps ps )
(cons 0 1)(cons -1 -1)))
 )
(ly:stencil-add tie-stencil  tick-stencil )
)
 )
 

ed={\once \override Tie #'stencil =\editorialTieStencil}
{
 
 
  
   

Re: Editorial ties in scheme

2012-06-18 Thread David Kastrup
Mike lilyp...@lapsley.ukshells.co.uk writes:

 Here is my solution for marking ties as editorial.

 It seems that the size of tie is not known when the
 stencil is called, so I used a function from sencil.scm
 to calculate its extent.  I thought scheme was not too
 bad until I saw this - I have no idea how it works, but
 the answers seem plausible.

Not properly factoring and documenting code is bad in any language.

-- 
David Kastrup


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


beaming

2012-06-18 Thread simon blackmore

Sorry that this is my second cry for help in the last week.

I am just trying to get my head around changing beaming.

Basically I want to display 8 8th notes in pairs, rather than the  
current default 2 groups of 4.


I thought this might work

\set beatGrouping = #'(2 2 2 2)
c8 c8 c8 c8 r8 c8 c8 r8

But doesn't seem to.

I have been going through the manual and thought the example below  
would be a good start. But all of the
examples I have tried from this page. seem to just end up without  
beaming at all.


http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Rhythms

So for example the following code just displays 8 single notes above 8  
single notes.


\score {
  \new Staff 
\time 7/8
\new Voice {
  \relative c'' {
\set Staff.beatGrouping = #'(2 3 2)
a8 a a a a a a
  }
}
\new Voice {
  \relative c' {
\voiceTwo
\set beatGrouping = #'(1 3 3)
f8 f f f f f f
  }
}
  
}

Thanks for having a look

Best wishes

Simon





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


Re: beaming

2012-06-18 Thread David Kastrup
simon blackmore l...@simonblackmore.net writes:

 Sorry that this is my second cry for help in the last week.

 I am just trying to get my head around changing beaming.

Try mentioning the version you are using.  beatGrouping has been
eliminated in 2.13.4.  Are you really still using 2.12 ?

If so, can you upgrade to a newer version?  If not so, try reading the
documentation corresponding to your version.


-- 
David Kastrup


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


re: beaming

2012-06-18 Thread banjo hero
Hey there,

I don't know if this will work with version 2.12, but I had a similar issue
with a thing I was fiddling around with using 2.14.2
Had a measure of eighth notes that were all grouped under one beam; wanted
three pairs.

Square brackets did the trick:

\relative c'' {
  \time 3/4
g8[ e] cis[ a] b[ cis]
}


Hope this helps.

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


Re: A couple house-style adaptment questions

2012-06-18 Thread Janek Warchoł
On Mon, Jun 18, 2012 at 1:27 PM, Rodolfo Zitellini xhero...@gmail.com wrote:
 ... if I add another staff above, the figures seem to stick on the
 bottom of the upper staff:

  Snippet [..]

 You should get a huge gap between the staves and the numbers on the
 upper one. How can I have them stick to the bottom stave? Am I missing
 something here?

Look up staff-affinity here:
http://www.lilypond.org/doc/v2.15/Documentation/notation/flexible-vertical-spacing-within-systems#spacing-of-non_002dstaff-lines

cheers,
Janek

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


Re: lilypond-book

2012-06-18 Thread Patrick Karl

 Message: 4
 Date: Mon, 18 Jun 2012 00:33:41 +0200
 From: David Kastrup d...@gnu.org
 To: lilypond-user@gnu.org
 Subject: Re: lilypond-book
 Message-ID: 87d34xin5m@fencepost.gnu.org
 Content-Type: text/plain; charset=utf-8
 .
 .
 .
 For
 
 \markup{\override #'(font-name. Khmer OS) }
 
 I get the attached file as result which looks just fine to me.  What
 problem do you see?  I use the current development version.  What's your
 version?
 
 -- 
 David Kastrup
 -- next part --
 A non-text attachment was scrubbed...
 Name: junk.pdf
 Type: application/pdf
 Size: 26077 bytes
 Desc: not available
 URL: 
 http://lists.gnu.org/archive/html/lilypond-user/attachments/20120618/88e7ee84/attachment.pdf

What attached file?  I only see the above URL, which points nowhere, i.e., when 
I click on the link I get the error message:

 Not Found
 
 The requested URL 
 /archive/html/lilypond-user/attachments/20120618/88e7ee84/attachment.pdf was 
 not found on this server.
 
 Apache/2.2.14 Server at lists.gnu.org Port 80

--
Patrick Karl

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


Re: lilypond-book

2012-06-18 Thread David Kastrup
Patrick Karl pck...@mac.com writes:

 Message: 4
 Date: Mon, 18 Jun 2012 00:33:41 +0200
 From: David Kastrup d...@gnu.org
 To: lilypond-user@gnu.org
 Subject: Re: lilypond-book
 Message-ID: 87d34xin5m@fencepost.gnu.org
 Content-Type: text/plain; charset=utf-8
 .
 .
 .
 For
 
 \markup{\override #'(font-name. Khmer OS) }
 
 I get the attached file as result which looks just fine to me.  What
 problem do you see?  I use the current development version.  What's your
 version?
 
 -- 
 David Kastrup
 -- next part --
 A non-text attachment was scrubbed...
 Name: junk.pdf
 Type: application/pdf
 Size: 26077 bytes
 Desc: not available
 URL:
 http://lists.gnu.org/archive/html/lilypond-user/attachments/20120618/88e7ee84/attachment.pdf

 What attached file?  I only see the above URL, which points nowhere,
 i.e., when I click on the link I get the error message:

That would appear to be a feature of receiving a digest instead of
direct mail messages.

URL:http://permalink.gmane.org/gmane.comp.gnu.lilypond.general/73010

has the attachment.

-- 
David Kastrup


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


Re: beaming

2012-06-18 Thread Janek Warchoł
On Mon, Jun 18, 2012 at 5:20 PM, banjo hero banjoh...@gmail.com wrote:
 Hey there,

 I don't know if this will work with version 2.12, but I had a similar issue
 with a thing I was fiddling around with using 2.14.2
 Had a measure of eighth notes that were all grouped under one beam; wanted
 three pairs.

 Square brackets did the trick:

 \relative c'' {
   \time 3/4
     g8[ e] cis[ a] b[ cis]
 }

That can be tedious if there are a lot of such beams.
For a solution working in recent versions, search Notation Reference
for BeamExceptions.

hth,
Janek

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


volta repeat and grace notes

2012-06-18 Thread Mike
I have a score with a grace note in a volta alternative. I get the
following error:
warning: already have a volta spanner, ending that one prematurely

and the result shows an extra little repeat bracket with just the
grace note it.  With on voice, or two voices on one staff everything
is fine - the wrongness only appears on a staff system.

Both 2.14 and 2.15 give the same result.

Looks like a bug to me, or at least very unintuitive behaviour. Is
it known, with or without a workaround?

Thanks,

Mike

VoiceOne =  \relative e'' {
\repeat volta 2 {
\clef treble 
a4 a a a
} % 8
\alternative {
{\grace b a a a a} 
{c c c c}
}
}


VoiceTwo =  \relative a, {
\repeat volta 2 {
\clef bass 
c4 c c c
 }
\alternative {
{e e e e}
{d d d d} 
}
  
}
\score { 
\new Staff  
\context Staff  context Voice {\VoiceOne } 

\new Staff 
\context Staff  \context Voice { \VoiceTwo } 
 
 }



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


Re: volta repeat and grace notes

2012-06-18 Thread Robin Bannister

Mike wrote:

 Is it known, with or without a workaround?


This is a well-known bug. See
http://lilypond.org/doc/v2.14/Documentation/notation/special-rhythmic-concerns#Known-issues-and-warnings-50


Cheers,
Robin 



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


Re: volta repeat and grace notes

2012-06-18 Thread Mike
On Mon, Jun 18, 2012 at 09:55:25PM +0200, Robin Bannister wrote:
  Is it known, with or without a workaround?

 This is a well-known bug. See
 http://lilypond.org/doc/v2.14/Documentation/notation/special-rhythmic-concerns#Known-issues-and-warnings-50

Thanks for that: \grace s16 in the corresponding \alternatives fixes it 
perfectly.

I was at that page before: Looked be did not See !

Mike

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


Re: Problems with \inversion

2012-06-18 Thread Colin Hall
On Wed, Jun 13, 2012 at 11:31:34PM +0100, Trevor Daniels wrote:
 
 ALEXANDRE FICAGNA wrote Wednesday, June 13, 2012 2:57 PM
 
 
 I still didn't picture exactly how \inverse works in its from-pitch
  to-pitch variables, but I tried an example and what I got is the
  correct inversion of pitches, but each one was an octave above.
  
 
 If you use \relative for melody, \inversion behaves more as you
 would expect.  Either there is a bug which causes the incorrect
 behaviour you see when given absolute notes or the documentation
 needs to explain this better.  Note though that \inversion will
 also transpose if from-pitch and to-pitch differ.
 
 Copied to bug list for further discussion.

It looks like the behaviour has been explained by David Kastrup here:

http://lists.gnu.org/archive/html/lilypond-user/2012-06/msg00380.html

So, no bug in Lilypond to report then.

If either of you, Alexandre or Trevor, would care to create a documentation 
suggestion we'll create a tracker for it.

Cheers,
Colin.

--

Colin Hall

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


Re: Even page numbers on right?

2012-06-18 Thread David B. Stocker

Thanks, Janeck.

In case anyone who wants to know doesn't, here is the code that worked 
for me:


\version 2.14

\paper {

   evenHeaderMarkup = \markup {

 \column {

   \fill-line {

 \line { }

 \line {

   \on-the-fly #print-page-number-check-first

   \fromproperty #'page:page-number-string

 }

   }

 }

   }

   oddHeaderMarkup = \markup {

 \column {

   \fill-line {

 \line {

   \on-the-fly #print-page-number-check-first

   \fromproperty #'page:page-number-string

 }

 \line { }

   }

 }

   }

}



Janek Warchoł wrote:

On Sun, Jun 17, 2012 at 11:30 AM, David B. Stocker
notesetters...@gmail.com wrote:

Is there a way to have LilyPond print even page numbers in the top right
corner and odd page numbers in the top left?

This seems like it should be possible but I can't find any way to do it
either in the manuals or the LSR or on the lilypond-user list.

you have to define your own header layout.  See
http://www.lilypond.org/doc/v2.15/Documentation/notation/custom-headers-footers-and-titles#custom-layout-for-headers-and-footers

hth,
Janek




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


help scheme TAB strings music-function

2012-06-18 Thread Robby R
Hello,

I'm a newbie trying to make a function to print string names next to TAB.  I've
read the manuals over and over, and searched and searched all the lists.  Here's
what I have :

% %

\version 2.14.1 

%   MACRO DEFINITIONS 
 

setStrTuningCLEF =
   #(define-music-function
(parser location tuning)
(list?)
#{
\override Staff.InstrumentName #'self-alignment-X = 
#RIGHT 
\set Staff.instrumentName = #( markup 
make-center-column-markup $tuning ) ) 
#}
)

tuningCLEF = \markup { 
  \center-column { 1 2 3 4 5 } 
} 

%   END MACRO 
 


music = { 
\relative c'' { g4\1 g8\1 g8\5 e8\1 d8\1 d8\1 g8\5 } 
} 

\score { % This one WORKS and is a simple version what I'd like to acheive with
the music-function 
\new TabVoice { 
\set TabStaff.tablatureFormat = 
#fret-number-tablature-format-banjo 
\set TabStaff.stringTunings = #banjo-open-g-tuning 

\override Staff.InstrumentName #'self-alignment-X = 
#RIGHT  %  
\set Staff.instrumentName = \tuningCLEF 
%  

\music 
} 
} 
\score { % This one DOESN'T WORK
\new TabVoice { 
\set TabStaff.tablatureFormat = 
#fret-number-tablature-format-banjo 
\set TabStaff.stringTunings = #banjo-open-g-tuning 

\setStrTuningCLEF #'( D B G D g )   
%  

\music 
} 
} 

% %

Thanks for your help!
Robby


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


Re: help scheme TAB strings music-function

2012-06-18 Thread David Kastrup
Robby R rob...@buncombe.main.nc.us writes:

 Hello,

 I'm a newbie trying to make a function to print string names next to TAB.  
 I've
 read the manuals over and over, and searched and searched all the lists.  
 Here's
 what I have :

 % %

 \version 2.14.1 

 %   MACRO DEFINITIONS 
  

 setStrTuningCLEF =
#(define-music-function
   (parser location tuning)
   (list?)

Needs to be markup-list? in 2.14.  Current versions of LilyPond are not
that picky anymore, but it still makes sense to actually make your
predicate as restrictive as later uses of it require.

   #{
   \override Staff.InstrumentName
#'self-alignment-X = #RIGHT 

Should give a warning since InstrumentName is not a valid property name
(yes, upper/lower case are different).

-- 
David Kastrup


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


Re: help scheme TAB strings music-function

2012-06-18 Thread David Kastrup
David Kastrup d...@gnu.org writes:

 Robby R rob...@buncombe.main.nc.us writes:

 Hello,

 I'm a newbie trying to make a function to print string names next to TAB.  
 I've
 read the manuals over and over, and searched and searched all the lists.  
 Here's
 what I have :

 % %

 \version 2.14.1 

 %   MACRO DEFINITIONS 
  

 setStrTuningCLEF =
#(define-music-function
  (parser location tuning)
  (list?)

 Needs to be markup-list? in 2.14.  Current versions of LilyPond are not
 that picky anymore, but it still makes sense to actually make your
 predicate as restrictive as later uses of it require.

Sigh.  Except that your actual tuning clef is not a markup-list? but
rather a markup? so that is what you should be using here.


  #{
  \override Staff.InstrumentName
#'self-alignment-X = #RIGHT 

 Should give a warning since InstrumentName is not a valid property name
 (yes, upper/lower case are different).

-- 
David Kastrup


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