Re: Four Bars per Line/System, again :)

2018-07-13 Thread Lukas-Fabian Moser
Michael, thanks for drawing attention to this /superb/ tool! (It's quite old now but works flawlessly with current Lilypond versions). ...but with additional "\book"s for Bb and Eb instruments. I'd like to be able to avoid the potential for error in dealing with the odd line which needs to

Re: Four Bars per Line/System, again :)

2018-07-12 Thread Michael Hendry
Thanks, David. There's been a long gap, in which I've been happily using the engraver for jazz lead-sheets like this: /% Concert Pitch version #(define output-suffix "concert") \book { \score { << \PieceTranspose { \TheChords } \PieceTranspose { \TheHead } >> \layout {

Re: Four Bars per Line/System, again :)

2015-01-25 Thread Michael Hendry
to the discussion below: http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p170972.html http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p170972.html To unsubscribe from Four Bars per Line/System, again :), click here http://lilypond

Re: Four Bars per Line/System, again :)

2015-01-25 Thread David Nalesnik
Hi Michael, On Sun, Jan 25, 2015 at 10:38 AM, Michael Hendry hendry.mich...@gmail.com wrote: On 25 Jan 2015, at 15:15, tisimst [via Lilypond] [hidden email] http:///user/SendEmail.jtp?type=nodenode=170975i=0 wrote: Michael, On Sun, Jan 25, 2015 at 7:49 AM, Michael Hendry [via Lilypond] a

Re: Four Bars per Line/System, again :)

2015-01-25 Thread Michael Hendry
instruction... -- View this message in context: http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p170982.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https

Re: Four Bars per Line/System, again :)

2015-01-25 Thread tisimst
tell it to, via \break and \page Break. You may not need the page-break one. HTH, Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p170972.html Sent from the User mailing list archive at Nabble.com

Re: Four Bars per Line/System, again :)

2015-01-25 Thread Michael Hendry
piece of work - it's going to save me hours of time messing about with \noBreak and \break commands! -- View this message in context: http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p170969.html Sent from the User mailing list archive at Nabble.com

Re: Four Bars per Line/System, again :)

2015-01-25 Thread David Nalesnik
Hi Michael, On Sun, Jan 25, 2015 at 2:11 PM, Michael Hendry hendry.mich...@gmail.com wrote: Thanks, David. I'm very much at the stage of using example files and modifying them so that they work for me as far as Lilypond is concerned - and can't even plod through your Scheme function

Re: Four Bars per Line/System, again :)

2015-01-25 Thread David Nalesnik
Hi Michael, On Sun, Jan 25, 2015 at 1:00 PM, Michael Hendry hendry.mich...@gmail.com wrote: Of course - I should have spotted that! Interesting, though that with the override commented out I can get 9 bars per line, but if I exceed that by one I get 10, 10, 5, 5, 7, and the lines with 5

Re: Four Bars per Line/System, again :)

2015-01-25 Thread Michael Hendry
rid of until I came across your function. Any chance of your documenting its inner workings for a Scheme virgin? -- View this message in context: http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p170989.html Sent from the User mailing list archive at Nabble.com

Re: Four Bars per Line/System, again :)

2014-09-30 Thread Pierre Perol-Schneider
Hi Marc, 2014-09-30 2:09 GMT+02:00 MarcM m...@mouries.net: any idea on how to make the theme B start on a new line? Try \break ;) Here's how I'd write it : \version 2.19.11 #(set-global-staff-size 22) #(set-default-paper-size letter) \include english.ly \paper { ragged-last-bottom =

Re: Four Bars per Line/System, again :)

2014-09-29 Thread MarcM
/n166964/4barsPerStaffWithPartials.ly Screen_Shot_2014-09-29_at_8.png http://lilypond.1069038.n5.nabble.com/file/n166964/Screen_Shot_2014-09-29_at_8.png -- View this message in context: http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p166964.html Sent from the User

Re: Four Bars per Line/System, again :)

2012-09-26 Thread Janek Warchoł
On Mon, Sep 24, 2012 at 7:55 PM, bthom belinda...@gmail.com wrote: Hope you can clarify why http://lsr.dsi.unimi.it/LSR/Snippet?id=838 produces code snippet but http://lsr.dsi.unimi.it/LSR/Item?u=1id=838 produces typeset result. ? they are just two different links, pointing to two

Re: Four Bars per Line/System, again :)

2012-09-24 Thread bthom
Hi David, Trying to go to your engraver link at get error: HTTP Status 500 - For input string: 838): Please advise. --b -- View this message in context: http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p133497.html Sent from the User mailing list archive

Re: Four Bars per Line/System, again :)

