Re: Apply event function *within* music-function

2017-05-02 Thread Thomas Morley
2017-05-02 8:29 GMT+02:00 Urs Liska : > Hi all, > > I'm trying to apply event functions to music passed into a music function > like that: > > \version "2.19.57" > > test = > #(define-music-function (mus)(ly:music?) >#{ > #mus \startGroup >#}) > > { > \test c' d' e' f' \stopGroup > }

Re: Apply event function *within* music-function

2017-05-02 Thread caagr98
Wouldn't the <>\stopGroup extend the group one note too far? On 05/02/17 10:06, Thomas Morley wrote: 2017-05-02 8:29 GMT+02:00 Urs Liska : Hi all, I'm trying to apply event functions to music passed into a music function like that: \version "2.19.57" test = #(define-music-function (mus)(ly:m

Re: Apply event function *within* music-function

2017-05-02 Thread Urs Liska
Am 02.05.2017 um 10:08 schrieb caag...@gmail.com: > Wouldn't the <>\stopGroup extend the group one note too far? Yes, but that's something I definitely can handle. > > On 05/02/17 10:06, Thomas Morley wrote: >> 2017-05-02 8:29 GMT+02:00 Urs Liska : >>> Hi all, >>> >>> I'm trying to apply event

Re: Apply event function *within* music-function

2017-05-02 Thread Thomas Morley
2017-05-02 10:08 GMT+02:00 : > Wouldn't the <>\stopGroup extend the group one note too far? You're right. I shouldn't post before second coffee... Sorry for the noise. :Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org

Re: Apply event function *within* music-function

2017-05-02 Thread Urs Liska
Am 02.05.2017 um 10:34 schrieb Thomas Morley: > 2017-05-02 10:08 GMT+02:00 : >> Wouldn't the <>\stopGroup extend the group one note too far? > > > You're right. > I shouldn't post before second coffee... > > Sorry for the noise. No, *this* is not an issue, I can simply put it before the music l

Re: Apply event function *within* music-function

2017-05-02 Thread Jan-Peter Voigt
Hi Urs, Am 02.05.2017 um 10:53 schrieb Urs Liska: > ... What I did *not* manage yet is at the end of the thing. When I use test = #(define-music-function (mus)(ly:music?) #{ <>\startGroup #mus <>\stopGroup #}) { \test { c' d' e' f' } g' a' b' c' } the bracket includes t

Lyrics, extenders and slurs in alternate repeats

2017-05-02 Thread Gerdau, Michael
Hi list, I think this is a recurring theme and I'm aware there are workarounds (kind of). However I would like to ask if there is work on automatically continuing slurs, lyrics and lyric extender lines in alternate repeats. Find below an example as to how I would want to input the stuff and what

Align to left the instrument title

