Re: Error Message

2010-06-05 Thread James Bailey


On 03.06.2010, at 13:17, Richard Lockwood wrote:


Hello Support,

Downloaded Mac version lilypond-2.12.3-1.darwin-ppc.tar.bz2 (I have  
a G5 10.4.11
PPC). Unzipped file, dragged app. into apps. folder and installed  
an alias in
the dock. Ran the app. as per instructions: saved the file,   
compiled it and

clicked on one of the noteheads of the pdf. All good.
Then I started to write my own file. The notation is correct but I  
get an the

following error message when I run "compile" - "typeset file":
/Users/richardlockwood/Richard/Lilypond/Singing Name Singing.ly:0  
warning: no
\version statement found, pleas add \version "2.12.3" (this is the  
version I

have installed?)

Regards,
Richard


For future reference, questions such as this are better suited for  
the -user list. For you information, this message is generated when  
your input file lacks a version statement. The error tells you to  
quite literally, add the line, \version "2.12.3" to your input file.


Hope this helps.

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


RE: Error Message

2010-06-05 Thread James Lowe
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning-big-page#Version-number

-Original Message-
From: lilypond-user-bounces+james.lowe=datacore@gnu.org on behalf of James 
Bailey
Sent: Sat 05/06/2010 8:02
To: Richard Lockwood
Cc: lilypond-user Mailinglist
Subject: Re: Error Message
 

On 03.06.2010, at 13:17, Richard Lockwood wrote:

> Hello Support,
>
> Downloaded Mac version lilypond-2.12.3-1.darwin-ppc.tar.bz2 (I have  
> a G5 10.4.11
> PPC). Unzipped file, dragged app. into apps. folder and installed  
> an alias in
> the dock. Ran the app. as per instructions: saved the file,   
> compiled it and
> clicked on one of the noteheads of the pdf. All good.
> Then I started to write my own file. The notation is correct but I  
> get an the
> following error message when I run "compile" - "typeset file":
> /Users/richardlockwood/Richard/Lilypond/Singing Name Singing.ly:0  
> warning: no
> \version statement found, pleas add \version "2.12.3" (this is the  
> version I
> have installed?)
>
> Regards,
> Richard

For future reference, questions such as this are better suited for  
the -user list. For you information, this message is generated when  
your input file lacks a version statement. The error tells you to  
quite literally, add the line, \version "2.12.3" to your input file.

Hope this helps.

___
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: Error Message

2010-06-05 Thread James Lowe
Sorry to reply to my own post, but we have improved the documentation on this 
(and some other basics like this) here

http://lilypond.org/doc/v2.13/Documentation/learning-big-page#index-version-number

While 2.13 is considered 'unstable', most (if not all) of the Learning Manual 
for this version will still apply to the version you have.

Regards

James


-Original Message-
From: lilypond-user-bounces+james.lowe=datacore@gnu.org on behalf of James 
Lowe
Sent: Sat 05/06/2010 9:47
To: James Bailey; Richard Lockwood
Cc: lilypond-user Mailinglist
Subject: RE: Error Message
 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning-big-page#Version-number

-Original Message-
From: lilypond-user-bounces+james.lowe=datacore@gnu.org on behalf of James 
Bailey
Sent: Sat 05/06/2010 8:02
To: Richard Lockwood
Cc: lilypond-user Mailinglist
Subject: Re: Error Message
 

On 03.06.2010, at 13:17, Richard Lockwood wrote:

> Hello Support,
>
> Downloaded Mac version lilypond-2.12.3-1.darwin-ppc.tar.bz2 (I have  
> a G5 10.4.11
> PPC). Unzipped file, dragged app. into apps. folder and installed  
> an alias in
> the dock. Ran the app. as per instructions: saved the file,   
> compiled it and
> clicked on one of the noteheads of the pdf. All good.
> Then I started to write my own file. The notation is correct but I  
> get an the
> following error message when I run "compile" - "typeset file":
> /Users/richardlockwood/Richard/Lilypond/Singing Name Singing.ly:0  
> warning: no
> \version statement found, pleas add \version "2.12.3" (this is the  
> version I
> have installed?)
>
> Regards,
> Richard

For future reference, questions such as this are better suited for  
the -user list. For you information, this message is generated when  
your input file lacks a version statement. The error tells you to  
quite literally, add the line, \version "2.12.3" to your input file.

