Re: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Sirius Barras
Thank you R.Shann and Noeck, your solution

{
  bes'
  -\markup \column { \line { "1." \dynamic "p" }
 \line { "2." \dynamic "f" } }
}


works perfectly and it is pretty simple.
s.

On 21 October 2016 at 21:51, Noeck  wrote:

> Hi,
>
> Am 21.10.2016 um 10:25 schrieb Richard Shann:
> > <>^\markup\scale #'(1 . 1)\column{\line{1. \dynamic p
> > }\line{2. \dynamic f}
> > }
>
> Why the \scale?
>
> Otherwise, my suggestion would have been very similar:
>
> {
>   bes'
>   -\markup \column { \line { "1." \dynamic "p" }
>  \line { "2." \dynamic "f" } }
> }
>
> Cheers,
> Joram
>
> ___
> 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: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Sirius Barras
Dear Urs and Simon

I'm not sure to understand how to correctly use your solution:

> <<
>   \new Staff { c'1 }
>   \new Dynamics { s1 \p }
>   \new Dynamics { s1 \f }
>   \new Staff { \clef bass c1 }
> >>

My apologize if my question is naif, but in case I need to apply my
dynamics not at the beginning but somewhere in the center of the piece,
should I count the number of measures and change { s1 \p } in accord with
it? If this is the case, then of course this type of solution make sense
only when you have a complex and frequent dynamics. Or am I wrong?

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


Re: No readline in scheme-sandbox

2016-10-21 Thread Thomas Morley
2016-10-22 0:17 GMT+02:00 David Kastrup :
> Thomas Morley  writes:
>
>> 2016-10-21 23:30 GMT+02:00 David Kastrup :
>>> Thomas Morley  writes:
>>>
 I mostly use self-compiled LilyPond which seems to work as it should.
 I'd call it a bug not to have access to all guile-modules in released
 version.
>>>
>>> libreadline is not a Guile module.  It can be loaded at runtime by
>>> Guile.
>>>
>>> Maybe check whether installing libreadline5 or libreadline6 helps: it
>>> may be that Gub compiled with a certain libreadline version in mind that
>>> is not installed.
>>>
>>> --
>>> David Kastrup
>>
>> I currently have the following 3 installed:
>> libreadline5
>> libreadline6
>> libreadline6-dev
>>
>> Should I try removing one?
>
> No.  All but the -dev ones can be installed in parallel without problem.
> You can have only one -dev one usually.
>
> --
> David Kastrup

Ok.

I have GUB-git on my computer, although never tried to compile it on
my weak laptop I did:

~/gub (master)$ git grep "libreadline"
sourcefiles/guile.changelog:  * Add readline as build dependency,
libreadline8 as dependency for
sourcefiles/guile.changelog:  * guile.hint (requires): Update to
libncurses8, libreadline6.
sourcefiles/guile.changelog:  * Compile against libreadline5 and
libncurses6.  This fixes readline,
sourcefiles/guile.changelog:  * guile.hint: require libreadline5 and
libncurses6.

The first hit reads in sourcefiles/guile.changelog:

guile (1.8.1-2) unstable; urgency=low

  * Add readline as build dependency, libreadline8 as dependency for
libguile17 (thanks Ted Anderson).
  * Remove /etc/hints.
  * Remove curr from hints.

 -- Jan Nieuwenhuizen   Tue, 31 Oct 2006 00:47:35 +0100

No idea whether it's important, it's far beyond my depth.

Cheers,
  Harm

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


Re: No readline in scheme-sandbox

2016-10-21 Thread David Kastrup
Thomas Morley  writes:

> 2016-10-21 23:30 GMT+02:00 David Kastrup :
>> Thomas Morley  writes:
>>
>>> I mostly use self-compiled LilyPond which seems to work as it should.
>>> I'd call it a bug not to have access to all guile-modules in released
>>> version.
>>
>> libreadline is not a Guile module.  It can be loaded at runtime by
>> Guile.
>>
>> Maybe check whether installing libreadline5 or libreadline6 helps: it
>> may be that Gub compiled with a certain libreadline version in mind that
>> is not installed.
>>
>> --
>> David Kastrup
>
> I currently have the following 3 installed:
> libreadline5
> libreadline6
> libreadline6-dev
>
> Should I try removing one?

No.  All but the -dev ones can be installed in parallel without problem.
You can have only one -dev one usually.

-- 
David Kastrup

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


Re: No readline in scheme-sandbox

2016-10-21 Thread Thomas Morley
2016-10-21 23:30 GMT+02:00 David Kastrup :
> Thomas Morley  writes:
>
>> I mostly use self-compiled LilyPond which seems to work as it should.
>> I'd call it a bug not to have access to all guile-modules in released
>> version.
>
> libreadline is not a Guile module.  It can be loaded at runtime by
> Guile.
>
> Maybe check whether installing libreadline5 or libreadline6 helps: it
> may be that Gub compiled with a certain libreadline version in mind that
> is not installed.
>
> --
> David Kastrup

I currently have the following 3 installed:
libreadline5
libreadline6
libreadline6-dev

Should I try removing one?

Btw, I meanwhile found (ice-9 session) is not installed per default,
neither in a released nor in the git-compiled lily. As opposed to
guile directly invoked from command-line.
At least (use-modules (ice-9 session)) works. Because it _is_ a guile module?

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


Re: No readline in scheme-sandbox

2016-10-21 Thread David Kastrup
Thomas Morley  writes:

> I mostly use self-compiled LilyPond which seems to work as it should.
> I'd call it a bug not to have access to all guile-modules in released
> version.

libreadline is not a Guile module.  It can be loaded at runtime by
Guile.

Maybe check whether installing libreadline5 or libreadline6 helps: it
may be that Gub compiled with a certain libreadline version in mind that
is not installed.

-- 
David Kastrup

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


Re: Tie settings question

2016-10-21 Thread Thomas Morley
2016-10-21 22:48 GMT+02:00 Thomas Morley :
> 2016-10-21 22:39 GMT+02:00 Karol Majewski :
>> OK, this does change skyline-padding in chords, but unfotunately it also 
>> changes skyline-padding between single notes (see example: c'8~ c'4). I'd 
>> like tied chords to have different skyline-padding value than tied single 
>> notes.
>>
>> hint =
>>  \override TieColumn.before-line-breaking =
>>#(lambda (grob)
>>  (for-each
>>(lambda (clr tie)
>>  (ly:grob-set-nested-property! tie '(details skyline-padding) 5)
>>  (ly:grob-set-property! tie 'color clr))
>>(circular-list red green)
>>  (ly:grob-array->list (ly:grob-object grob 'ties
>>
>> \relative c' {
>>\hint
>>4~
>>
>>c'8~ c'4.
>> }
>
>
>
> Well, I wasn't aware we create a TieColumn-grob even for stand-alone Ties.
> Then you probably should restrict it to occarabces of more than one

Omg, should read:

Then you probably should restrict it to occurrences of more than one

> Tie at a time. Leading to:
>
> hint =
>  \override TieColumn.before-line-breaking =
>#(lambda (grob)
>   (let ((ties (ly:grob-array->list (ly:grob-object grob 'ties
>   (if (> (length ties) 1)
>   (for-each
> (lambda (clr tie)
>   (ly:grob-set-nested-property! tie '(details skyline-padding) 5)
>   (ly:grob-set-property! tie 'color clr))
> (circular-list red green)
> ties
>
> \relative c' {
>\hint
>4~
>
>8~ 4.
> }
>
> Cheers,
>   Harm

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


Re: No readline in scheme-sandbox

2016-10-21 Thread Thomas Morley
2016-10-21 22:20 GMT+02:00 David Kastrup :
> Thomas Morley  writes:
>
>> 2016-10-21 22:06 GMT+02:00 Thomas Morley :
>>> 2016-10-21 21:55 GMT+02:00 David Kastrup :
>>
 Different version number?  Or missing support at compilation time?  What
 does

 ldd 

 state here?

 On my self-compiled LilyPond I see

 dak@lola:/usr/local/tmp/lilypond$ ldd out/bin/lilypond
>> [...]
>>>
 What's the set of libraries in the precompiled binary?

 --
 David Kastrup
>>>
>>> For 2.18.2 I get:
>>>
>> [...]
>>> For self-compiled 2.19.50 I get:
>> [...]
>>
>> Hard to read, thus same attached.
>
> It's probably sort of a red herring since the readline library is in
> neither version.  Probably it depends on whether the readline
> development headers were available (in a version matching the installed
> libreadline on the target system) at the time Gub compiled libguile.
>
> --
> David Kastrup

I mostly use self-compiled LilyPond which seems to work as it should.
I'd call it a bug not to have access to all guile-modules in released version.

If I understand correctly the readline-functionality depends on extern
librarys, maybe others are missing as well in released versions and
nobody ever noticed ...

Cheers,
  Harm

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


Re: Tie settings question

2016-10-21 Thread Karol Majewski
Yes, now it does what I want. Thx a lot. This is the final code - without color 
indicators:

hint =
\override TieColumn.before-line-breaking =
 #(lambda (grob)
(let ((ties (ly:grob-array->list (ly:grob-object grob 'ties
(if (> (length ties) 1)
(for-each
  (lambda (tie)
(ly:grob-set-nested-property! tie '(details skyline-padding) 5))
  ties

\relative c' {
 \hint
 4~
 
 c8~ c4.
}



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


Re: Tie settings question

2016-10-21 Thread Thomas Morley
2016-10-21 22:39 GMT+02:00 Karol Majewski :
> OK, this does change skyline-padding in chords, but unfotunately it also 
> changes skyline-padding between single notes (see example: c'8~ c'4). I'd 
> like tied chords to have different skyline-padding value than tied single 
> notes.
>
> hint =
>  \override TieColumn.before-line-breaking =
>#(lambda (grob)
>  (for-each
>(lambda (clr tie)
>  (ly:grob-set-nested-property! tie '(details skyline-padding) 5)
>  (ly:grob-set-property! tie 'color clr))
>(circular-list red green)
>  (ly:grob-array->list (ly:grob-object grob 'ties
>
> \relative c' {
>\hint
>4~
>
>c'8~ c'4.
> }



Well, I wasn't aware we create a TieColumn-grob even for stand-alone Ties.
Then you probably should restrict it to occarabces of more than one
Tie at a time. Leading to:

hint =
 \override TieColumn.before-line-breaking =
   #(lambda (grob)
  (let ((ties (ly:grob-array->list (ly:grob-object grob 'ties
  (if (> (length ties) 1)
  (for-each
(lambda (clr tie)
  (ly:grob-set-nested-property! tie '(details skyline-padding) 5)
  (ly:grob-set-property! tie 'color clr))
(circular-list red green)
ties

\relative c' {
   \hint
   4~
   
   8~ 4.
}

Cheers,
  Harm

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


Re: Tie settings question

2016-10-21 Thread Karol Majewski
OK, this does change skyline-padding in chords, but unfotunately it also 
changes skyline-padding between single notes (see example: c'8~ c'4). I'd like 
tied chords to have different skyline-padding value than tied single notes.

hint =
 \override TieColumn.before-line-breaking =
   #(lambda (grob)
 (for-each
   (lambda (clr tie)
 (ly:grob-set-nested-property! tie '(details skyline-padding) 5)
 (ly:grob-set-property! tie 'color clr))
   (circular-list red green)
 (ly:grob-array->list (ly:grob-object grob 'ties

\relative c' {
   \hint
   4~
   
   c'8~ c'4.
}




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


Re: No readline in scheme-sandbox

2016-10-21 Thread David Kastrup
Thomas Morley  writes:

> 2016-10-21 22:06 GMT+02:00 Thomas Morley :
>> 2016-10-21 21:55 GMT+02:00 David Kastrup :
>
>>> Different version number?  Or missing support at compilation time?  What
>>> does
>>>
>>> ldd 
>>>
>>> state here?
>>>
>>> On my self-compiled LilyPond I see
>>>
>>> dak@lola:/usr/local/tmp/lilypond$ ldd out/bin/lilypond
> [...]
>>
>>> What's the set of libraries in the precompiled binary?
>>>
>>> --
>>> David Kastrup
>>
>> For 2.18.2 I get:
>>
> [...]
>> For self-compiled 2.19.50 I get:
> [...]
>
> Hard to read, thus same attached.

It's probably sort of a red herring since the readline library is in
neither version.  Probably it depends on whether the readline
development headers were available (in a version matching the installed
libreadline on the target system) at the time Gub compiled libguile.

-- 
David Kastrup

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


Re: Zapateado in Lilypond

2016-10-21 Thread David Kastrup
Noeck  writes:

> Hi Harm,
>
>> I'd go for drummode. Feels more appropriate, leading to:
>
> Wow, very nice! When I saw the question, I thought it sounds like some
> kind of drummode and the staccato dot could be moved to produce the dot.
> But I would not have been able to do this nice coding.
>
>
> One question: is 1,1,1 the new lilypond syntax for #'(1 1 1)? Since
> when?

It's an alternative syntax since 2.19.39 but has been allowed in
assignment-like statements rather than just music function arguments
only as of 2.19.40 (this causes parser lookahead artifacts, but the
drawbacks ultimately seemed worse than allowing it only in some places).

> With my version 2.19.36 I could not compile this line:
>   \set Timing.beatStructure = 1,1,1,1,1,1

Yup.

-- 
David Kastrup

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


Re: No readline in scheme-sandbox

2016-10-21 Thread David Kastrup
Thomas Morley  writes:

> 2016-10-21 19:34 GMT+02:00 David Sumbler :
>> On Fri, 2016-10-21 at 18:56 +0200, David Kastrup wrote:
>
>>> For the record, I get
>>>
>>> p   guile-1.8-
>>> libs
>>>   - Core Guile
>>> libraries
>>>
>>> i   guile-1.8-
>>> libs:amd64
>>>   - Core Guile
>>> libraries
>>>
>>>
>>> with the above aptitude command
>
> But with 2.19.44 from the released installer:
> GNU LilyPond 2.19.44
> Processing `atest-42.ly'
> Parsing...
> atest-42.ly:3:2: error: GUILE signaled an error for the expression
> beginning here
> #
>  (use-modules (ice-9 readline))
> readline is not provided in this Guile installation
> fatal error: failed files: "atest-42.ly"
>
> wtf ???

Different version number?  Or missing support at compilation time?  What
does

ldd 

state here?

On my self-compiled LilyPond I see

dak@lola:/usr/local/tmp/lilypond$ ldd out/bin/lilypond
linux-vdso.so.1 =>  (0xsomething)
libguile.so.17 => /usr/lib/libguile.so.17 (0xsomething)
libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 
(0xsomething)
libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 
(0xsomething)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 
(0xsomething)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0xsomething)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 
(0xsomething)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 
(0xsomething)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0xsomething)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0xsomething)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0xsomething)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0xsomething)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0xsomething)
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0xsomething)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0xsomething)
libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 (0xsomething)
/lib64/ld-linux-x86-64.so.2 (0xsomething)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 
(0xsomething)
libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0xsomething)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0xsomething)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0xsomething)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0xsomething)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0xsomething)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0xsomething)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0xsomething)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 
(0xsomething)
libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0xsomething)

What's the set of libraries in the precompiled binary?

-- 
David Kastrup

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


Re: No readline in scheme-sandbox

2016-10-21 Thread Thomas Morley
2016-10-21 22:06 GMT+02:00 Thomas Morley :
> 2016-10-21 21:55 GMT+02:00 David Kastrup :

>> Different version number?  Or missing support at compilation time?  What
>> does
>>
>> ldd 
>>
>> state here?
>>
>> On my self-compiled LilyPond I see
>>
>> dak@lola:/usr/local/tmp/lilypond$ ldd out/bin/lilypond
[...]
>
>> What's the set of libraries in the precompiled binary?
>>
>> --
>> David Kastrup
>
> For 2.18.2 I get:
>
[...]
> For self-compiled 2.19.50 I get:
[...]

Hard to read, thus same attached.
2.18.2

~$ ldd lilypond/usr/bin/lilypond
linux-vdso.so.1 =>  (0x7ffdbd724000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f5179631000)
libguile.so.17 => /home/hermann/lilypond/usr/bin/../lib/libguile.so.17 
(0x7f517933c000)
libgmp.so.3 => /home/hermann/lilypond/usr/bin/../lib/libgmp.so.3 
(0x7f51790fc000)
libpangoft2-1.0.so.0 => 
/home/hermann/lilypond/usr/bin/../lib/libpangoft2-1.0.so.0 (0x7f5178ecc000)
libpango-1.0.so.0 => 
/home/hermann/lilypond/usr/bin/../lib/libpango-1.0.so.0 (0x7f5178c82000)
libfreetype.so.6 => 
/home/hermann/lilypond/usr/bin/../lib/libfreetype.so.6 (0x7f51789fd000)
libfontconfig.so.1 => 
/home/hermann/lilypond/usr/bin/../lib/libfontconfig.so.1 (0x7f51787c9000)
libgobject-2.0.so.0 => 
/home/hermann/lilypond/usr/bin/../lib/libgobject-2.0.so.0 (0x7f5178584000)
libgmodule-2.0.so.0 => 
/home/hermann/lilypond/usr/bin/../lib/libgmodule-2.0.so.0 (0x7f517838)
libglib-2.0.so.0 => 
/home/hermann/lilypond/usr/bin/../lib/libglib-2.0.so.0 (0x7f51780a)
libstdc++.so.6 => /home/hermann/lilypond/usr/bin/../lib/libstdc++.so.6 
(0x7f5177d5f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f5177a55000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7f517783f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f5177476000)
/lib64/ld-linux-x86-64.so.2 (0x55f8cca13000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 
(0x7f517723d000)
libltdl.so.7 => /home/hermann/lilypond/usr/bin/../lib/libltdl.so.7 
(0x7f5177034000)
libz.so.1 => /home/hermann/lilypond/usr/bin/../lib/../lib/libz.so.1 
(0x7f5176e1d000)
libexpat.so.1 => 
/home/hermann/lilypond/usr/bin/../lib/../lib/libexpat.so.1 (0x7f5176bfa000)



2.19.50

~$ ldd lilypond-git/build/out/bin/lilypond
linux-vdso.so.1 =>  (0x7ffcf9749000)
libguile.so.17 => /usr/lib/libguile.so.17 (0x7f308989f000)
libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 
(0x7f3089689000)
libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 
(0x7f308943c000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 
(0x7f30891e9000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 
(0x7f3088ed8000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 
(0x7f3088c94000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 
(0x7f30889ea000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7f3088668000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f308835e000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7f3088148000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f3087f2b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f3087b61000)
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 
(0x7f30878e1000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 
(0x7f30876a9000)
libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 
(0x7f308749e000)
/lib64/ld-linux-x86-64.so.2 (0x55f402a22000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 
(0x7f308724)
libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 
(0x7f3087037000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 
(0x7f3086e2e000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x7f3086bbe000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 
(0x7f3086995000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x7f308677a000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 
(0x7f3086555000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f308635)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 
(0x7f308612b000)
libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 
(0x7f3085f23000)

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


Re: No readline in scheme-sandbox

2016-10-21 Thread Thomas Morley
2016-10-21 21:55 GMT+02:00 David Kastrup :
> Thomas Morley  writes:
>
>> 2016-10-21 19:34 GMT+02:00 David Sumbler :
>>> On Fri, 2016-10-21 at 18:56 +0200, David Kastrup wrote:
>>
 For the record, I get

 p   guile-1.8-
 libs
   - Core Guile
 libraries

 i   guile-1.8-
 libs:amd64
   - Core Guile
 libraries


 with the above aptitude command
>>
>> But with 2.19.44 from the released installer:
>> GNU LilyPond 2.19.44
>> Processing `atest-42.ly'
>> Parsing...
>> atest-42.ly:3:2: error: GUILE signaled an error for the expression
>> beginning here
>> #
>>  (use-modules (ice-9 readline))
>> readline is not provided in this Guile installation
>> fatal error: failed files: "atest-42.ly"
>>
>> wtf ???
>
> Different version number?  Or missing support at compilation time?  What
> does
>
> ldd 
>
> state here?
>
> On my self-compiled LilyPond I see
>
> dak@lola:/usr/local/tmp/lilypond$ ldd out/bin/lilypond
> linux-vdso.so.1 =>  (0xsomething)
> libguile.so.17 => /usr/lib/libguile.so.17 (0xsomething)
> libpangoft2-1.0.so.0 => 
> /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0xsomething)
> libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 
> (0xsomething)
> libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 
> (0xsomething)
> libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 
> (0xsomething)
> libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 
> (0xsomething)
> libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 
> (0xsomething)
> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
> (0xsomething)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0xsomething)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0xsomething)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0xsomething)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0xsomething)
> libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0xsomething)
> libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0xsomething)
> libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 (0xsomething)
> /lib64/ld-linux-x86-64.so.2 (0xsomething)
> libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 
> (0xsomething)
> libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0xsomething)
> libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0xsomething)
> libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0xsomething)
> libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0xsomething)
> libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0xsomething)
> libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 
> (0xsomething)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0xsomething)
> libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 
> (0xsomething)
> libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 
> (0xsomething)
>

> What's the set of libraries in the precompiled binary?
>
> --
> David Kastrup

For 2.18.2 I get:

~$ ldd lilypond/usr/bin/lilypond
linux-vdso.so.1 =>  (0x7ffdbd724000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f5179631000)
libguile.so.17 =>
/home/hermann/lilypond/usr/bin/../lib/libguile.so.17
(0x7f517933c000)
libgmp.so.3 => /home/hermann/lilypond/usr/bin/../lib/libgmp.so.3
(0x7f51790fc000)
libpangoft2-1.0.so.0 =>
/home/hermann/lilypond/usr/bin/../lib/libpangoft2-1.0.so.0
(0x7f5178ecc000)
libpango-1.0.so.0 =>
/home/hermann/lilypond/usr/bin/../lib/libpango-1.0.so.0
(0x7f5178c82000)
libfreetype.so.6 =>
/home/hermann/lilypond/usr/bin/../lib/libfreetype.so.6
(0x7f51789fd000)
libfontconfig.so.1 =>
/home/hermann/lilypond/usr/bin/../lib/libfontconfig.so.1
(0x7f51787c9000)
libgobject-2.0.so.0 =>
/home/hermann/lilypond/usr/bin/../lib/libgobject-2.0.so.0
(0x7f5178584000)
libgmodule-2.0.so.0 =>
/home/hermann/lilypond/usr/bin/../lib/libgmodule-2.0.so.0
(0x7f517838)
libglib-2.0.so.0 =>
/home/hermann/lilypond/usr/bin/../lib/libglib-2.0.so.0
(0x7f51780a)
libstdc++.so.6 =>
/home/hermann/lilypond/usr/bin/../lib/libstdc++.so.6
(0x7f5177d5f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f5177a55000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7f517783f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f5177476000)
/lib64/ld-linux-x86-64.so.2 (0x55f8cca13000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x7f517723d000)
libltdl.so.7 => /home/hermann/lilypond/usr/bin/../lib/libltdl.so.7
(0x7f5177034000)
libz.so.1 =>
/home/hermann/lilypond/usr/bin/../lib/../lib/libz.so.1
(0x7f5176e1d000)
libexpat.so.1 =>

Re: Zapateado in Lilypond

2016-10-21 Thread Noeck
Hi Harm,

> I'd go for drummode. Feels more appropriate, leading to:

Wow, very nice! When I saw the question, I thought it sounds like some
kind of drummode and the staccato dot could be moved to produce the dot.
But I would not have been able to do this nice coding.


One question: is 1,1,1 the new lilypond syntax for #'(1 1 1)? Since when?

With my version 2.19.36 I could not compile this line:
  \set Timing.beatStructure = 1,1,1,1,1,1

Cheers,
Joram

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


Re: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Noeck
Hi,

Am 21.10.2016 um 10:25 schrieb Richard Shann:
> <>^\markup\scale #'(1 . 1)\column{\line{1. \dynamic p
> }\line{2. \dynamic f}
> }

Why the \scale?

Otherwise, my suggestion would have been very similar:

{
  bes'
  -\markup \column { \line { "1." \dynamic "p" }
 \line { "2." \dynamic "f" } }
}

Cheers,
Joram

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


Re: No readline in scheme-sandbox

2016-10-21 Thread Thomas Morley
2016-10-21 19:34 GMT+02:00 David Sumbler :
> On Fri, 2016-10-21 at 18:56 +0200, David Kastrup wrote:

>> For the record, I get
>>
>> p   guile-1.8-
>> libs
>>   - Core Guile
>> libraries
>>
>> i   guile-1.8-
>> libs:amd64
>>   - Core Guile
>> libraries
>>
>>
>> with the above aptitude command

A strange observation:
I compiled a .ly-file containing nothing but

\version "2.19.44"
#(use-modules (ice-9 readline))

With lily compiled from git I get:

GNU LilyPond 2.19.50
Processing `atest-42.ly'
Parsing...
Success: compilation successfully completed


But with 2.19.44 from the released installer:
GNU LilyPond 2.19.44
Processing `atest-42.ly'
Parsing...
atest-42.ly:3:2: error: GUILE signaled an error for the expression
beginning here
#
 (use-modules (ice-9 readline))
readline is not provided in this Guile installation
fatal error: failed files: "atest-42.ly"

wtf ???


For the record, I'm on Ubuntu 16.04, 64-bit, lilypond-git and
lilypond-2.19.44 are both in my home-directory

aptitude search guile-1.8-libs

returns:

i A guile-1.8-libs
- Core Guile libraries
p   guile-1.8-libs:i386
- Core Guile libraries

Cheers,
  Harm

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


Re: Configurable Rests

2016-10-21 Thread David Kastrup
Kieren MacMillan  writes:

> Hi Werner,
>
>> to show you what I want:
>
> I believe the following gives the output you want:
>
> %%%  SNIPPET BEGINS
> \version "2.19"
>
> hornI = {
>   \partcombineApart
>   c''4 \once \partcombineUnisono r c'' r
>   g' \once \partcombineUnisono r c' r
>   \bar "|."
> }
>
> hornII = {
>   g'4 r g'8 r c'' r
>   r4 r e'8 g' c''4
> }
>
> \score {
>   \new Staff \with { printPartCombineTexts = ##f }
> \partcombine #'(0 . 0) \hornI \hornII
> }
> %%%  SNIPPET ENDS
>
> Unfortunately, that may require v2.19 — I’m not sure exactly when the 
> partcombiner was improved.
> (For the record, I am using v2.19.49 for mission-critical engraving work, so 
> it’s not nearly as “unstable” as the labelling suggests.)

We had a few uglies in the early 40s.  The point in using an unstable
version is that you cannot expect to install once and forget for a year.
Depending on your luck, you may require several iterations of
reinstallation versions back and forth before you get something working
well, and you should be prepared to report new problems so that they
don't stick around for longer.  And you also have to be prepared that
brand new features you like disappear or change and you have to readapt.

I only use particularly new versions, and part of the reason is that
when something annoys me, a fix or extension tends to make it into the
code and of course it's there because I want to be using it.

-- 
David Kastrup

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


Re: Configurable Rests

2016-10-21 Thread Kieren MacMillan
Hi Werner,

> to show you what I want:

I believe the following gives the output you want:

%%%  SNIPPET BEGINS
\version "2.19"

hornI = {
  \partcombineApart
  c''4 \once \partcombineUnisono r c'' r
  g' \once \partcombineUnisono r c' r
  \bar "|."
}

hornII = {
  g'4 r g'8 r c'' r
  r4 r e'8 g' c''4
}

\score {
  \new Staff \with { printPartCombineTexts = ##f }
\partcombine #'(0 . 0) \hornI \hornII
}
%%%  SNIPPET ENDS

Unfortunately, that may require v2.19 — I’m not sure exactly when the 
partcombiner was improved.
(For the record, I am using v2.19.49 for mission-critical engraving work, so 
it’s not nearly as “unstable” as the labelling suggests.)

Hope this helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Start volta after time signature change (instead of before)?

2016-10-21 Thread Risto Vääräniemi
On 21 October 2016 at 19:52, David Kastrup  wrote:

> Risto Vääräniemi  writes:
>
> > On 20 October 2016 at 22:16, Risto Vääräniemi 
> wrote:
> >
> >> On 20 October 2016 at 21:40, David Kastrup  wrote:
> >>
> >>> Risto Vääräniemi  writes:
> >>>
> >>> > Is there a way to start the volta repeat after the time signature
> >>> change?
> >>>
> >>> Something akin to
> >>>
> >>>
> > I experimented a bit because the first solution did not behave well at
> line
> > breaks. Also the spacing before the time signature was a bit tight. It's
> > not very minimal anymore but I could not find an easy solution to replace
> > only the middle of the line part of the vector.
>
> Ok, maybe I was being overly reckless here: you should likely get the
> default definition (look it up in the Internals guide) and just change
> the bits you want to see changed.
>
>
Yeah, that's where I found the the rest of the break-align-orders
incantation. Thanks for pointing me in the right direction. This works for
me, so far. :)

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


Re: Configurable Rests

2016-10-21 Thread Werner Arnhold
Hi Kieren et al.

to show you what I want:
=== snip =
\version "2.18.2"

hornI = {
 c''4 r c'' r
 g' r c' r
 \bar "|."
}

hornII = {
  g'4 r g'8 r c'' r
  r4 r e'8 g' c''4
}

hornIA = {
  c''4 b'4\rest c'' r
  g' b'4\rest c' r
}

hornIIA = {
  g'4 s g'8 r c'' r
  r4 s e'8 g' c''4
}

\score {
  <<
  \new Staff = "horn1"
\new Voice = "horn1" {
  \hornI
}
  \new Staff = "horn2"
\new Voice = "horn2" {
  \hornII
}
  \new Staff = "hornA"  % That's what I wanted
<<
  \new Voice = "hornalternativeI" {
\voiceOne
\hornIA
  }
  \new Voice = "hornalternativeII" {
\voiceTwo
\hornIIA
  }
>>
  \new Staff \with { printPartCombineTexts = ##f }
  {
%   \partcombineApart \hornI \hornII% does not work
   \partcombine \hornI \hornII
  }
  >>
}
= snap =

My compilation shows missing rests and notes combined to accords where
possible.

I also tried to work with tags:
= snip =
pause = {
  \tag #'top {r}
  \tag #'bottom {s}
}

hornI = {
  c''4 h'4\rest c'' \pause4
  g' h'4\rest c' r
  \bar "|."
}

hornII = {
  g'4 s g'8 r c'' r
  r4 s e'8 g' c''4
}

\score {
  \new Staff = "horn"
  <<
\new Voice = "horn1" {
  \voiceOne
  \keepWithTag #'oben \hornI
}
\new Voice = "horn2" {
  \voiceTwo
  \keepWithTag #'unten \hornII
}
  >>
}
= snap =

But no success too. The "r" and "4" are not combined to "r4" and I don't
see how a construct like "b'4\rest" should be possible. I think it needs
a solution with parameters, so functions.

My intention is to print a single voice sheet and a partitura from the
same source files.

Werner

Am Freitag, den 21.10.2016, 09:10 -0400 schrieb Kieren MacMillan:
> Hi Werner,
> 
> > - a "r4", if the instrument is on a single staff
> > - a "r4", if the instrument is \voiceOne but doesn't have this rest
> > common with the other instrument
> > - a "h4\rest" for a common rest if the instrument is used as \voiceOne
> > and
> > - a "r4" for a not common rest on \voiceTwo and
> > - a "s4", if the instrument is used as \voiceTwo
> 
> Have you tried \partcombine?
> 
> 
> If I understand correctly, it will do exactly what you want; if not, you 
> could always provide us with a compilable example that we can debug for you.
> 
> > It would be very fine if there would be a global switch where the
> > procedure could look how it should produce its output and it would be
> > fine if this would be possible with more than one pair of instruments in
> > a score.
> 
> \partcombine will only properly handle one pair of instruments at a time, but 
> you can have an arbitrary number of staves each of which includes a pair of 
> combined parts.
> 
> I hope this helps!
> Kieren.
> 
> 
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
> 



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


Re: No readline in scheme-sandbox

2016-10-21 Thread David Sumbler
On Fri, 2016-10-21 at 18:56 +0200, David Kastrup wrote:
> Mark Knoop  writes:
> 
> > 
> > At 17:11 on 21 Oct 2016, David Sumbler wrote:
> > > 
> > > > 
> > > > > 
> > > > > > 
> > > > > > > 
> > > > > > > > 
> > > > > > > > Given that, on my 64-bit Linux system, I have Guile 1.8
> >  ^^
> > 
> > > 
> > > > 
> > > > > 
> > > > > > 
> > > > > > I downloaded lilypond-2.19.48-1.linux-64.sh from http://lil
> > > > > > ypond.
> >  ^^
> > 
> > > 
> > > Yes.  The output from 'aptitude search guile-1.8-libs' is:
> > > 
> > > i A guile-1.8-libs
> > > p   guile-1.8-libs:i386
> > 
> > 
> > This may be your problem. Try installing the 64-bit libs.
> sudo apt-get install guile-1.8-libs:amd64
> 
> But then he stated that the commandline Guile (which would definitely
> use the system libs) had a working readline.  Maybe it's also 32bit?
> Otherwise I'd be somewhat puzzled since for me (Ubuntu Yakkety)
> Guile-1.8 is one of the few things that has no multilib support and
> insists on only one architecture being installed.
> 
> For the record, I get
> 
> p   guile-1.8-
> libs 
>   - Core Guile
> libraries
>   
> i   guile-1.8-
> libs:amd64   
>   - Core Guile
> libraries
>   
> 
> with the above aptitude command.

I have just run 'sudo apt-get install guile-1.8-libs:amd64'
and I am told:

guile-1.8-libs is already the newest version (1.8.8+1-10ubuntu1).
guile-1.8-libs set to manually installed.

Reflecting the second line above, 'aptitude search guile-1.8-libs' now
gives me:

i   guile-1.8-libs
p   guile-1.8-libs:i386

(The 'A' flag no longer appears in the first line.)

Incidentally, the 'p' flag indicates that "no trace of the package
exists on the system", so it is not the 32-bit version that is causing
problems.

Behaviour of 'lilypond scheme-sandbox' has not changed as a result of
trying to reinstall guile-1.8-libs:amd64

I am running Ubuntu 16.04 (Xenial) and Lilypond 2.19.48 .

David



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


Re: Start volta after time signature change (instead of before)?

2016-10-21 Thread David Kastrup
Risto Vääräniemi  writes:

> On 20 October 2016 at 22:16, Risto Vääräniemi  wrote:
>
>>
>> On 20 October 2016 at 21:40, David Kastrup  wrote:
>>
>>> Risto Vääräniemi  writes:
>>>
>>> > Is there a way to start the volta repeat after the time signature
>>> change?
>>>
>>> Something akin to
>>>
>>>
> I experimented a bit because the first solution did not behave well at line
> breaks. Also the spacing before the time signature was a bit tight. It's
> not very minimal anymore but I could not find an easy solution to replace
> only the middle of the line part of the vector.
>
> -Risto
>
> ---
>
> \version "2.19.49"
>
> timeSigBeforeVolta = {
>   \once \override Score.BreakAlignment.break-align-orders =
> ##((left-edge cue-end-clef ambitus breathing-sign clef cue-clef
>  staff-bar key-cancellation key-signature time-signature custos)
>   (left-edge time-signature staff-bar) ; David's part
>   (left-edge ambitus breathing-sign clef key-cancellation
> key-signature time-signature staff-bar cue-clef custos))
>   \once \override Score.TimeSignature.extra-spacing-width = #'(-0.8 . 0.8)
> }

Ok, maybe I was being overly reckless here: you should likely get the
default definition (look it up in the Internals guide) and just change
the bits you want to see changed.

-- 
David Kastrup

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


Re: No readline in scheme-sandbox

2016-10-21 Thread David Kastrup
Mark Knoop  writes:

> At 17:11 on 21 Oct 2016, David Sumbler wrote:
>>> > > > > Given that, on my 64-bit Linux system, I have Guile 1.8
>  ^^
>
>>> > > I downloaded lilypond-2.19.48-1.linux-64.sh from http://lilypond.
>  ^^
>
>>Yes.  The output from 'aptitude search guile-1.8-libs' is:
>>
>>i A guile-1.8-libs
>>p   guile-1.8-libs:i386
> 
>
> This may be your problem. Try installing the 64-bit libs.

sudo apt-get install guile-1.8-libs:amd64

But then he stated that the commandline Guile (which would definitely
use the system libs) had a working readline.  Maybe it's also 32bit?
Otherwise I'd be somewhat puzzled since for me (Ubuntu Yakkety)
Guile-1.8 is one of the few things that has no multilib support and
insists on only one architecture being installed.

For the record, I get

p   guile-1.8-libs  
 - Core Guile libraries 
 
i   guile-1.8-libs:amd64
 - Core Guile libraries 
 

with the above aptitude command.

-- 
David Kastrup

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


Re: Start volta after time signature change (instead of before)?

2016-10-21 Thread Risto Vääräniemi
On 20 October 2016 at 22:16, Risto Vääräniemi  wrote:

>
> On 20 October 2016 at 21:40, David Kastrup  wrote:
>
>> Risto Vääräniemi  writes:
>>
>> > Is there a way to start the volta repeat after the time signature
>> change?
>>
>> Something akin to
>>
>>
I experimented a bit because the first solution did not behave well at line
breaks. Also the spacing before the time signature was a bit tight. It's
not very minimal anymore but I could not find an easy solution to replace
only the middle of the line part of the vector.

-Risto

---

\version "2.19.49"

timeSigBeforeVolta = {
  \once \override Score.BreakAlignment.break-align-orders =
##((left-edge cue-end-clef ambitus breathing-sign clef cue-clef
 staff-bar key-cancellation key-signature time-signature custos)
  (left-edge time-signature staff-bar) ; David's part
  (left-edge ambitus breathing-sign clef key-cancellation
key-signature time-signature staff-bar cue-clef custos))
  \once \override Score.TimeSignature.extra-spacing-width = #'(-0.8 . 0.8)
}

\relative c' {
  \key f \major
  \time 2/4 c4 c
  \break
  \timeSigBeforeVolta
  \time 4/4 \repeat volta 2 {
  c c c c }
  c c c c
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: No readline in scheme-sandbox

2016-10-21 Thread Mark Knoop
At 17:11 on 21 Oct 2016, David Sumbler wrote:
>> > > > > Given that, on my 64-bit Linux system, I have Guile 1.8
 ^^

>> > > I downloaded lilypond-2.19.48-1.linux-64.sh from http://lilypond.
 ^^

>Yes.  The output from 'aptitude search guile-1.8-libs' is:
>
>i A guile-1.8-libs
>p   guile-1.8-libs:i386


This may be your problem. Try installing the 64-bit libs.

--
Mark Knoop

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


Re: No readline in scheme-sandbox

2016-10-21 Thread David Sumbler
On Fri, 2016-10-21 at 17:44 +0200, Thomas Morley wrote:
> 2016-10-21 17:00 GMT+02:00 David Sumbler :
> > 
> > On Wed, 2016-10-19 at 13:59 +0100, David Sumbler wrote:
> > > 
> > > On Wed, 2016-10-19 at 11:34 +0200, David Kastrup wrote:
> > > > 
> > > > 
> > > > David Sumbler  writes:
> > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > Given that, on my 64-bit Linux system, I have Guile 1.8
> > > > > installed
> > > > > complete with readline, I'd be very grateful if somebody
> > > > > could
> > > > > explain
> > > > > to me how I can get readline to load when I type 'lilypond
> > > > > scheme-
> > > > > sandbox' with Lilypond v.2.19.40 .
> > > > Did you compile LilyPond yourself?
> > > (There is an error in my previous email: I have Lilypond
> > > v.2.19.48)
> > > 
> > > I downloaded lilypond-2.19.48-1.linux-64.sh from http://lilypond.
> > > org/
> > > de
> > > velopment.html and then ran
> > > 
> > > sudo sh ./lilypond-2.19.48-1.linux-64.sh --doc
> > > 
> > > David
> > Sorry to keep banging on about this, but I can't help feeling that
> > somebody must know the answer!
> > 
> > My .guile file reads:
> > 
> > (use-modules (ice-9 readline))
> > (activate-readline)
> > 
> > I find the following:
> > 
> > 1)
> > 
> > If I run 'lilypond scheme-sandbox' I get a message saying:
> > 
> > /usr/local/lilypond/usr/share/lilypond/current/ly/scheme-
> > sandbox.ly:3:2: error: GUILE signaled an error for the expression
> > beginning here
> > #
> >  (load-user-init)
> > readline is not provided in this Guile installation
> > 
> > In 'top' I can see that the actual running command is
> > '/usr/local/lilypond/usr/bin/lilypond scheme-sandbox'.
> > 
> > 2)
> > 
> > If I run '/usr/local/lilypond/usr/bin/lilypond scheme-sandbox'
> > directly
> > from the command line, I get guile complete with readline.
> > 
> > 
> > This doesn't actually matter too much now that I have discovered
> > that
> > the longer form of the command works as expected, even though the
> > shorter one doesn't.
> > 
> > But how is it that I get different results from two command line
> > entries which end up running the same actual command?
> > 
> > David
> > 
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> Hi David,
> 
> I had a look in scheme-sandbox.ly. I quote the entire file:
> 
>  file begin
> 
> \version "2.16.0"
> 
> #(load-user-init)
> 
> % This loads the user's .guile file for interactive sessions.
> % One typical thing you might want to put there is
> % (use-modules (ice-9 readline))
> % (activate-readline)
> % in order to activate command line editing for interactive sessions.
> % You need libreadline support and the respective Guile module to be
> % installed for that.  In Debian, for example, this is part of the
> % guile-1.8-libs package.  Depending on your system and version, the
> % requirements may be different.
> 
> #(newline)
> #(scm-style-repl)
> 
>  file end
> 
> So silly question: do you have the guile-1.8-libs package?

Yes.  The output from 'aptitude search guile-1.8-libs' is:

i A guile-1.8-libs
p   guile-1.8-libs:i386

David


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


Re: No readline in scheme-sandbox

2016-10-21 Thread Thomas Morley
2016-10-21 17:00 GMT+02:00 David Sumbler :
> On Wed, 2016-10-19 at 13:59 +0100, David Sumbler wrote:
>> On Wed, 2016-10-19 at 11:34 +0200, David Kastrup wrote:
>> >
>> > David Sumbler  writes:
>> >
>> > >
>> > >
>> > > Given that, on my 64-bit Linux system, I have Guile 1.8 installed
>> > > complete with readline, I'd be very grateful if somebody could
>> > > explain
>> > > to me how I can get readline to load when I type 'lilypond
>> > > scheme-
>> > > sandbox' with Lilypond v.2.19.40 .
>> > Did you compile LilyPond yourself?
>> (There is an error in my previous email: I have Lilypond v.2.19.48)
>>
>> I downloaded lilypond-2.19.48-1.linux-64.sh from http://lilypond.org/
>> de
>> velopment.html and then ran
>>
>> sudo sh ./lilypond-2.19.48-1.linux-64.sh --doc
>>
>> David
>
> Sorry to keep banging on about this, but I can't help feeling that
> somebody must know the answer!
>
> My .guile file reads:
>
> (use-modules (ice-9 readline))
> (activate-readline)
>
> I find the following:
>
> 1)
>
> If I run 'lilypond scheme-sandbox' I get a message saying:
>
> /usr/local/lilypond/usr/share/lilypond/current/ly/scheme-
> sandbox.ly:3:2: error: GUILE signaled an error for the expression
> beginning here
> #
>  (load-user-init)
> readline is not provided in this Guile installation
>
> In 'top' I can see that the actual running command is
> '/usr/local/lilypond/usr/bin/lilypond scheme-sandbox'.
>
> 2)
>
> If I run '/usr/local/lilypond/usr/bin/lilypond scheme-sandbox' directly
> from the command line, I get guile complete with readline.
>
>
> This doesn't actually matter too much now that I have discovered that
> the longer form of the command works as expected, even though the
> shorter one doesn't.
>
> But how is it that I get different results from two command line
> entries which end up running the same actual command?
>
> David
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi David,

I had a look in scheme-sandbox.ly. I quote the entire file:

 file begin

\version "2.16.0"

#(load-user-init)

% This loads the user's .guile file for interactive sessions.
% One typical thing you might want to put there is
% (use-modules (ice-9 readline))
% (activate-readline)
% in order to activate command line editing for interactive sessions.
% You need libreadline support and the respective Guile module to be
% installed for that.  In Debian, for example, this is part of the
% guile-1.8-libs package.  Depending on your system and version, the
% requirements may be different.

#(newline)
#(scm-style-repl)

 file end

So silly question: do you have the guile-1.8-libs package?

Cheers,
  Harm

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


Re: No readline in scheme-sandbox

2016-10-21 Thread David Sumbler
On Wed, 2016-10-19 at 13:59 +0100, David Sumbler wrote:
> On Wed, 2016-10-19 at 11:34 +0200, David Kastrup wrote:
> > 
> > David Sumbler  writes:
> > 
> > > 
> > > 
> > > Given that, on my 64-bit Linux system, I have Guile 1.8 installed
> > > complete with readline, I'd be very grateful if somebody could
> > > explain
> > > to me how I can get readline to load when I type 'lilypond
> > > scheme-
> > > sandbox' with Lilypond v.2.19.40 .
> > Did you compile LilyPond yourself?
> (There is an error in my previous email: I have Lilypond v.2.19.48)
> 
> I downloaded lilypond-2.19.48-1.linux-64.sh from http://lilypond.org/
> de
> velopment.html and then ran
> 
> sudo sh ./lilypond-2.19.48-1.linux-64.sh --doc
> 
> David

Sorry to keep banging on about this, but I can't help feeling that
somebody must know the answer!

My .guile file reads:

(use-modules (ice-9 readline))
(activate-readline) 

I find the following:

1)

If I run 'lilypond scheme-sandbox' I get a message saying:

/usr/local/lilypond/usr/share/lilypond/current/ly/scheme-
sandbox.ly:3:2: error: GUILE signaled an error for the expression
beginning here
#
 (load-user-init)
readline is not provided in this Guile installation

In 'top' I can see that the actual running command is
'/usr/local/lilypond/usr/bin/lilypond scheme-sandbox'.

2)

If I run '/usr/local/lilypond/usr/bin/lilypond scheme-sandbox' directly
from the command line, I get guile complete with readline.


This doesn't actually matter too much now that I have discovered that
the longer form of the command works as expected, even though the
shorter one doesn't.

But how is it that I get different results from two command line
entries which end up running the same actual command?

David

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


Re: Spanish terms for LH and RH

2016-10-21 Thread Francisco Vila
2016-10-21 16:43 GMT+02:00 Francisco Vila :

> 2016-10-21 10:18 GMT+02:00 Andrew Bernard :
>
>> I am engraving the Soler Fandango, an 18c Spanish piece. the LH and RH
>> indications in the MS I am working from are a little unclear. Given that
>> mano izqueirda is left hand and mano derecha is right hand I would have
>> expected to see I. and D., but the writer uses m. and D. Is this normal? I
>> am not so familiar with the Spanish keyboard conventions of the period.
>> What do Spanish composers use nowdays?
>>
>>
> I think the most used terms are m.d. for right hand and m.s. for left
> hand, and it is italian: mano destra, mano sinistra, if I'm not wrong.
> Spanish scores use them more than any Spanish terms, I think.
> 
>
>
And if you want to put them in Spanish, they would be m.d. for right hand
(mano derecha, which matches Italian, so there is no confussion here) and
m.i. for left hand (mano izquierda). I vaguely remember to have seen those.


-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spanish terms for LH and RH

2016-10-21 Thread Francisco Vila
2016-10-21 10:18 GMT+02:00 Andrew Bernard :

> I am engraving the Soler Fandango, an 18c Spanish piece. the LH and RH
> indications in the MS I am working from are a little unclear. Given that
> mano izqueirda is left hand and mano derecha is right hand I would have
> expected to see I. and D., but the writer uses m. and D. Is this normal? I
> am not so familiar with the Spanish keyboard conventions of the period.
> What do Spanish composers use nowdays?
>
>
I think the most used terms are m.d. for right hand and m.s. for left hand,
and it is italian: mano destra, mano sinistra, if I'm not wrong. Spanish
scores use them more than any Spanish terms, I think.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Kieren MacMillan
Hi Richard,

>> Ah, of course it's also a matter of how often you need that.
> 
> surely not? Isn't it a matter of whether you want the various
> occurrences to be horizontally aligned or not?

Not really… one can easily tweak the horizontal alignment on a single 
multi-line dynamic.

The cost-benefit question is fundamentally this: given how many times do you 
need a multi-line dynamic, is it worth the overhead of multiple Dynamics 
contexts?

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Configurable Rests

2016-10-21 Thread Kieren MacMillan
Hi Werner,

> - a "r4", if the instrument is on a single staff
> - a "r4", if the instrument is \voiceOne but doesn't have this rest
> common with the other instrument
> - a "h4\rest" for a common rest if the instrument is used as \voiceOne
> and
> - a "r4" for a not common rest on \voiceTwo and
> - a "s4", if the instrument is used as \voiceTwo

Have you tried \partcombine?


If I understand correctly, it will do exactly what you want; if not, you could 
always provide us with a compilable example that we can debug for you.

> It would be very fine if there would be a global switch where the
> procedure could look how it should produce its output and it would be
> fine if this would be possible with more than one pair of instruments in
> a score.

\partcombine will only properly handle one pair of instruments at a time, but 
you can have an arbitrary number of staves each of which includes a pair of 
combined parts.

I hope this helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Configurable Rests

2016-10-21 Thread Pierre Perol-Schneider
Hi Werner,

I think you're looking for tags:
http://lilypond.org/doc/v2.19/Documentation/notation/different-editions-from-one-source#using-tags

HTH,
Pierre

2016-10-21 11:24 GMT+02:00 Werner Arnhold :

> Hi all,
>
> I am new to this list so it might be that my question is just answered.
> I did not find a hint in the archives.
>
> I try to set an orchestral work. To get a partitura as well as single
> sheet for the instruments I want to write the music for them in
> different files and then combine them to a score as needed.
>
> When clarinetI and clarinetII are printed to different sheets rests are
> no problem. When they are combined as \voiceOne and \voiceTwo there are
> common rests and rests for only one of the instruments.
>
> I would like to have a function, e.g. "\pause 4" that produces
>
> - a "r4", if the instrument is on a single staff
> - a "r4", if the instrument is \voiceOne but doesn't have this rest
> common with the other instrument
> - a "h4\rest" for a common rest if the instrument is used as \voiceOne
> and
> - a "r4" for a not common rest on \voiceTwo and
> - a "s4", if the instrument is used as \voiceTwo
>
> The position should be adaptable for different keys.
>
> It would be very fine if there would be a global switch where the
> procedure could look how it should produce its output and it would be
> fine if this would be possible with more than one pair of instruments in
> a score.
>
> Is there a known solution for this?
>
> Thanks in advance
>
> Werner
>
>
> ___
> 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: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Richard Shann
On Fri, 2016-10-21 at 10:50 +0200, Urs Liska wrote:
> 
> Am 21.10.2016 um 10:41 schrieb Simon Albrecht:
> > Or you just use one markup for the two indications :-)
> 
> Ah, of course it's also a matter of how often you need that.

surely not? Isn't it a matter of whether you want the various
occurrences to be horizontally aligned or not? The one output is surely
different in appearance from the other, so the choice will depend on how
you want the marks to behave with respect to the surrounding notes, i.e.
what you want it to look like on the page.

Richard


>  If it's
> something that happens throughout the score the approach with two
> dynamics contexts is the way to go, if it's just a single occurence a
> \markup will probably be better.
> 
> Urs
> 
> ___
> 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


Configurable Rests

2016-10-21 Thread Werner Arnhold
Hi all,

I am new to this list so it might be that my question is just answered.
I did not find a hint in the archives.

I try to set an orchestral work. To get a partitura as well as single
sheet for the instruments I want to write the music for them in
different files and then combine them to a score as needed.

When clarinetI and clarinetII are printed to different sheets rests are
no problem. When they are combined as \voiceOne and \voiceTwo there are
common rests and rests for only one of the instruments.

I would like to have a function, e.g. "\pause 4" that produces

- a "r4", if the instrument is on a single staff
- a "r4", if the instrument is \voiceOne but doesn't have this rest
common with the other instrument
- a "h4\rest" for a common rest if the instrument is used as \voiceOne
and
- a "r4" for a not common rest on \voiceTwo and
- a "s4", if the instrument is used as \voiceTwo

The position should be adaptable for different keys.

It would be very fine if there would be a global switch where the
procedure could look how it should produce its output and it would be
fine if this would be possible with more than one pair of instruments in
a score.

Is there a known solution for this?

Thanks in advance

Werner


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


Re: Line cap style in scheme

2016-10-21 Thread Thomas Morley
2016-10-21 2:31 GMT+02:00 Andrew Bernard :
> So, in partial answer to my own question, we can achieve control over line
> cap style using a markup context, and the following code works fine:
>
>
>
>   (if is-rest?
>
>   empty-stencil
>
>   (ly:stencil-add
>
>stil
>
>(grob-interpret-markup grob
>
>  (markup
>
>   #:override (cons (quote line-cap-style) (quote square))
>
>   (#:path
>
>0.2
>
>(list (list (quote moveto) start-x start-y)
>
>  (list (quote lineto) end-x end-y)))
>
>
>
> However, I am still interested in the answer to my original question, if
> that is possible at all?
>
>
>
> Andrew
>
>
>
>
>
>
>
> From: Andrew Bernard [mailto:andrew.bern...@gmail.com]
> Sent: Friday, 21 October 2016 11:05 AM
> To: lilypond-user@gnu.org
> Subject: Line cap style in scheme
>
>
>
> I’m writing a function to make horizontal slashes through note stems.
>
>
>
> The function make-line-stencil uses round end caps, but I prefer square or
> butt style. I have asked this question before on the list, but the pointers
> to possible answers referred to code for making markups, which is good,
> whereas I want to set the end cap style for a path stencil.
>
>
>
> Here’s a fragment of the code in question (not meant to be a MWE, just to
> give the programming context):
>
>
>
>   (if is-rest?
>
>   empty-stencil
>
>   (ly:stencil-add
>
>stil
>
>(make-path-stencil
>
> (list
>
>  'moveto start-x start-y
>
>  'lineto end-x end-y)
>
> thickness 1 1 #t)
>
>))
>
>
>
> Is it possible to inject calls here to set the postscript line cap style?
>
>
>
> Andrew


Hi Andrew,

in make-path-stencil line-cap-style and line-join-style are hard-coded
to 'round. So you can't set them yourself.

Possible solutions:
(1) Define a custom make-path-stencil with optional line-cap-style and
line-join-style.
(2) Create a stencil-expression with the underlying list-syntax, then
make a ready-to-use stencil from this
(3) Use ly:round-filled-box

As long as you need only horizontal or vertical lines I'd go for (3).
The third argument of ly:round-filled-box is the blot-diameter.
Setting it zero, mimics line-cap-style 'butt.

Example:

%% path-markup
\markup {
  \override #'(line-cap-style . butt)
  \path #2 #'((moveto 0 0) (lineto 10 0))
}

%% ly:round-filled-box
\markup
  \stencil
  #(ly:round-filled-box '(0 . 10) '(0 . 2) 0)

In case this is not sufficient we could discuss how to do (1) and/or (2) ...

So far, cheers,
  Harm

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


Re: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Richard Shann
On Fri, 2016-10-21 at 10:28 +0200, Sirius Barras wrote:
> > What is the partial solution you found so far (would be very helpful
> to
> > know)?
> 
> 
> Difficult to answer, found many things:) 
> 
> 
> When I have not been able to solve my problem with what I thought it
> was the correct (but ugly)...
> 
> 
>   \mark \markup  \column {"1.\dynamic p" "2.\dynamic f"}  
> 
>   bes'2.-3 bes'4-4   
> 
> 
> I tried everything I found online, mixing \mark \markup  \tweak etc. I
> know it's not the best way to work but sometimes you hope in
> miracles :)

There *is* a lot to learn, as I am still finding. IIUC the \mark here
means "put this just once at the top of the system", so you don't want
that. The "" mean don't interpret things like \dynamic as meaning
anything special, so you don't want that. You need \line though ...

In the latest builds (from last night) Denemo gives you a markup editor
with preview - you can tinker around with markup and see how it will
typeset in the pane above. I'll be starting a new release with this
feature in shortly. 

Richard

> 
> 
> > The following seems to *basically* do what you need:
> > <<
> >   \new Staff { c'1 }
> >   \new Dynamics { s1 \p }
> >   \new Dynamics { s1 \f }
> >   \new Staff { \clef bass c1 }
> > >>
> 
> Yes, you're right, it doesn't look good yet :) but it is probably what
> I need. I have some more question.
> 
> 
> 1) I separated left and right hand using two variables. To generate
> the output I do:
> 
> 
> \score 
> {
>   \new PianoStaff 
>   <<
> \new Staff = "right" {\right}
> \new Staff = "left"  { \left}
>   >>
>   \layout { }
> }
> 
> 
> Then, even if possible it would be extremely difficult to use your
> solutionisn't it? Should I arrange the code differently?
> And also is there a better way to indicate that the first repeat you
> have to play "piano" and the second time "forte"?
> 
> 
> Thank you very much Urs. 
> S.
> 
> 
> ___
> 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: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Urs Liska


Am 21.10.2016 um 10:41 schrieb Simon Albrecht:
> Or you just use one markup for the two indications :-)

Ah, of course it's also a matter of how often you need that. If it's
something that happens throughout the score the approach with two
dynamics contexts is the way to go, if it's just a single occurence a
\markup will probably be better.

Urs

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


Re: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Simon Albrecht

On 21.10.2016 10:28, Sirius Barras wrote:


1) I separated left and right hand using two variables. To generate 
the output I do:


\score
{
  \new PianoStaff
  <<
\new Staff = "right" {\right}
\new Staff = "left"  { \left}
  >>
  \layout { }
}

Then, even if possible it would be extremely difficult to use your 
solutionisn't it?


Not at all, just insert the Dynamics contexts between the two Staff 
contexts, inside PianoStaff.


One more idea:

\score {
  \new PianoStaff <<
\new Staff { c'1 }
\new Dynamics { s1 \set Stanza = \markup\normal-text "1." \p }
\new Dynamics { s1 \set Stanza = "2." \f } % just showing two 
different ways to format the stanza number

\new Staff { \clef bass c1 }
  >>
  \layout {
\context {
  \Dynamics
  \consists "Stanza_number_engraver" % I hope that’s the correct 
name, no time to test right now…

}
  }
}

Or you just use one markup for the two indications :-)

Best, Simon

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


Re: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Urs Liska


Am 21.10.2016 um 10:28 schrieb Sirius Barras:
> > What is the partial solution you found so far (would be very helpful to
> > know)?
>
> Difficult to answer, found many things:) 
>
> When I have not been able to solve my problem with what I thought it
> was the correct (but ugly)...
>
>   \mark \markup  \column {"1.\dynamic p" "2.\dynamic f"}  
>   bes'2.-3 bes'4-4   
>
> I tried everything I found online, mixing \mark \markup  \tweak etc. I
> know it's not the best way to work but sometimes you hope in miracles :)
>
> > The following seems to *basically* do what you need:
> > <<
> >   \new Staff { c'1 }
> >   \new Dynamics { s1 \p }
> >   \new Dynamics { s1 \f }
> >   \new Staff { \clef bass c1 }
> > >>
>
> Yes, you're right, it doesn't look good yet :)

;-)
No need to bother with that before knowing it's the right direction.

> but it is probably what I need. I have some more question.
>
> 1) I separated left and right hand using two variables. To generate
> the output I do:
>
> \score 
> {
>   \new PianoStaff 
>   <<
> \new Staff = "right" {\right}
> \new Staff = "left"  { \left}
>   >>
>   \layout { }
> }
>
> Then, even if possible it would be extremely difficult to use your
> solutionisn't it? Should I arrange the code differently?

Not at all. If you specify the dynamics as two more variables (e.g.
dynOne and dynTwo) you can simply write

\new Staff = "right" {\right}
\new Dynamics \dynOne
\new Dynamics \dynTwo
\new Staff = "left"  { \left}

(with all the surroundings of course)
(BTW: if you assign *only* the variable to the staff you don't need the
curly braces around it)

> And also is there a better way to indicate that the first repeat you
> have to play "piano" and the second time "forte"?

I think your solution is pretty straightforward and common.

Best
Urs

>
> Thank you very much Urs. 
> S.
>


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


Re: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Richard Shann
On Fri, 2016-10-21 at 09:06 +0200, Sirius Barras wrote:
> I would like to write *between* the piano staves, on two different
> lines
> 
> 
> 1.p
> 2.f
> 
> 
> where p and f are dynamic marks. What I should do?

I wonder if you are just looking for some markup? e.g.

<>^\markup\scale #'(1 . 1)\column{\line{1. \dynamic p
}\line{2. \dynamic f}
}

which I generated with Denemo's Multi-line Text and Music command.
(the scale bit is redundant here of course ...)

Richard

>  And by the way do you suggest a different typographical solution?
> Thank you, s.
> 
> 
> P.S. I read the manual, googled online but I found only partial
> solution to my problem.
> 
> 
> ___
> 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: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Sirius Barras
> What is the partial solution you found so far (would be very helpful to
> know)?

Difficult to answer, found many things:)

When I have not been able to solve my problem with what I thought it was
the correct (but ugly)...

  \mark \markup  \column {"1.\dynamic p" "2.\dynamic f"}
  bes'2.-3 bes'4-4

I tried everything I found online, mixing \mark \markup  \tweak etc. I know
it's not the best way to work but sometimes you hope in miracles :)

> The following seems to *basically* do what you need:
> <<
>   \new Staff { c'1 }
>   \new Dynamics { s1 \p }
>   \new Dynamics { s1 \f }
>   \new Staff { \clef bass c1 }
> >>

Yes, you're right, it doesn't look good yet :) but it is probably what I
need. I have some more question.

1) I separated left and right hand using two variables. To generate the
output I do:

\score
{
  \new PianoStaff
  <<
\new Staff = "right" {\right}
\new Staff = "left"  { \left}
  >>
  \layout { }
}

Then, even if possible it would be extremely difficult to use your
solutionisn't it? Should I arrange the code differently?
And also is there a better way to indicate that the first repeat you have
to play "piano" and the second time "forte"?

Thank you very much Urs.
S.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Spanish terms for LH and RH

2016-10-21 Thread Andrew Bernard
I am engraving the Soler Fandango, an 18c Spanish piece. the LH and RH
indications in the MS I am working from are a little unclear. Given that
mano izqueirda is left hand and mano derecha is right hand I would have
expected to see I. and D., but the writer uses m. and D. Is this normal? I
am not so familiar with the Spanish keyboard conventions of the period. What
do Spanish composers use nowdays?

 

Andrew

 

 

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


Re: dynamic marks on multiple lines between piano staves

2016-10-21 Thread Urs Liska


Am 21.10.2016 um 09:06 schrieb Sirius Barras:
> I would like to write *between* the piano staves, on two different lines
>
> 1.p
> 2.f
>
> where p and f are dynamic marks. What I should do? And by the way do
> you suggest a different typographical solution?
> Thank you, s.
>
> P.S. I read the manual, googled online but I found only partial
> solution to my problem.

What is the partial solution you found so far (would be very helpful to
know)?

The following seems to *basically* do what you need:

<<
  \new Staff { c'1 }
  \new Dynamics { s1 \p }
  \new Dynamics { s1 \f }
  \new Staff { \clef bass c1 }
>>

(presumably the closing brackets will be garbled by email)

This doesn't look good yet, but is that what you basically need?

HTH
Urs


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


dynamic marks on multiple lines between piano staves

2016-10-21 Thread Sirius Barras
I would like to write *between* the piano staves, on two different lines

1.p
2.f

where p and f are dynamic marks. What I should do? And by the way do you
suggest a different typographical solution?
Thank you, s.

P.S. I read the manual, googled online but I found only partial solution to
my problem.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user