Re: adding 'HarmonicEvent?

2010-09-25 Thread Neil Puttock
On 24 September 2010 08:16, Marc Hohl  wrote:

> How can I place the 'articulations entry in the appropriate hierarchy level?

Look for a NoteEvent instead of an EventChord, then you can be sure
you're adding the HarmonicEvent to 'articulations for the relevant
notehead.

makeHarmonic =
#(define-music-function (parser location mus) (ly:music?)
   (define (make-harmonic mus)
 (let ((elts (ly:music-property mus 'elements))
   (elt (ly:music-property mus 'element)))
   ;; using cond is more convenient here
   (cond
((pair? elts)
 (map make-harmonic elts))
((ly:music? elt)
 (make-harmonic elt))
((music-is-of-type? mus 'note-event)
 (set! (ly:music-property mus 'articulations)   
   (append
;; don't overwrite existing 'articulations list
(ly:music-property mus 'articulations)
(list (make-music 'HarmonicEvent))
   mus))
   (make-harmonic mus))

Cheers,
Neil

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


Re: 2.13.34

2010-09-25 Thread Graham Percival
On Sat, Sep 25, 2010 at 11:04 PM, Patrick McCarty  wrote:
> http://lilypond.org/doc/v2.13/Documentation/notation/index
>
> Graham, I haven't been following the website changes very closely, but
> it looks like, in order to reach the development manuals, I have to
> click 5 links (from the home page):
>
> Manuals tab -> Development (redirects to Web manual) -> Manuals tab ->
> Development -> Notation (split HTML)
>
> Do you know what's going on here?

Err, I see one click from:
http://lilypond.org/doc/v2.13/Documentation/notation/index
1) click on "doc index" (top left)
2) scroll down

On the actual home page, it's also one click.
http://lilypond.org/
1) Manuals 2.13.24  ("quick links", right-hand side)
...
ah, ok, I see the problem.  It needs a patch to:
  Documentation/web/server/lilypond.org.htaccess

I'll take a look at it on Monday if nobody does before then.

Cheers,
- Graham

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


Re: 2.13.34

2010-09-25 Thread Federico Bruni
Il giorno sab, 25/09/2010 alle 17.46 -0400, craigbakalian ha scritto:
> Is there a Notation Reference like
> the one for 2.12?  I can't find it on the internet 

You can find the manuals for development version in this page (scroll it
down):

http://lilypond.org/website/development.html 

Cheers,
Federico


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


Re: 2.13.34

2010-09-25 Thread Patrick McCarty
On Sat, Sep 25, 2010 at 2:46 PM, craigbakalian
 wrote:
>
> Which leads me to my real question.  Is there a Notation Reference like
> the one for 2.12?  I can't find it on the internet.

Yes, there is, but I don't know why it's so difficult to find.  This
is something that changed recently.

http://lilypond.org/doc/v2.13/Documentation/notation/index

Graham, I haven't been following the website changes very closely, but
it looks like, in order to reach the development manuals, I have to
click 5 links (from the home page):

Manuals tab -> Development (redirects to Web manual) -> Manuals tab ->
Development -> Notation (split HTML)

Do you know what's going on here?

Thanks,
Patrick

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


Re: 2.13.34

2010-09-25 Thread craigbakalian
Hi all,

I downloaded 2.13.34.  Installed, and did a convert-ly of a piece for
trombone ensemble.  I did the convert-ly with frescobaldi.  Oddly it put
\version "2.13.31" on the top of my files. Is this correct?  I am
showing version 2.13.34 from my terminal. 

The system spacing is a vast improvement over the previous version.  I
cannot thank you guys enough.  Excellent work!  The max-systems-per-page
and min-systems-per-page is brilliant!  Does the systems-per-page work?
Which leads me to my real question.  Is there a Notation Reference like
the one for 2.12?  I can't find it on the internet.

Craig Bakalian 


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


Re: Line spacing inconsistency

2010-09-25 Thread Phil Holmes
"Neil Puttock"  wrote in message 
news:aanlkti=b0dhhncjvvsvgnibp6ibfpbmly28q6c7pt...@mail.gmail.com...

On 22 September 2010 16:27, Phil Holmes  wrote:

Originally posted to .devel in error:

Is it a known feature that using the font sizing commands \teeny, \huge,
etc., leads to inconsistent line spacing when compared with using 
fontsize?


Yes.  It's implied in the markup command documentation, though it
could be more explicit.

The named sizing commands set absolute font-size (and nothing else),
whereas \fontsize adds an increment to the current font-size, scaling
baseline-skip to match.

It might make sense to redefine the named commands in terms of
\abs-fontsize, since that'll ensure baseline-skip is changed while
retaining the absolute font-size.

Cheers,
Neil


That makes sense to me.  I can't see why anyone would ever want to change 
the font size of text without changing the line spacing to match - and if 
anyone _did_ wish to do a counter-intuitive thing, they could use the 
baseline-skip method themselves.


--
Phil Holmes
Bug Squad




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


Re: how to invoke self-compiled development versions

2010-09-25 Thread Patrick Schmidt


Am 25.09.2010 um 18:02 schrieb Patrick Schmidt:



Am 25.09.2010 um 17:16 schrieb James Bailey:



On Sep 25, 2010, at 10:45 AM, Patrick Schmidt wrote:


Hi all,

I'm using VirtualBox v.3.0.12 (the last release that supports Mac  
OS 10.4.11) and LilyBuntu. I downloaded the source code of the  
current development version with git to ~/lilypond-git and  
compiled it with "make all" as described in the manuals. So far  
so good!


According to the CG (Concurrent Stable and Development Versions)  
in order to use the development version I have to:


…create a link to the binary in the source tree by saving the  
following line in a file somewhere in your $PATH:


 exec /lilypond/out/bin/lilypond "$@"

I saved the following file as Lilypond in ~/bin:

 #!/bin/sh

 exec ~/lilypond-git/out/bin/lilypond "$@"

I made it executable with

chmod +x Lilypond

But when I try to invoke it by typing: Lilypond I get the message:

command not found

Where is my mistake? Is ~/bin not in my $PATH? If yes, how can I  
adjust this?


Thanks in advance for any pointers

patrick


No. ~/bin is not in the $PATH by default. If you look at the 2.12  
documentation (I haven't started reading through the 2.13  
documentatio)n, the end of the page has:
Now, add this directory to your path. Modify (or create) a file  
called .profile in your home directory such that it contains


export PATH=$PATH:~/bin

This file should end with a blank line.

hope this helps

James,

 thanks for your reply!
I think you are looking at the instructions for "Mac OS X on the  
command line" in Program Usage v.2.12?! Is it really the same for  
LilyBuntu?


When I type

echo $PATH

on LilyBuntu I get:

/home/pls/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/ 
bin:/sbin:/bin:/usr/games


So IINM  it must have been there by default as I haven't changed  
the PATH. I wouldn't even know how to do this on Linux (I can do it  
on Mac OS X). Doesn't that mean that the "bin"-folder I created for  
the "Lilypond"-script should be found?


Thanks for any hint!
patrick


Got it!

I just replaced

exec ~/lilypond-git/out/bin/lilypond "$@"

with

   exec /home/pls/lilypond-git/out/bin/lilypond "$@"

in my "Lilypond-script" and now it works.

Thanks,
patrick




___
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: how to invoke self-compiled development versions

2010-09-25 Thread Patrick Schmidt


Am 25.09.2010 um 17:16 schrieb James Bailey:



On Sep 25, 2010, at 10:45 AM, Patrick Schmidt wrote:


Hi all,

I'm using VirtualBox v.3.0.12 (the last release that supports Mac  
OS 10.4.11) and LilyBuntu. I downloaded the source code of the  
current development version with git to ~/lilypond-git and  
compiled it with "make all" as described in the manuals. So far so  
good!


According to the CG (Concurrent Stable and Development Versions)  
in order to use the development version I have to:


…create a link to the binary in the source tree by saving the  
following line in a file somewhere in your $PATH:


 exec /lilypond/out/bin/lilypond "$@"

I saved the following file as Lilypond in ~/bin:

 #!/bin/sh

 exec ~/lilypond-git/out/bin/lilypond "$@"

I made it executable with

chmod +x Lilypond

But when I try to invoke it by typing: Lilypond I get the message:

command not found

Where is my mistake? Is ~/bin not in my $PATH? If yes, how can I  
adjust this?


Thanks in advance for any pointers

patrick


No. ~/bin is not in the $PATH by default. If you look at the 2.12  
documentation (I haven't started reading through the 2.13  
documentatio)n, the end of the page has:
Now, add this directory to your path. Modify (or create) a file  
called .profile in your home directory such that it contains


export PATH=$PATH:~/bin

This file should end with a blank line.

hope this helps

James,

 thanks for your reply!
I think you are looking at the instructions for "Mac OS X on the  
command line" in Program Usage v.2.12?! Is it really the same for  
LilyBuntu?


When I type

echo $PATH

on LilyBuntu I get:

/home/pls/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/ 
sbin:/bin:/usr/games


So IINM  it must have been there by default as I haven't changed the  
PATH. I wouldn't even know how to do this on Linux (I can do it on  
Mac OS X). Doesn't that mean that the "bin"-folder I created for the  
"Lilypond"-script should be found?


Thanks for any hint!
patrick



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


Re: Line spacing inconsistency

2010-09-25 Thread Neil Puttock
On 22 September 2010 16:27, Phil Holmes  wrote:
> Originally posted to .devel in error:
>
> Is it a known feature that using the font sizing commands \teeny, \huge,
> etc., leads to inconsistent line spacing when compared with using fontsize?

Yes.  It's implied in the markup command documentation, though it
could be more explicit.

The named sizing commands set absolute font-size (and nothing else),
whereas \fontsize adds an increment to the current font-size, scaling
baseline-skip to match.

It might make sense to redefine the named commands in terms of
\abs-fontsize, since that'll ensure baseline-skip is changed while
retaining the absolute font-size.

Cheers,
Neil

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


Re: how to invoke self-compiled development versions

2010-09-25 Thread James Bailey

On Sep 25, 2010, at 10:45 AM, Patrick Schmidt wrote:

> Hi all,
> 
> I'm using VirtualBox v.3.0.12 (the last release that supports Mac OS 10.4.11) 
> and LilyBuntu. I downloaded the source code of the current development 
> version with git to ~/lilypond-git and compiled it with "make all" as 
> described in the manuals. So far so good!
> 
> According to the CG (Concurrent Stable and Development Versions) in order to 
> use the development version I have to:
> 
> …create a link to the binary in the source tree by saving the following 
> line in a file somewhere in your $PATH:
> 
>  exec /lilypond/out/bin/lilypond "$@"
> 
> I saved the following file as Lilypond in ~/bin:
> 
>  #!/bin/sh
> 
>  exec ~/lilypond-git/out/bin/lilypond "$@"
> 
> I made it executable with
> 
> chmod +x Lilypond
> 
> But when I try to invoke it by typing: Lilypond I get the message:
> 
> command not found
> 
> Where is my mistake? Is ~/bin not in my $PATH? If yes, how can I adjust this?
> 
> Thanks in advance for any pointers
> 
> patrick

No. ~/bin is not in the $PATH by default. If you look at the 2.12 documentation 
(I haven't started reading through the 2.13 documentatio)n, the end of the page 
has:
Now, add this directory to your path. Modify (or create) a file called .profile 
in your home directory such that it contains

export PATH=$PATH:~/bin

This file should end with a blank line.

hope this helps


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


Re:Re: feedback on 2.13.34

2010-09-25 Thread 胡海鹏 - Hu Haipeng
Thanks! My Filezilla can't connect to my own ftp site, and Filesonic is running 
abnormal this month. The other 2 sites you pointed out are either blocked by 
gfw or redirected to another site. So I have to upload it to RS, and you hacan 
only have 10 chances to download it. The zip file contains no pdf, and I'd like 
you to see what's wrong with the pdf output. But since the file is very big, I 
don't think anyone can find the problem quickly. But I don't know where to cut, 
and what page causes the warnings.
http://rapidshare.com/files/421205725/overture.zip

Regards
Haipeng

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


Re: feedback on 2.13.34

2010-09-25 Thread Gerard McConnell
2010/9/25 胡海鹏 - Hu Haipeng 

> Hello,
>   I'm very glad that 2.13.34 is much better than previous devel versions
> since 2.13.24. The only shortcoming is, however, still spacing. In my case,
> the overture uses 35 pages in 2.13.24, while 37 in 2.13.34, with one
> "couldn't fit music on page:" warning in the middle. I don't know which page
> it belongs to (please add an indication for easier reference). I'd like it
> go closer to 2.13.24's excellent spacing.
>   The overture is too big, so I can't include it here. But I don't know how
> to demonstrate the somewhat frustrating spacing. Could anyone point out a
> way for you to examine the problem?
> Regards
> Haipeng
>

I think you could upload it to scribd.com or usendit.com.
Gerard
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: need a header in the middle of a page

2010-09-25 Thread Xavier Scheuer
On 25 September 2010 02:25, Michael Dykes  wrote:
>
> Thanks, Xavier.

You're welcome.  :)


> The only thing I wish I could see differently, is the 'stanzas' printed
> straight across the page. Is that possible? If not, then I
> am very well satisfied with what it looks like. Thanks again.

What do you mean by "straight across the page" (my English-to-French
dictionary does not help me to see what you want)?

Have you had a look at the Notation Reference manual, section
2.1.3 Stanzas, to see if what you want is not there?
http://lilypond.org/doc/v2.13/Documentation/notation/stanzas.html#printing-stanzas-at-the-end

Cheers,
Xavier

--
Xavier Scheuer 

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


how to invoke self-compiled development versions

2010-09-25 Thread Patrick Schmidt

Hi all,

I'm using VirtualBox v.3.0.12 (the last release that supports Mac OS  
10.4.11) and LilyBuntu. I downloaded the source code of the current  
development version with git to ~/lilypond-git and compiled it with  
"make all" as described in the manuals. So far so good!


According to the CG (Concurrent Stable and Development Versions) in  
order to use the development version I have to:


 …create a link to the binary in the source tree by saving the  
following line in a file somewhere in your $PATH:


  exec /lilypond/out/bin/lilypond "$@"

I saved the following file as Lilypond in ~/bin:

  #!/bin/sh

  exec ~/lilypond-git/out/bin/lilypond "$@"

I made it executable with

 chmod +x Lilypond

But when I try to invoke it by typing: Lilypond I get the message:

 command not found

Where is my mistake? Is ~/bin not in my $PATH? If yes, how can I  
adjust this?


Thanks in advance for any pointers

patrick




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