How to get Staff context-id from a grob?

2013-10-11 Thread Jan Rosseel
Hello, I have a problem that I've been trying to crack, but I'm failing. In my backend, I am processing grobs, and I would need to get the context-id of the StaffSymbol that a certain grob belongs to. Here's the bigger picture: \new Staff = foobar { ... << some music>>> }

Re: How to get Staff context-id from a grob?

2013-10-11 Thread Urs Liska
Am 11.10.2013 10:22, schrieb Jan Rosseel: Hello, I have a problem that I've been trying to crack, but I'm failing. In my backend, I am processing grobs, and I would need to get the context-id of the StaffSymbol that a certain grob belongs to. Here's the bigger picture: \new Staff = foobar

Re: How to get Staff context-id from a grob?

2013-10-11 Thread David Kastrup
"Jan Rosseel" writes: > Hello, > > > > I have a problem that I've been trying to crack, but I'm failing. > > > > In my backend, I am processing grobs, and I would need to get the > context-id of the StaffSymbol that a certain grob belongs to. Grobs don't belong to contexts. They are creat

Re: How to get Staff context-id from a grob?

2013-10-11 Thread Jan-Peter Voigt
Hi Jan, AFAICS its not possible to get the context from a grob. It only points to the originating music-expression, which might be used in several contexts. You can get the current context-id, whenever you have a context, like in an engraver or in an applyContext statement: --snip-- % find a cont

Re: laying out plainsong chant