Hope this helps.

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


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


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


Re: music function not duplicating manual "equivalent"

2010-06-05 Thread Nicolas Sceaux
Le 4 juin 2010 à 18:13, Kieren MacMillan a écrit :

> Hey all!
> 
> Can anyone explain what's going wrong here? [The scores are intended/expected 
> to have identical output, i.e., the first version.]
> Is it the q "function" that's messing me up, or my \split function?

Itt is the conjonction of `q', \relative and #{ #} syntax which gives
the undesired result, as is demonstrated in the following example:

\version "2.13.22"

identityA =
#(define-music-function (parser location music) (ly:music?)
   music)

identityB =
#(define-music-function (parser location music) (ly:music?)
   #{ $music #})

%% reference: tied chords
\relative c' { 4 ~ q }

%% music function, without #{  #} syntax ==> OK
\relative c' \identityA { 4 ~ q }

%% music function with #{  #} syntax ==> KO
\relative c' \identityB { 4 ~ q }

I don't see yet how to solve that problem, I'm adding an issue to the tracker.


As a work around, you can use the following \split function:

split =
#(define-music-function (parser location music1 music2) (ly:music? ly:music?)
   (make-music
'SequentialMusic
'elements
(list (make-music
   'SimultaneousMusic
   'elements
   (list (make-music
  'SequentialMusic
  'elements (list voiceOne music1))
 (make-music
  'ContextSpeccedMusic
  'property-operations '()
  'context-id "2"
  'context-type 'Voice
  'element (make-music 'SequentialMusic
   'elements (list voiceTwo music2)
  oneVoice)))

Nicolas


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


Re: music function not duplicating manual "equivalent"

2010-06-05 Thread Kieren MacMillan
Hi Nicolas,

> Itt is the conjonction of `q', \relative and #{ #} syntax which gives
> the undesired result, as is demonstrated in the following example:

Nice catch!

> I don't see yet how to solve that problem, I'm adding an issue to the tracker.
> 

Thanks.

> As a work around, you can use the following \split function:

Fabulous -- thanks again!
This reminds me of a question I've always had: Is there a benefit [e.g., speed] 
to writing music functions in "pure Scheme" rather than the #{ #} syntax?

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


Store values in a scheme variable to use after

2010-06-05 Thread josé henrique padovani
Hi... I'm trying to store a NoteHead's position (by using scheme 
functions) to be abble to use this value after (as a string in a markup)...
To do that I define a variable (myvar with the string "init") and then I 
use tweak to set! myvar to its new value...


But when I call myvar from a markup, it still finds the old argument 
"init"...


Why?
Is it possible to do something like what I am trying to do in another way?

Thank you,
josé

code:
\version "2.13.22"

#(define myvar "init")

