lilypond-book and \betweenLilyPondSystem

2015-04-07 Thread Kevin Barry
Dear All,

By default, the distance between the header and the first system of a score
is less than the distance between systems (I think the basic distance for
the former is 5 staff spaces, and 12 for the latter). Is there any way to
get lilypond-book to mimic this behaviour? There seems to be only one
variable for controlling the distance between systems
(\betweenLilyPondSystem) that is also called in between the header and the
first system.

I can understand that in a full score the extra space isn't that important,
but in a text document with musical examples the space sometimes looks
terrible. An example of what I mean is pasted below.

\documentclass{article}
\newcommand{\betweenLilyPondSystem}[1]{\vspace{2em plus0pt
minus12pt}\linebreak}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\begin{figure}[!h]
  \begin{lilypond}
music = \repeat unfold 50 b
\header { composer = composer }
 \new Staff \music \new Staff \music 
  \end{lilypond}
\end{figure}
\end{document}

Apart from solutions to this problem I would also like to hear what
settings people use for \betweenLilyPondSystem. This thorny issue is one of
the reasons I mostly don't use lilypond-book.

Thanks in advance,
Kevin
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Linux Mint 17.1 - Frescobaldi Installation Problem

2015-04-07 Thread Server Acim

Hello,
I installed frescobaldi ve python-ly zippped files from source.
I created an LilyPond_Frescobaldi folder. Than I write sudo python 
setup.py install


I installed python-ly package too. And gave the same command sudo 
python setup.py install

It installed I assume.

You will see the error messages at the screenshots that I share with you.

https://drive.google.com/file/d/0B9zlIdML7f2EQkg2YWItQVZOLWc/view?usp=sharing
https://drive.google.com/file/d/0B9zlIdML7f2EVE9tVmRuYTZMaFU/view?usp=sharing

How can I fix this?

Thank you.

--
Server ACİM
- Besteci (Composer)
- İnönü Üniversitesi Öğretim Üyesi (Full Professor of Music Composition 
at Inonu Universitesi - Malatya - TURKEY)

- Linux Mint Kullanıcısı ve Destekçisi (Linux Mint User and Supporter)

http://google.com/+ServerAcim
http://about.me/server.acim

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


Re: [Frescobaldi] Linux Mint 17.1 - Frescobaldi Installation Problem

2015-04-07 Thread Federico Bruni
Hello

It's the third time I see your email.
Message arrived.

I would recommend uninstalling everything and be sure that you really
cleaned any old frescobaldi installation.
Then try again to install.



2015-04-07 17:39 GMT+02:00 Server Acim ser...@acim.name.tr:

 Hello,
 I installed frescobaldi ve python-ly zippped files from source.
 I created an LilyPond_Frescobaldi folder. Than I write sudo python
 setup.py install

 I installed python-ly package too. And gave the same command sudo python
 setup.py install
 It installed I assume.

 You will see the error messages at the screenshots that I share with you.

 https://drive.google.com/file/d/0B9zlIdML7f2EQkg2YWItQVZOLWc/
 view?usp=sharing
 https://drive.google.com/file/d/0B9zlIdML7f2EVE9tVmRuYTZMaFU/
 view?usp=sharing

 How can I fix this?

 Thank you.

 --
 Server ACİM
 - Besteci (Composer)
 - İnönü Üniversitesi Öğretim Üyesi (Full Professor of Music Composition at
 Inonu Universitesi - Malatya - TURKEY)
 - Linux Mint Kullanıcısı ve Destekçisi (Linux Mint User and Supporter)

 http://google.com/+ServerAcim
 http://about.me/server.acim

 --
 Frescobaldi homepage: http://www.frescobaldi.org/
 Mailing list: http://groups.google.com/group/frescobaldi
 Issue tracker: https://github.com/wbsoft/frescobaldi/issues

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


Re: box around notes

2015-04-07 Thread David Nalesnik
Hi Klaus.

On Mon, Apr 6, 2015 at 4:55 PM, Klaus Blum benbigno...@gmx.de wrote:

 Hi David,

 here's my first attempt to apply my drawing function to your project.
 Thanks
 again for sharing this really cool tool!


You're very welcome.  What you've done with it is really impressive, and I
hope that one day this will be trouble-free!



 I've played around with some settings, and I also experimented with the
 messed up dynamics problem when taking the engravers out of the score
 context.
 It works if you set outside-staff-priority to a value high enough:
\override MusicBoxer.outside-staff-priority = #1
\override Box.outside-staff-priority = #1
 However, this leads to a warning:
 Ein Objekt außerhalb der Notenzeile sollte eine Richtung haben, Vorgabe
 ist
 »nach oben«
 (Following the lilypond translation, this is the original warning message:
 #: axis-group-interface.cc:786
 msgid an outside-staff object should have a direction, defaulting to up)

 It seems that there is something taken into account for spacing
 calculations, but LilyPond doesn't know if this mysterious something is
 located above or below the score.


