Re: Unconventional score and unwanted stray staff lines

2019-12-01 Thread David Bellows
Hey Thomas, > Maybe throw \RemoveEmptyStaves away. That works for this example but when I incorporate that back into the original issue (https://lists.gnu.org/archive/html/lilypond-user/2019-05/msg00263.html) it results in the stray staves being printed which is what lead to this whole problem i

Re: Unconventional score and unwanted stray staff lines

2019-12-01 Thread Thomas Morley
Am Sa., 30. Nov. 2019 um 23:19 Uhr schrieb David Bellows : > > Hello everyone, I started this thread back in May and as far as I can > tell the main problem has not been added to the tracker. Yep. > As I was playing around with my software (summary: a program that > generates music and then auto

Re: Unconventional score and unwanted stray staff lines

2019-11-30 Thread David Bellows
warded message -- >> From: David Bellows >> To: >> Cc: lilypond-user Mailinglist >> Bcc: >> Date: Sat, 30 Nov 2019 14:18:48 -0800 >> Subject: Re: Unconventional score and unwanted stray staff lines > > >> >> As I was playing around with

Re: Unconventional score and unwanted stray staff lines

2019-11-30 Thread Flaming Hakama by Elaine
-- Forwarded message -- > From: David Bellows > To: > Cc: lilypond-user Mailinglist > Bcc: > Date: Sat, 30 Nov 2019 14:18:48 -0800 > Subject: Re: Unconventional score and unwanted stray staff lines > > As I was playing around with my software

Re: Unconventional score and unwanted stray staff lines

2019-05-21 Thread Thomas Morley
Am Di., 21. Mai 2019 um 22:46 Uhr schrieb Leo Correia de Verdier : > > A quite minimal could look like: > > \version "2.19.82" > > \score { > << \new Staff {e'2.} > \new Staff {g'4. f'4} > \new Staff {a'1} >> > > \layout { > \context { > \Voice > \remove "Note_heads_en

Re: Unconventional score and unwanted stray staff lines

2019-05-21 Thread Leo Correia de Verdier
A quite minimal could look like: \version "2.19.82" \score { << \new Staff {e'2.} \new Staff {g'4. f'4} \new Staff {a'1} >> \layout { \context { \Voice \remove "Note_heads_engraver" \consists "Completion_heads_engraver" completionUnit = #(ly:make-m

Re: Unconventional score and unwanted stray staff lines

2019-05-21 Thread David Bellows
Thomas, > Main thing here is > \stopStaff Ok, so \noStaff seems to fix my problem without the need for anything else. I'll need to test it a lot more but perhaps that will get me through until/unless this problem gets solved within Lilypond. Thanks for that! I search and search the documentation

Re: Unconventional score and unwanted stray staff lines

2019-05-21 Thread Thomas Morley
Am Di., 21. Mai 2019 um 18:03 Uhr schrieb David Bellows : > > Hi Thomas, > > Thanks for jumping in! Well, without Urs' minimal I wouldn't have. Thanks Urs! > > At least in the minimal one can workaround with inserting \noBeam: > > It works in some cases but not when that last pitch it tied to > p

Re: Unconventional score and unwanted stray staff lines

2019-05-21 Thread David Bellows
Hi Thomas, Thanks for jumping in! > At least in the minimal one can workaround with inserting \noBeam: It works in some cases but not when that last pitch it tied to previous notes (see attached pdf). When they are not tied this works well. In my use-case, I have Lilypond break notes up automati

Re: Unconventional score and unwanted stray staff lines

2019-05-21 Thread Thomas Morley
Am Di., 21. Mai 2019 um 11:27 Uhr schrieb Urs Liska : > > > > Am 21. Mai 2019 10:49:01 MESZ schrieb Thomas Morley > : > >Am Di., 21. Mai 2019 um 02:32 Uhr schrieb Thomas Morley > >: > >> > >> Am So., 19. Mai 2019 um 20:32 Uhr schrieb Urs Liska > >: > >> > >> > The staves that continue to be printe

Re: Unconventional score and unwanted stray staff lines

2019-05-21 Thread Urs Liska
Am 21. Mai 2019 10:49:01 MESZ schrieb Thomas Morley : >Am Di., 21. Mai 2019 um 02:32 Uhr schrieb Thomas Morley >: >> >> Am So., 19. Mai 2019 um 20:32 Uhr schrieb Urs Liska >: >> >> > The staves that continue to be printed appear to only happen when >the >> > last note in that staff is an actual

Re: Unconventional score and unwanted stray staff lines

2019-05-21 Thread Thomas Morley
Am Di., 21. Mai 2019 um 02:32 Uhr schrieb Thomas Morley : > > Am So., 19. Mai 2019 um 20:32 Uhr schrieb Urs Liska : > > > The staves that continue to be printed appear to only happen when the > > last note in that staff is an actual printed note. If it's a rest or a > > space then the extra staves

Re: Unconventional score and unwanted stray staff lines

2019-05-20 Thread Thomas Morley
Am So., 19. Mai 2019 um 20:32 Uhr schrieb Urs Liska : > The staves that continue to be printed appear to only happen when the > last note in that staff is an actual printed note. If it's a rest or a > space then the extra staves are not printed. Further experimentation > and it looks like the extr

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread David Bellows
ve. > > Mark > > -Original Message- > From: David Bellows [mailto:davebell...@gmail.com] > Sent: Sunday, May 19, 2019 1:23 PM > To: Mark Stephen Mrotek > Cc: lilypond-user > Subject: Re: Unconventional score and unwanted stray staff lines > > Hey Mark, > &g

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread David Bellows
Hey Kieren, > If the algorithm uses a random number generator to determine which output to > give, “one never knows what’s going to happen”, but it would still be easy > for Lilypond to make the result "look good". Yep, that's it exactly. I do spend a lot of time generating a lot of different r

RE: Unconventional score and unwanted stray staff lines

2019-05-19 Thread Mark Stephen Mrotek
Kieren, Thank you for the correction. Mark -Original Message- From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca] Sent: Sunday, May 19, 2019 2:50 PM To: Mark Stephen Mrotek Cc: David Bellows ; Lilypond-User Mailing List Subject: Re: Unconventional score and unwanted stray

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread Kieren MacMillan
Hi Mark, > You are asking a computer (Lilypond) to look good when "one never knows > what's going to happen." > IMHO, the two are mutually exclusive. Doesn’t that depends ultimately upon the precise algorithms (and thus output) involved? I mean, I could code an algorithm that outputs either

RE: Unconventional score and unwanted stray staff lines

2019-05-19 Thread Mark Stephen Mrotek
phen Mrotek Cc: lilypond-user Subject: Re: Unconventional score and unwanted stray staff lines Hey Mark, This music is generated algorithmically and there are a lot of options for the user to choose from, so one never knows what's going to happen. I need for Lilypond to do its usual thing and

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread Urs Liska
Am 19.05.19 um 22:27 schrieb David Bellows: Hey Urs, I too find this surprising. I suggest you ask on lilypond-user whether this is a bug or intended behaviour. If it is intended (due to some engraving convention for example) it might be made configurable. I first posted this to lilypond-us

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread David Bellows
k > > -Original Message- > From: David Bellows [mailto:davebell...@gmail.com] > Sent: Saturday, May 18, 2019 10:46 PM > To: Mark Stephen Mrotek > Cc: lilypond-user > Subject: Re: Unconventional score and unwanted stray staff lines > > Hey Mark, > > > Maybe us

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread David Bellows
Hey Urs, > I too find this surprising. I suggest you ask on lilypond-user whether this > is a bug or intended behaviour. If it is intended (due to some engraving > convention for example) it might be made configurable. I first posted this to lilypond-user. I don't know if I need to repost with

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread Urs Liska
Am 19.05.19 um 17:56 schrieb David Bellows: Hey Aaron, Before I respond to the rest of your email, I think it's worth going over something I didn't emphasize enough in my first email. I've attached a new pdf with instrument labels this time to make it easier to follow. The staves that continue

RE: Unconventional score and unwanted stray staff lines

2019-05-19 Thread Mark Stephen Mrotek
e, just to see if voices align. Then remove it for publication. Mark -Original Message- From: David Bellows [mailto:davebell...@gmail.com] Sent: Saturday, May 18, 2019 10:46 PM To: Mark Stephen Mrotek Cc: lilypond-user Subject: Re: Unconventional score and unwanted stray staff lines

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread David Bellows
\stopStaff > > Hope this helps. > > Best > Karim > > On Sun, May 19, 2019 at 09:04:47AM -0400, lilypond-user-requ...@gnu.org wrote: > > > > Message: 2 > > Date: Sat, 18 May 2019 20:09:10 -0700 > > From: David Bellows > > To: Andrew Bernard &g

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread David Bellows
Hey Andrew, I did receive your other email. I guess the one emailed directly to me got through. I haven't had time to go through everything you wrote yet but I would be interested in seeing that part of the Lilypond file. I'm hoping my problem doesn't require a complex solution since all I'm tryin

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread David Bellows
Hey Aaron, Before I respond to the rest of your email, I think it's worth going over something I didn't emphasize enough in my first email. I've attached a new pdf with instrument labels this time to make it easier to follow. The staves that continue to be printed appear to only happen when the l

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread Andrew Bernard
Hi David, Interesting, I emailed the following to the list but for the first time ever it was rejected by the list moderator (person or software?) for being too large, yet it is not. Anyway, I mention here Karim Haddid's help for me, and sure enough, he has also posted. I'll copy the text ere, and

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread Karim Haddad
st Karim On Sun, May 19, 2019 at 09:04:47AM -0400, lilypond-user-requ...@gnu.org wrote: > > Message: 2 > Date: Sat, 18 May 2019 20:09:10 -0700 > From: David Bellows > To: Andrew Bernard > Cc: lilypond-user Mailinglist > Subject: Re: Unconventional score and unwanted stra

Re: Unconventional score and unwanted stray staff lines

2019-05-19 Thread Aaron Hill
On 2019-05-18 10:46 pm, David Bellows wrote: Maybe use bar checks? Given that a lot of the music isn't generated to fit any particular time signature (ie, the bar lines are often there just to break things up to ease reading), I would get tons of bar check errors. Plus, keeping track of when ba

Re: Unconventional score and unwanted stray staff lines

2019-05-18 Thread David Bellows
Hey Mark, > Maybe use bar checks? Given that a lot of the music isn't generated to fit any particular time signature (ie, the bar lines are often there just to break things up to ease reading), I would get tons of bar check errors. Plus, keeping track of when bars should be inserted in my softwar

RE: Unconventional score and unwanted stray staff lines

2019-05-18 Thread Mark Stephen Mrotek
David Maybe use bar checks? Mark -Original Message- From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of David Bellows Sent: Saturday, May 18, 2019 3:59 PM To: lilypond-user Subject: Unconventional score and unwanted stray staff lines Hello ever

Re: Unconventional score and unwanted stray staff lines

2019-05-18 Thread David Bellows
Hi Andrew, > adding \stopStaff at the end of the sections - does this do what you want? That gets me really close except ... > There seems to be some stray clefs in this, but I am sure you can tidy this > up. I have no idea where those stray clefs are coming from. In the first pdfs I sent they

Re: Unconventional score and unwanted stray staff lines

2019-05-18 Thread Andrew Bernard
Hi David, I can't quite grasp what your score is. Is it for five pianos, as all the piano staves are grouped into one system? Anyway, adding \stopStaff at the end of the sections - does this do what you want? There seems to be some stray clefs in this, but I am sure you can tidy this up. I assume

Re: Unconventional score and unwanted stray staff lines

2019-05-18 Thread David Bellows
Andrew, > These both complie. That's a relief! I changed the formatting in the master program that generates these Lilypond files to be more sane. Spaces instead of tabs. On Sat, May 18, 2019 at 7:25 PM Andrew Bernard wrote: > > These both complie. > > Andrew > > > On Sun, 19 May 2019 at 12:09

Re: Unconventional score and unwanted stray staff lines

2019-05-18 Thread Andrew Bernard
These both complie. Andrew On Sun, 19 May 2019 at 12:09, David Bellows wrote: > Hey Andrew, > > Hmm, I'm running Kubuntu 19.04. You wouldn't think there'd be that > much difference between the two? I also wouldn't think there would be > anything we could do in our Lilypond files to cause Ghost

Re: Unconventional score and unwanted stray staff lines

2019-05-18 Thread David Bellows
Hey Andrew, Hmm, I'm running Kubuntu 19.04. You wouldn't think there'd be that much difference between the two? I also wouldn't think there would be anything we could do in our Lilypond files to cause Ghostscript problems for one file but not another. I do wonder if maybe there's a spacing/indent

Re: Unconventional score and unwanted stray staff lines

2019-05-18 Thread Andrew Bernard
Hi David, I think this may be easy to fix but neither of your examples compiles for me on Ubuntu 19.04 with Lilypond 2.19.83. Ghostscript crashes. I don't have this problem with other scores. Andrew On Sun, 19 May 2019 at 09:14, David Bellows wrote: > > I tried to keep the examples minimal bu