Re: [OT] Bizet op.2

2015-07-04 Thread Urs Liska
How about the contact link on that page? Am 4. Juli 2015 12:20:57 MESZ, schrieb Pierre Perol-Schneider : >Hi LilyPonder's, > >I'm looking for Bizet op.2 : >http://digital.wustl.edu/bizet/works/4_Preludes.html >especially the second prelude. >I have no clue where to find it, even none at the BnF.

[OT] Bizet op.2

2015-07-04 Thread Pierre Perol-Schneider
Hi LilyPonder's, I'm looking for Bizet op.2 : http://digital.wustl.edu/bizet/works/4_Preludes.html especially the second prelude. I have no clue where to find it, even none at the BnF. Thanks very much in advance. Cheers, Pierre ___ lilypond-user mailin

Re: \parenthesize and optional arguments

2015-07-04 Thread David Kastrup
Marc Hohl writes: > Now I got > > \version "2.19.20" > > lparenthesize = > #(define-music-function (arg) (ly:music?) >(_i "Tag @var{arg} to be left parenthesized.) >(if (memq 'event-chord (ly:music-property arg 'types)) >;; arg is an EventChord -> set the parenthesize property >

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Am 04.07.2015 um 10:08 schrieb David Kastrup: [...] Well, I'm not enthusiastic about both code and interface. What about \version "2.19.20" #(define (set-paren-property arg) (if (memq 'event-chord (ly:music-property arg 'types)) ;; arg is an EventChord -> set the parenthesize proper

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Am 04.07.2015 um 11:12 schrieb Marc Hohl: [...] I remember getting such error messages in combination with some unbalanced parentheses, but my editor tells me that this is not the case here :-( Found it! It was "unbalanced '"'s in the doc string here! Marc __

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Am 04.07.2015 um 10:08 schrieb David Kastrup: [...] Well, I'm not enthusiastic about both code and interface. The problem with the code is that { c'8-\parenthesize-1 [ f'8] } will no longer compile. Ah, I see. The first reason for that is that one-paren parenthesize will not work for any

Re: \parenthesize and optional arguments

2015-07-04 Thread David Kastrup
Marc Hohl writes: > \version "2.19.20" > > parenthesize = > #(define-music-function (dir arg) ((number? 0) ly:music?) >(_i "Tag @var{arg} to be parenthesized. @arg{dir} is optional and may be >set to @code{#LEFT} or @code{#RIGHT} for left/right parentheses only.") > >(if (memq 'event-

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Am 04.07.2015 um 09:17 schrieb David Kastrup: [...] You are thinking of LilyPond/Scheme as a procedural language here. What happens here is that you calculate a suitable override and, well, throw it away. The return value of this function, calculated later as "arg", does not care what you have

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Am 04.07.2015 um 09:17 schrieb David Kastrup: [...] You are thinking of LilyPond/Scheme as a procedural language here. What happens here is that you calculate a suitable override and, well, throw it away. The return value of this function, calculated later as "arg", does not care what you have

Re: \parenthesize and optional arguments

2015-07-04 Thread David Kastrup
Marc Hohl writes: > my scheme-fu is a bit rusty, so I tried to get a new start > by enhancing the parenthesize function defined in > ly/music-functions-init.ly with the code to be found in > > http://lsr.di.unimi.it/LSR/Snippet?id=902 > > Here is what I have so far: > > \version "2.19.20" > > par