Well, the mysterious somethings are quite simply the boxes.  When you set
outside-staff-priority, the object becomes an outside-staff object, and
thus needs a direction to know how it should be moved when arranging
outside-staff objects.

In the attached file, I put the relevant information into the grob
description.  I lowered the outside-staff-priority from 1 to 251 to
show that (here at least) it only has to be larger than the dynamic which
has a priority of 250.  How did you arrive at 1?



 By the way, if I put a box around an eighth note that is attached to a
 beam,
 the beam completely disappears. With MusicBoxer this is not the case.


The warning is the key -- well, a first clue:

 programming error: minimise_least_squares ():  Nothing to minimise
This means that vertical spacing is triggered
before line breaking

Something somewhere has calculated vertical spacing too early, and this
messes up the positioning of the Beam grob.

The problem is in the stencil callback for Box, which in your version is
set to the same function as MusicBoxer.  When you request information about
Y-extent, the function ly:relative-group-extent triggers vertical spacing
routines before LilyPond is ready.  She must determine line breaks before
the final stamp is put on the vertical aspect.

I believe what is needed is a pure callback for Y-extent, so that
LilyPond can make a safe estimate (i.e., without side effects) to use for
purposes of line-breaking.  Unfortunately, I'm having no luck with this.

You can read about purity here:
http://lilypond.org/doc/v2.19/Documentation/contributor/understanding-pure-properties

In the attached, I duplicated most of the code of music-boxer-stencil for
box-stil with a small change.  This is not a solution, just a demonstration
of what causes the programming error and the disappeared beam.  Note that I
just hardcoded Y-extent so that no calculation happens -- obviously a
non-solution ...

Possibly you can continue to use the same stencil callback for both
objects. In any case I'm pretty sure you will have to move the
determination of height to a separate group of functions.




 Unfortunately I cannot be much of help for any explanation because the way
 LilyPond acts behind the scenes is still a mystery to me...


I'd like to be able to say that it all becomes clear at some point, but
alas...

Hope this helps somewhat!

David
\version 2.19.15

\header {
  tagline = ##f
}

#(define-event-class 'music-boxer-event 'span-event)

#(define-event-class 'box-event 'music-event)