2013-10-11 Thread Noeck
Hi Gabe, > 1) How to create the "bar" in the music (I've inserted rests just to show > where they go) ? here is a hack, that looks similar to the desired bar. I am sure there are better ways to do this (perhaps using postscript), but it looks very similar: \version "2.17.26" % definition of the

Re: ugly bar line when changing line-count

2013-10-11 Thread Gilberto Agostinho
Hi Eluze, Thanks for your tip, indeed by adding this \override command everything looks better (in my opinion). Maybe we should add this to the documentation, since this kind of writing is very used in the percussion section of a full orchestral score, and also because the only example in the docu

partcombine texts

2013-10-11 Thread Mark Knoop
Hi all, I'm using partcombine and am looking for a way to add a text marking when automatic combining starts. It seems the Part_combine_engraver only provides text hooks for soloText, soloIIText and aDueText - what I want is a combinedText (to set to "divisi" in this instance). Any ideas? Minimal

Re: partcombine texts

2013-10-11 Thread James Worlton
http://lilypond.org/doc/v2.17/Documentation/notation/multiple-voices#index-part-combiner This part of the manual shows how you can change the part combine text. James Worlton On Fri, Oct 11, 2013 at 8:29 AM, Mark Knoop wrote: > Hi all, > > I'm using partcombine and am looking for a way to add

repeat partcombine texts

2013-10-11 Thread Simon Bailey
hi, i was typesetting a score last week, and there are some a2 sections in the horns that go over multiple systems and pages. is there any way to repeat the current partcombine "text" in brackets at the beginning of a system? <<< \version "2.17.28" partI = \relative c' {c d c d | e f g a | \brea

cresc. whitespace padding

2013-10-11 Thread EdBeesley
I'm trying to add a bit of padding to the whiteout function when used on a \cresc. My results are best explained with code... \version "2.16.2" exampleone = \markup {how it looks with whiteout} exampletwo = \markup {how I want it to look} examplethree = \markup {trying to use scheme} \score {

Re: Ossia - Documentation Recommendation

2013-10-11 Thread Wim van Dommelen
One other example is a piece for clarinet. For example in a symphonic orchestra piece and aimed at a clarinet in A to which the player normally should switch. But if no clarinet in A is available, an "ossia" for a clarinet in Bes could be provided. Of course the ossia then needs a different

Re: partcombine texts

2013-10-11 Thread Mark Knoop
At 08:50 on 11 Oct 2013, James Worlton wrote: >On Fri, Oct 11, 2013 at 8:29 AM, Mark Knoop wrote: > >> Hi all, >> >> I'm using partcombine and am looking for a way to add a text marking >> when automatic combining starts. It seems the Part_combine_engraver >> only provides text hooks for soloText,

Re: ugly bar line when changing line-count

2013-10-11 Thread Gilberto Agostinho
And still one more little problem concerning changes in line-count: if the line-count is changed in the middle of a bar, they tend to be modified only after an accidental! Have a look on the following code: \version "2.17.28" \relative c'' { fis4 d gis, e | \stopStaff \override Staff.Staf

RE: Ossia - Documentation Recommendation

2013-10-11 Thread Mark Stephen Mrotek
Wim van Dommelen, Thank you for your interest and input. That rarity supports my suggestion. The "ossia" for the Bes Clarinet would need a specific key signature. As the documentation snippet is currently presented ( see attached) no place for that key signature is given. Mark Stephen M

Re: partcombine texts

2013-10-11 Thread James Worlton
On Fri, Oct 11, 2013 at 9:53 AM, Mark Knoop wrote: > At 08:50 on 11 Oct 2013, James Worlton wrote: > >On Fri, Oct 11, 2013 at 8:29 AM, Mark Knoop wrote: > > > >> Hi all, > >> > >> I'm using partcombine and am looking for a way to add a text marking > >> when automatic combining starts. It seems

Help to beging please

2013-10-11 Thread eric . pique
Hello, This my first steps in your comunity. Sorry for my mistakes. I'm a disable man from Pais. I'm a programmer in Java. Well, always I would to play blues, but with my handicap I can't so I think, Lily Pond it's the solution :-D I have no problem with the compiler. But some with the struct o

Re: Ossia - Documentation Recommendation

2013-10-11 Thread Simon Bailey
On Fri, Oct 11, 2013 at 6:27 PM, Mark Stephen Mrotek wrote: > Wim van Dommelen, > > Thank you for your interest and input. > > That rarity supports my suggestion. The “ossia” for the Bes Clarinet would > need a specific key signature. As the > documentation snippet is currently presented ( see at

Re: Help to beging please

2013-10-11 Thread Pierre Perol-Schneider
2013/10/11 > Hello, > > Hi Eric, > Exemple, for the piano, how to have two key in a partition? > I suppose you mean "clef" : one for each hand. > > Someone living to Paris? > > I do ; how can I help you ? ___ lilypond-user mailing list lilypond-use

RE: Ossia - Documentation Recommendation

2013-10-11 Thread Mark Stephen Mrotek
Mr. Bailey, My recommendation was based on an attempt to utilize the snippet as presented. It did not do what I needed. I then added the \key command were I recommend and it did work. This seems to be a whole lot of kerfuflle over a simple, honest, recommendation. Mark Stephen Mrotek -Origin

[OFF-TOPIC] Wikipedia

2013-10-11 Thread Pierre Perol-Schneider
Hi List, Have one of you guys succeded to connect to Wikipedia ? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: [OFF-TOPIC] Wikipedia

2013-10-11 Thread SoundsFromSound
Hi Pierre, What do you mean, like are we able to connect to the site or do you suspect it's down? I am able to visit Wikipedia here without any problems, it may be your local network. http://www.downforeveryoneorjustme.com/ This site is what I use to see if a website is "down" or just inaccessibl

Re: [OFF-TOPIC] Wikipedia

2013-10-11 Thread Pierre Perol-Schneider
Well its weird, : - under Seven : impossible to reach Wikipedia (tried with explorer, chrome and firefox) - under linux : no problem, connection's possible. Maybe my PC's infected :( Cheers,Pierre 2013/10/11 SoundsFromSound > Hi Pierre, > > What do you mean, like are we able to connect to the

Re: cresc. whitespace padding

2013-10-11 Thread Thomas Morley
2013/10/11 EdBeesley : > I'm trying to add a bit of padding to the whiteout function when used on a > \cresc. My results are best explained with code... > > \version "2.16.2" > > exampleone = \markup {how it looks with whiteout} > exampletwo = \markup {how I want it to look} > examplethree = \marku

Re: cresc. whitespace padding

2013-10-11 Thread EdBeesley
Thomas Morley-2 wrote > Hi, > > how about: > > \version "2.16.2" > > moreVerticalDynamicTextSpannerWhiteout = > \once \override DynamicTextSpanner #'stencil = > #(lambda (grob) > (let* ((stil (ly:line-spanner::print grob)) > (x-ext (ly:stencil-extent stil X)) > (y

Re: cresc. whitespace padding

2013-10-11 Thread Thomas Morley
2013/10/11 EdBeesley : > Thomas Morley-2 wrote >> Hi, >> >> how about: >> >> \version "2.16.2" >> >> moreVerticalDynamicTextSpannerWhiteout = >> \once \override DynamicTextSpanner #'stencil = >> #(lambda (grob) >> (let* ((stil (ly:line-spanner::print grob)) >> (x-ext (ly:stencil

Re: Help to beging please

2013-10-11 Thread Mike Solomon
On Oct 11, 2013, at 8:52 PM, Pierre Perol-Schneider wrote: > 2013/10/11 > Hello, > > Hi Eric, > > Exemple, for the piano, how to have two key in a partition? > > I suppose you mean "clef" : one for each hand. > > > Someone living to Paris? > > I do ; how can I help you ? > Hey Eric,

Re: cresc. whitespace padding

2013-10-11 Thread Thomas Morley
2013/10/11 Thomas Morley : [...] > It would lead to: > > moreVerticalDynamicTextSpannerWhiteout = > #(define-music-function (parser location adds)(pair?) > #{ > \once \override DynamicTextSpanner #'stencil = > #(lambda (grob) > (let* ((stil (ly:line-spanner::print grob)) > (x-ex

Re: cresc. whitespace padding

2013-10-11 Thread Colin Campbell
On 13-10-11 01:53 PM, Thomas Morley wrote: 2013/10/11 EdBeesley : I'm trying to add a bit of padding to the whiteout function when used on a \cresc. My results are best explained with code... \version "2.16.2" exampleone = \markup {how it looks with whiteout} exampletwo = \markup {how I want i

Piano music switching staves

2013-10-11 Thread Derek
Hi there I hope this example is short enough I am trying to use the change staff thing to get the bes4 in leftTwo to display in rightOne with the line that show it is switching staves like in the attachment. Does anyone have any pointers, I have gone through the documentation but obviously there is

Re: Piano music switching staves

2013-10-11 Thread SoundsFromSound
Hi Derek, Hmm, I tried to copy and paste your code but it's just some variables that are being defined, no score block or anything else. Did you paste everything that you had intended to? Also, what version of LilyPond are you using? Ben Derek wrote > Hi there I hope this example is short enoug

Re: Piano music switching staves

2013-10-11 Thread SoundsFromSound
Derek, Have you tried just a simple staff-change line? http://www.lilypond.org/doc/v2.17/Documentation/notation/common-notation-for-keyboards#staff_002dchange-lines i.e. Whenever a voice switches to another staff, a line connecting the notes can be printed automatically: \new PianoStaff <<

Re: cresc. whitespace padding

2013-10-11 Thread David Kastrup
EdBeesley writes: > Now when you say this could be easily turned into a > music-function... could we assume for a second that I'm totally dumb > and have no idea how to do this? That's where LilyPond's documentation could come in handy... -- David Kastrup

Re: Flat flags

2013-10-11 Thread Thomas Morley
2013/10/2 Gilberto Agostinho : > Hi Harm, > > Thank you so much for this code. I realize now that it was not your > flat-flag code that wasn't matching the old and modern-straight-flags, but > actually it was the notes using \set stemLeftBeamCount x[] that were not > matching them! Now I see that b