2012-09-24 Thread David Nalesnik
Hi, On Mon, Sep 24, 2012 at 12:17 PM, bthom belinda...@gmail.com wrote: Hi David, Trying to go to your engraver link at get error: HTTP Status 500 - For input string: 838): Please advise. --b Hmm... I'm able to click on it and get the snippet without a problem. I suppose you should

Re: Four Bars per Line/System, again :)

2012-09-24 Thread bthom
.nabble.com/Four-Bars-per-Line-System-again-tp45952p133503.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Four Bars per Line/System, again :)

2012-09-20 Thread David Nalesnik
Hi bthom, On Thu, Sep 20, 2012 at 12:51 AM, bthom belinda...@gmail.com wrote: Hi, I'm now wondering if there's a way to modify this 4-bars-per-line engraving function I found at the forum so that it does the following: 1. print a pickup partial measure on the right-hand side of a single

Re: Four Bars per Line/System, again :)

2012-09-19 Thread bthom
. --b -- View this message in context: http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p133174.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https

Re: Four Bars per Line/System, again :)

2012-09-19 Thread Nick Payne
On 20/09/12 08:43, bthom wrote: Any idea how you could use this fixed-bars per line engraver in conjunction w/no indentation on first line of score? I tried adding After \Score I tried adding: % don't indent first line indent = 0.0 \cm But the first line remains

Re: Four Bars per Line/System, again :)

2012-09-19 Thread bthom
this message in context: http://lilypond.1069038.n5.nabble.com/Four-Bars-per-Line-System-again-tp45952p133182.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman

Re: Four Bars per Line/System, again :)

2012-05-21 Thread Thomas Morley
2012/5/21 David Nalesnik david.nales...@gmail.com: Added as  http://lsr.dsi.unimi.it/LSR/Item?u=1id=838 -David Hi David, I'm going to approve your snippet. I'd prefer to use the Standalone-snippet-option (I changed it this way). What do you think? -Harm

Re: Four Bars per Line/System, again :)

2012-05-21 Thread David Nalesnik
Hi Harm, On Mon, May 21, 2012 at 5:05 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/5/21 David Nalesnik david.nales...@gmail.com: Added as http://lsr.dsi.unimi.it/LSR/Item?u=1id=838 -David Hi David, I'm going to approve your snippet. I'd prefer to use the

Re: Four Bars per Line/System, again :)

2012-05-20 Thread David Nalesnik
On Sat, May 19, 2012 at 8:04 AM, David Nalesnik david.nales...@gmail.comwrote: Hi Johan, Please submit to LSR... Will do. The LSR is running 2.14.2 right now, so I'll have to make some changes. (In particular, the function uses David Kastrup's make-engraver macro which is fairly

Re: Four Bars per Line/System, again :)

2012-05-19 Thread Federico Bruni
I usually place a system-count in the layout block inside score block. If you choose the right number, Lilypond should break lines regularly. Rarely I need to force a line break. I think this is a much cleaner solution than using a variable with spacing rests. Il giorno 18/mag/2012 20:45, Nils

Re: Four Bars per Line/System, again :)

2012-05-19 Thread ole
Am 19.05.2012 um 04:19 schrieb David Nalesnik: Hi, On Fri, May 18, 2012 at 7:38 PM, Jay Anderson horndud...@gmail.com wrote: Slightly better would be to get rid of the bars-per-line define so it's self-contained: True, thank you--I've incorporated your suggestion below. Thinking

Re: Four Bars per Line/System, again :)

2012-05-19 Thread Janek Warchoł
David: 8O I think this is worth including in LilyPond itself!! Try to beat this, Finale! Hahaha! On Sat, May 19, 2012 at 9:31 AM, ole m...@oleschmidt.info wrote: Just want to report that the improved version gives the following error:

Re: Four Bars per Line/System, again :)

2012-05-19 Thread Janek Warchoł
David, a couple of thoughts: - what about looping the break pattern? I.e. \consists #(custom-line-breaks-engraver '(2 3 4)) = \consists #(custom-line-breaks-engraver '(2 3 4 2 3 4 2 3 4 ... 2 3 4))? - i'm not sure if this is desired or not, but changing current barNumber confuses your function:

Re: Four Bars per Line/System, again :)

2012-05-19 Thread Johan Vromans
David Nalesnik david.nales...@gmail.com writes: Hope this proves useful! Please submit to LSR... -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Four Bars per Line/System, again :)

2012-05-19 Thread David Nalesnik
Hi Janek, On Sat, May 19, 2012 at 4:27 AM, Janek Warchoł janek.lilyp...@gmail.comwrote: David, a couple of thoughts: - what about looping the break pattern? I.e. \consists #(custom-line-breaks-engraver '(2 3 4)) = \consists #(custom-line-breaks-engraver '(2 3 4 2 3 4 2 3 4 ... 2 3 4))?

Re: Four Bars per Line/System, again :)

