Re: Difference between #music and \music?

2017-09-20 Thread Thomas Morley
2017-09-20 6:52 GMT+02:00 David F. : > The following code runs without error: > > > \version "2.19" > > #(define-markup-command (myMarkup layout props music) > (ly:music?) > % Code to generate markup based on music goes here—elided for simplicity > (interpret-markup layout props "myM

Re: change tie color

2017-09-20 Thread Thomas Morley
2017-09-20 8:16 GMT+02:00 Gianmaria Lari : > I'm sorry but I'm not able to make them working. In both cases I get > > unexpected post-event > c1 > \myGrey ~ c1 Argh, I messed up lily-versions. \fixed c'' { c1-\tweakGrey ~ c1 } \fixed c'' { c1-\myGrey ~ c1 } should work with my coding and

Re: change tie color

2017-09-20 Thread Gianmaria Lari
Thank you Harm! Now they works wonderfully :)) On 20 September 2017 at 10:21, Thomas Morley wrote: > 2017-09-20 8:16 GMT+02:00 Gianmaria Lari : > > I'm sorry but I'm not able to make them working. In both cases I get > > > > unexpected post-event > > c1 > > \myGrey ~ c1 > > > Argh, I messe

Colouring grobs with \ed function and disappearing bar

2017-09-20 Thread Gianmaria Lari
This code works as expected generating two anacrusis measures c4 | 42 (see attached image). \version "2.19.65" \fixed c'' { \partial 4 c4 \partial 2. c2. } Now I would like to make the same but with second measure grey. I use \ed function at http://lsr.di.unimi.it/LSR/Item?id=985 and here

Re: Problem with Codas

2017-09-20 Thread Carl Sorensen
On 9/19/17 5:33 PM, "David Kastrup" wrote: >Shamus Hammons writes: > >> On 09/17/2017 01:50 AM, David Kastrup wrote: >>> Carl Sorensen writes: >>> On 9/16/17 8:09 AM, "Shamus Hammons" wrote: > I have a dream, that one day Lilypond will make codas first class > citizens inste

Re: change tie color

2017-09-20 Thread David Kastrup
Gianmaria Lari writes: > I'm sorry but I'm not able to make them working. In both cases I get > > unexpected post-event > c1 > \myGrey ~ c1 c1-\myGrey ~ should work: Harm (probably accidentally) relied on a 2.21.0 feature that's not much more than a week old and incidentally was triggered by

Re: change tie color

2017-09-20 Thread Thomas Morley
2017-09-20 10:29 GMT+02:00 David Kastrup : > Gianmaria Lari writes: > >> I'm sorry but I'm not able to make them working. In both cases I get >> >> unexpected post-event >> c1 >> \myGrey ~ c1 > > c1-\myGrey ~ > > should work: Harm (probably accidentally) relied on a 2.21.0 feature > that's not m

Re: Colouring grobs with \ed function and disappearing bar

2017-09-20 Thread Thomas Morley
Hi Gianmaria, 2017-09-20 10:53 GMT+02:00 Gianmaria Lari : > This code unfortunately does not work as expected (expected to me :)) it's not clear to me what you expected. For me your image exactly matches what you asked for. Could you explain your expectations more detailed or better post an ima

Re: Colouring grobs with \ed function and disappearing bar

2017-09-20 Thread David Kastrup
Thomas Morley writes: > Hi Gianmaria, > > 2017-09-20 10:53 GMT+02:00 Gianmaria Lari : > >> This code unfortunately does not work as expected (expected to me :)) > > it's not clear to me what you expected. For me your image exactly > matches what you asked for. The bar line is gone. The code has

NullVoice lyrics alignment error

2017-09-20 Thread Pierre-Luc Gauthier
Hi there, The first word (Lyrics) is not aligned correctly as it is bellow the clef instead of being bellow or "in" the music. Is this an error or am-I using it wrong? I see this happening often e.g. in musicals where lyrics are important for the violin player. Here is my MWE : \version "2.21.

Re: Remove given tagged expression from given context

2017-09-20 Thread Pierre-Luc Gauthier
> On 19.07.2017 01:02, Pierre-Luc Gauthier wrote: >> I know it may sound silly but : >> \context { >>\Staff >>%\removeWithTag #'tagged …please? >> } 2017-07-18 19:47 GMT-04:00 Simon Albrecht : > The example below does indeed not make sense, because \removeWithTag and its

Re: Colouring grobs with \ed function and disappearing bar

2017-09-20 Thread Gianmaria Lari
I'm sorry not having been more clear. Yes, as pointed out by David, in my second example the bar line is gone. * * * I tried a very rough solution that apparently work (but please if there are any other and simpler solution you're welcome) \version "2.19.65" myGrey = \tweak color #(lambda (

Re: Colouring grobs with \ed function and disappearing bar

2017-09-20 Thread Simon Albrecht
On 20.09.2017 22:22, David Kastrup wrote: Thomas Morley writes: Hi Gianmaria, 2017-09-20 10:53 GMT+02:00 Gianmaria Lari : This code unfortunately does not work as expected (expected to me :)) it's not clear to me what you expected. For me your image exactly matches what you asked for. The b