2017-05-02 Thread Marco Bagolin
Hello all, I am not so expert and need a help. I would like that instrument title appear on the left of the first page and in the center of the other pages. I am trying with this code: \version "2.18.2" \header { title = \markup \fontsize #+1.5 {"My Music"} instrument = \left-align \fontsize #+

Re: Align to left the instrument title

2017-05-02 Thread Jacques Menu Muzhic
Hello Marco, You minimal working example (MWE) is too minimal actually. How about: \version "2.19.55" \version "2.18.2" \header { title = \markup \fontsize #+1.5 {"My Music"} instrument = \markup {\left-align \fontsize #+1.5 {"Flute"}} } { c } JM > Le 2 mai 2017 à 14:14, Marco Bagolin a

Re: Apply event function *within* music-function

2017-05-02 Thread Urs Liska
Hi Jan-Peter Am 02.05.2017 um 11:10 schrieb Jan-Peter Voigt: > Hi Urs, > > Am 02.05.2017 um 10:53 schrieb Urs Liska: > > ... >> What I did *not* manage yet is at the end of the thing. >> When I use >> >> test = >> #(define-music-function (mus)(ly:music?) >>#{ >> <>\startGroup >> #mu

Re: Apply event function *within* music-function

2017-05-02 Thread Jan-Peter Voigt
Hi Urs, Am 02.05.2017 um 17:30 schrieb Urs Liska: Hi Jan-Peter ... \version "2.19.57" test = #(define-music-function (mus)(ly:music?) (let* ((elms (ly:music-property mus 'elements)) ; first and last music-element ... (frst (first elms)) ; TODO test for list? and ly:musi

Re: Apple stealing "Lily"

2017-05-02 Thread Devin Ulibarri
This stupid app will surely die, but it is worth lilypond being on guard with regard to trademark (which has a separate purpose from copyright and is pretty helpful to protect users from mistaking different brands for the same). Peter Gentry: > https://www.groovypost.com/deals/lily-apple-free-app-

Re: Align to left the instrument title

2017-05-02 Thread Marco Bagolin
Hello all, you can see what I want to obtain in the example attached. I want the title in the center of the page. The name of the instrument at the left margin of the first page. The name of the instrument in the center on the top of the other pages. I don't know what code to write for this resul

Re: Up and down arrows

2017-05-02 Thread Federico Bruni
Il giorno dom 30 apr 2017 alle 0:05, David Wright ha scritto: On Sat 29 Apr 2017 at 07:12:07 (+0200), Federico Bruni wrote: There's an example in the LSR. Yes…and 1054 other things too. Sorry, I had a poor Internet connection.. Here's the snippet: http://lsr.di.unimi.it/LSR/Item?id=87

Re: Up and down arrows

2017-05-02 Thread Federico Bruni
Il giorno mar 2 mag 2017 alle 22:54, Federico Bruni ha scritto: Here's the snippet: http://lsr.di.unimi.it/LSR/Item?id=879 BTW, I would change this snippet and replace manual beams with automatic beams, in order to make stand what matters. I would add also a comment to explain the override of

Re: Align to left the instrument title

2017-05-02 Thread Thomas Morley
2017-05-02 21:41 GMT+02:00 Marco Bagolin : > > Hello all, > you can see what I want to obtain in the example attached. > > I want the title in the center of the page. > The name of the instrument at the left margin of the first page. > The name of the instrument in the center on the top of the othe

Re: Up and down arrows

2017-05-02 Thread David Wright
On Tue 02 May 2017 at 22:54:42 (+0200), Federico Bruni wrote: > > > Il giorno dom 30 apr 2017 alle 0:05, David Wright > ha scritto: > >On Sat 29 Apr 2017 at 07:12:07 (+0200), Federico Bruni wrote: > >> There's an example in the LSR. > > > >Yes…and 1054 other things too. > > > > > Sorry, I had

Re: Apple stealing "Lily"

2017-05-02 Thread Andrew Bernard
Come on guys. Lilypond is not named Lily, the app is not developed by Apple, Apple is not stealing anything, and it has nothing to do with music engraving. Lilypond is not a brand and not a trademark. It's open source software, and it does not compete in a market. Dear me. Lilypond software has no

Re: Apple stealing "Lily"

2017-05-02 Thread Tim McNamara
Thank you for your good sense, Andrew. > On May 2, 2017, at 8:30 PM, Andrew Bernard wrote: > > Come on guys. Lilypond is not named Lily, the app is not developed by Apple, > Apple is not stealing anything, and it has nothing to do with music engraving. > > Lilypond is not a brand and not a tra

Re: Apple stealing "Lily"

2017-05-02 Thread Robert Schmaus
I couldn't agree more! > On 3 May 2017, at 03:30, Andrew Bernard wrote: > > Come on guys. Lilypond is not named Lily, the app is not developed by Apple, > Apple is not stealing anything, and it has nothing to do with music engraving. > > Lilypond is not a brand and not a trademark. It's open

Re: Abstracting these commands

2017-05-02 Thread Michiel Sikma
Hi Andrew, Thanks, sorry for not including it to begin with. Actually, in making that example I had another look through the snippet repository and found this http://lsr.di.unimi.it/LSR/Snippet?id=739 - which I'm now using and modifying it a little for my needs. Basically, a simple way to define n

Re: Abstracting these commands

2017-05-02 Thread Urs Liska
Am 3. Mai 2017 07:19:46 MESZ schrieb Michiel Sikma : >Hi Andrew, > >Thanks, sorry for not including it to begin with. >Actually, in making that example I had another look through the snippet >repository and found this http://lsr.di.unimi.it/LSR/Snippet?id=739 - >which >I'm now using and modifying