2012-05-19 Thread David Nalesnik
Hi again Janek, On Sat, May 19, 2012 at 6:40 AM, David Nalesnik david.nales...@gmail.comwrote: Hi Janek, On Sat, May 19, 2012 at 4:27 AM, Janek Warchoł janek.lilyp...@gmail.comwrote: David, a couple of thoughts: - what about looping the break pattern? I.e. \consists

Re: Four Bars per Line/System, again :)

2012-05-19 Thread David Nalesnik
Hi Johan, Please submit to LSR... Will do. The LSR is running 2.14.2 right now, so I'll have to make some changes. (In particular, the function uses David Kastrup's make-engraver macro which is fairly recent.) -David ___ lilypond-user mailing list

Re: Four Bars per Line/System, again :)

2012-05-19 Thread Janek Warchoł
Hi David, On Sat, May 19, 2012 at 2:56 PM, David Nalesnik david.nales...@gmail.com wrote: OK, this incorporates your idea of looping.  You specify a list as the argument of the function, and that grouping will loop until the end.  The example below shows how you would get four measures per

Re: Four Bars per Line/System, again :)

2012-05-19 Thread David Nalesnik
Hi Janek, On Sat, May 19, 2012 at 8:17 AM, Janek Warchoł janek.lilyp...@gmail.comwrote: Hi David, On Sat, May 19, 2012 at 2:56 PM, David Nalesnik david.nales...@gmail.com wrote: OK, this incorporates your idea of looping. You specify a list as the argument of the function, and that

Four Bars per Line/System, again :)

2012-05-18 Thread Nils
Hello Users, I am currently looking at Realbook layouts and user expectations. Four Bars per Line in a Leadsheet seems to be a pretty common request. I know there is the method with a invisible voice that breaks the staffs. But this seems like a hack. Using content to force the layout. And it

Re: Four Bars per Line/System, again :)

2012-05-18 Thread Trevor Daniels
Nils you wrote Friday, May 18, 2012 7:45 PM I am currently looking at Realbook layouts and user expectations. Four Bars per Line in a Leadsheet seems to be a pretty common request. I know there is the method with a invisible voice that breaks the staffs. But this seems like a hack. Using

Re: Four Bars per Line/System, again :)

2012-05-18 Thread Kieren MacMillan
Hi Trevor (and Nils), I usually have a variable called something like timeline in which I place all things which apply to the score as a whole rather than to individual staves or voices, things like breaks, key changes, time signature changes, special bar lines, etc. The individual items

Re: Four Bars per Line/System, again :)

2012-05-18 Thread Kieren MacMillan
p.s. Come to think of it, wouldn't this be a good place for a Scheme engraver [written by someone who, unlike me, knows Scheme well]? To wit, if the measures in a piece aren't all 4/4, then our suggestion(s) won't work; and every time the total number of measures changes you need to update;

Re: Four Bars per Line/System, again :)

2012-05-18 Thread David Nalesnik
Hi, On Fri, May 18, 2012 at 3:40 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: p.s. Come to think of it, wouldn't this be a good place for a Scheme engraver [written by someone who, unlike me, knows Scheme well]? To wit, if the measures in a piece aren't all 4/4, then our

Re: Four Bars per Line/System, again :)

2012-05-18 Thread Kieren MacMillan
Hi David, I can't believe that this works :) !! 1. Let's thank all the people (Han-Wen, Jan, David K., etc.) who have done such great work on the fundamentals, so that this actually works. 2. Let's all (except David N) thank David N for taking my idea and running with it so successfully. =)

Re: Four Bars per Line/System, again :)

2012-05-18 Thread David Nalesnik
On Fri, May 18, 2012 at 6:50 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi David, I can't believe that this works :) !! 1. Let's thank all the people (Han-Wen, Jan, David K., etc.) who have done such great work on the fundamentals, so that this actually works. Hear, hear!

Re: Four Bars per Line/System, again :)

2012-05-18 Thread Jay Anderson
Slightly better would be to get rid of the bars-per-line define so it's self-contained: #(define (line-break-every-nth-engraver bars-per-line) (lambda (context) (make-engraver (acknowledgers ((paper-column-interface engraver grob source-engraver) (let ((current-bar

Re: Four Bars per Line/System, again :)

2012-05-18 Thread David Nalesnik
Hi, On Fri, May 18, 2012 at 7:38 PM, Jay Anderson horndud...@gmail.com wrote: Slightly better would be to get rid of the bars-per-line define so it's self-contained: True, thank you--I've incorporated your suggestion below. Thinking about this some more, I figure the next logical step is to

Re: Four Bars per Line/System, again :)

2012-05-18 Thread Kieren MacMillan
Hi David, Thinking about this some more, I figure the next logical step is to write an engraver which allows you to specify the number of measures for each line of the score. I've come up with the solution below. Hope this proves useful! I have been hoping for something like this in