#(define (notehead-get-staffposition notehead)
   ;; notehead is grob
   (ly:grob-property notehead 'staff-position))

#(define (change-myvar notehead)
   ;; notehead is grob
   (let ((sp (ly:number->string (notehead-get-staffposition notehead
 (format #t "~2&~a\n" (make-string 40 #\-))
(begin
 (format #t "~a\n" sp)
 (set! myvar sp

\relative c' {
  c1^\markup{\text \myvar}

  \once \override NoteHead #'before-line-breaking = #change-myvar
  c
  g^\markup{\text \myvar}
  a^\markup{\text \myvar}
}

--
http://zepadovani.info


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


Kieren MacMillan, Bounty Hunter

2010-06-05 Thread Kieren MacMillan
Hey all!

I've recently been granted the ability to tag issues in the Google tracker.

If you have an issue that you are willing to sponsor, please send me (off-list) 
an email containing:
  1. the issue/bug/enhancement (with issue #, if it's already in the tracker);
  2. the amount you're personally willing to pay to see the fix/addition;
  3. any additional related links (e.g., mailing list archive threads, 
workarounds in the LSR, etc.).

I'll consolidate these and put them into the tracker -- can't guarantee it will 
help, but it can't hurt!

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


Re: Kieren MacMillan, Bounty Hunter

2010-06-05 Thread Graham Percival
On Sat, Jun 05, 2010 at 01:10:00PM -0400, Kieren MacMillan wrote:
> If you have an issue that you are willing to sponsor, please send me 
> (off-list) an email containing:
>   2. the amount you're personally willing to pay to see the fix/addition;

In particular, could this figure be in US$ or euro?  I don't want
discourage Canadians and Britons from sponsoring (especially since
those are my two countries), but not everybodys knows the current
exchange rate between NZ dollars and French francs.  Keeping these
figures to the "big-name" US$ and euro will make it easier for
people to keep track; most people will already have a rough idea
of how their national currency compares to those two.

Cheers,
- Graham

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


Re: Kieren MacMillan, Bounty Hunter

2010-06-05 Thread Kieren MacMillan
> In particular, could this figure be in US$ or euro?

The local currency stays meaningful to the sponsor, whereas the converted one 
doesn't.
e.g., if I offer US$100 when the CDN$ is at parity, I'll have to pay $200 if it 
drops to 1:2 during the time the bounty is unclaimed.

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


Re: Kieren MacMillan, Bounty Hunter

2010-06-05 Thread Graham Percival
On Sat, Jun 05, 2010 at 01:26:28PM -0400, Kieren MacMillan wrote:
> > In particular, could this figure be in US$ or euro?
> 
> The local currency stays meaningful to the sponsor, whereas the converted one 
> doesn't.
> e.g., if I offer US$100 when the CDN$ is at parity, I'll have to pay $200 if 
> it drops to 1:2 during the time the bounty is unclaimed.

Well, do we want to make things easier for the sponsor, or easier
for the developer?  It's a trade-off.

My whole view of lilypond development is to make things as easy as
possible for the people we have the least of.  More users than Bug
Squad members?  put more onus on users reporting bugs and less on
the Bug Squad.  More users wanting news about releases than people
working on releases?  screw writing detailed news; users can go
read the changelog (or offer to help) they want more info than
"some bugs were fixed, and BTW, you shouldn't be using 2.13 for
anything serious".

Currency fluctuation *is* an issue, especially if bounties float
around for a year or two before being claimed.  We could add time
limits to these... frankly, I'd interpret any bounty older than 3
months as a "suggestion" rather than a firm promise, and I'd try
to contact the person offering it to check if it's still valid
before doing any work.

Cheers,
- Graham

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


Re: Kieren MacMillan, Bounty Hunter

2010-06-05 Thread Kieren MacMillan
Hi Graham,

> Currency fluctuation *is* an issue, especially if bounties float
> around for a year or two before being claimed.  We could add time
> limits to these... frankly, I'd interpret any bounty older than 3 months
> as a "suggestion" rather than a firm promise, and I'd try to contact
> the person offering it to check if it's still valid before doing any work.

OK.
Kieren.

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


Re: Quotes and apostrophes in PDF documentation

2010-06-05 Thread Graham Percival
On Sat, Jun 05, 2010 at 12:19:02PM +1000, Nick Payne wrote:
> In the PDF version of the documentation, some of the code samples in the  
> text have typesetters quotes or apostrophes, which means they fail if  
> copied and pasted into lilypond source. For example, the entry in the  
> 2.13 changes documentation on preserving intermediate files:

I see why it's happening in Changes.  Have you seen this anywhere
else?

Cheers,
- Graham

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


Re: Kieren MacMillan, Bounty Hunter

2010-06-05 Thread Xavier Scheuer
2010/6/5 Graham Percival :

> In particular, could this figure be in US$ or euro?  I don't want
> discourage Canadians and Britons from sponsoring (especially since
> those are my two countries), but not everybodys knows the current
> exchange rate between NZ dollars and French francs.

Yeah, especially since French francs were replaced by Euros 10 years
ago...  :D

Cheers,
Xavier

--
Xavier Scheuer 

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


forced-blank markup for parts

2010-06-05 Thread Kieren MacMillan
Hello all,

I have a "notes" file with all the musical content for my quartet (2 vlns, 
cello, and piano). Like the good content-presentation separator I try to be, I 
have \editionTweaks variables in my "score" files, which I simultaneous-ify 
with the content variable, e.g.

  \new Staff = "Staff_cello" << \global \celloNotes \editionTweaks >>

This works very well for most things ("simple" page turns, MetronomeMark 
tweaks, etc.).

Now, I want to force a page turn with the markup "V.S." -- or even with a "This 
page intentionally left blank." full-page notice -- and I can't quite figure 
out how to "inline" this kind of markup. Any suggestions? [p.s. Using \tag in 
the content will be a last resort, since I'm trying not to mix presentation 
with content.]

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