#(define (add-grob-definition grob-name grob-entry)
   (let* ((meta-entry   (assoc-get 'meta grob-entry))
  (class(assoc-get 'class meta-entry))
  (ifaces-entry (assoc-get 'interfaces meta-entry)))
 ;; change ly:grob-properties? to list? to work from 2.19.12 back to at least 2.18.2
 (set-object-property! grob-name 'translation-type? ly:grob-properties?)
 (set-object-property! grob-name 'is-grob? #t)
 (set! ifaces-entry (append (case class
  ((Item) '(item-interface))
  ((Spanner) '(spanner-interface))
  ((Paper_column) '((item-interface
 paper-column-interface)))
  ((System) '((system-interface
   spanner-interface)))
  (else '(unknown-interface)))
  ifaces-entry))
 (set! ifaces-entry (uniq-list (sort ifaces-entry symbol?)))
 (set! ifaces-entry (cons 'grob-interface ifaces-entry))
 (set! meta-entry (assoc-set! meta-entry 'name grob-name))
 (set! meta-entry (assoc-set! meta-entry 'interfaces
ifaces-entry))
 (set! grob-entry 

Re: [Frescobaldi] Linux Mint 17.1 - Frescobaldi Installation Problem

2015-04-07 Thread Server Acim

SOLVED.
I removed all old installation files from /usr/lib folder. Than I 
reinstalled python-ly and frescobaldi system from terminal with python 
setup.py commands.

Thanks for your help.

On 07-04-2015 18:44, Federico Bruni wrote:

Hello

It's the third time I see your email.
Message arrived.

I would recommend uninstalling everything and be sure that you really
cleaned any old frescobaldi installation.
Then try again to install.



2015-04-07 17:39 GMT+02:00 Server Acim ser...@acim.name.tr
mailto:ser...@acim.name.tr:

Hello,
I installed frescobaldi ve python-ly zippped files from source.
I created an LilyPond_Frescobaldi folder. Than I write sudo python
setup.py install

I installed python-ly package too. And gave the same command sudo
python setup.py install
It installed I assume.

You will see the error messages at the screenshots that I share with
you.


https://drive.google.com/file/__d/__0B9zlIdML7f2EQkg2YWItQVZOLWc/__view?usp=sharing

https://drive.google.com/file/d/0B9zlIdML7f2EQkg2YWItQVZOLWc/view?usp=sharing

https://drive.google.com/file/__d/__0B9zlIdML7f2EVE9tVmRuYTZMaFU/__view?usp=sharing

https://drive.google.com/file/d/0B9zlIdML7f2EVE9tVmRuYTZMaFU/view?usp=sharing

How can I fix this?

Thank you.

--
Server ACİM
- Besteci (Composer)
- İnönü Üniversitesi Öğretim Üyesi (Full Professor of Music
Composition at Inonu Universitesi - Malatya - TURKEY)
- Linux Mint Kullanıcısı ve Destekçisi (Linux Mint User and Supporter)

http://google.com/+ServerAcim
http://about.me/server.acim

--
Frescobaldi homepage: http://www.frescobaldi.org/
Mailing list: http://groups.google.com/__group/frescobaldi
http://groups.google.com/group/frescobaldi
Issue tracker: https://github.com/wbsoft/__frescobaldi/issues
https://github.com/wbsoft/frescobaldi/issues




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



--
Server ACİM
- Besteci (Composer)
- İnönü Üniversitesi Öğretim Üyesi (Full Professor of Music Composition 
at Inonu Universitesi - Malatya - TURKEY)

- Linux Mint Kullanıcısı ve Destekçisi (Linux Mint User and Supporter)

http://google.com/+ServerAcim
http://about.me/server.acim

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


Staff Spacing

2015-04-07 Thread Chris Trahan
I have an SATB score with interludes between verses. I've built the score
in a choir staff group with 4 staves for each vocal range and a 5th staff
for the interlude.  I'm hiding empty staves for the parts that are not
singing. For example, one part is sopranos and altos so the tenor and bass
parts are hidden during that verse.

 The musical interlude staff is built with rests in all verses so only the
music that is played during the interlude shows.

I'm trying to reduce the spacing between the staves in the interlude
sections but nothing seems to be working. See the attached screenshot.

The interlude staff is the last staff in the system. I'm using
staff-staff-spacing to reduce the spacing of the SATB parts.  I've tried
the system-system-spacing in the \paper block setting the basic-distance to
8.

Any suggestions?

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


Pango Update in new binaries

2015-04-07 Thread Joshua Nichols
Hello all,

I apologize if this question has already been asked.

Has the new version of pango been ported to the binaries on
mac/windows/linux? I noticed here
https://code.google.com/p/lilypond/issues/detail?id=2656 that there has
since been bug issues with a previous version that LilyPond has been using,
and now there's been fixes to those bugs. I noticed its in the latest dev
release of LilyPond, but my question is: is it being retroactively
implemented in the stable release?

Thanks,

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


How to use keep-alive-together / hara-kiri-together

2015-04-07 Thread H. S. Teoh
Hi All,

I have a ScoreMarks context (basically, something to collect score
marks, tempo changes, etc.) placed above a StaffGroup, that I want to
elide when the StaffGroup is elided by \removeEmptyStaves. How do I do
this?

I've tried searching online and found references to keep-alive-together
and hara-kiri-together, but couldn't find any examples of how to
actually use these properties. The docs are rather scanty and I didn't
find anything helpful in the list archives except for Kieran's post
regarding essentially the same question, but there was no response:

http://lilypond.1069038.n5.nabble.com/keep-alive-together-or-hara-kiri-together-to-kill-a-Marks-context-td154704.html

Any clues?


T

-- 
Do not reason with the unreasonable; you lose by definition.

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


Re: documenting public Scheme functions

2015-04-07 Thread Gilles THIBAULT
Le mardi 7 avril 2015, 06:12:12 Pierre Perol-Schneider a écrit :
 Hi David,
 Simply thank you very, very much!!
+1
It works also with Lilypond 2.18.2

-- 
Gilles

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


Re: documenting public Scheme functions

2015-04-07 Thread Thomas Morley
2015-04-07 23:40 GMT+02:00 Gilles THIBAULT gilles.thiba...@free.fr:
 Le mardi 7 avril 2015, 06:12:12 Pierre Perol-Schneider a écrit :
 Hi David,
 Simply thank you very, very much!!
 +1


Great!

thanks,
  Harm

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


the sound of brushes

2015-04-07 Thread PharaoS
I am trying to get the sound of the jazz brushes with midi \drums {
sn2^brush sn1 sn sn sn} gives me only  short snaps.Is it possible to
improve that 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/the-sound-of-brushes-tp174179.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: the sound of brushes

2015-04-07 Thread Nathan Ho
On Tue, Apr 7, 2015 at 1:54 PM, PharaoS yves.hoche...@wanadoo.fr wrote:

 I am trying to get the sound of the jazz brushes with midi \drums {
 sn2^brush sn1 sn sn sn} gives me only short snaps. Is it possible to
 improve that


This is a consequence of the MIDI player you're using, and not something
that can be controlled by LilyPond.

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


Re: documenting public Scheme functions

2015-04-07 Thread Paul Morris
This is fantastic, thanks David!

-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/documenting-public-Scheme-functions-tp174145p174189.html
Sent from the User mailing list archive at Nabble.com.

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