Re: Multi-rest with automatic bar number before and after it

2016-08-07 Thread arnepe
-with-automatic-bar-number-before-and-after-it-tp187428p193537.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: Multi-rest with automatic bar number before and after it

2016-08-07 Thread Thomas Morley
Hi Arne, 2016-08-07 12:54 GMT+02:00 arnepe : > hello, > > in my case, Lily throws an errror when compiling music starting with a > \partial. > Otherwise it compiles fine. > > see attached file > debug-mmr.txt >

Re: Multi-rest with automatic bar number before and after it

2016-08-07 Thread arnepe
before...)/ greetings Arne Peters -- View this message in context: http://lilypond.1069038.n5.nabble.com/Multi-rest-with-automatic-bar-number-before-and-after-it-tp187428p193523.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailin

Re: Multi-rest with automatic bar number before and after it

2016-08-03 Thread Thomas Morley
2016-08-03 12:52 GMT+02:00 David Kastrup : > > Xpost and Fup2 lilypond-devel > > Thomas Morley writes: > >> Some remarks/TODOs, especially: >> Why I cannot _create_ a MultiMeasureRestText-grob via >> `ly:engraver-make-grob'? >> It works for TextScript ...

Re: Multi-rest with automatic bar number before and after it

2016-08-03 Thread David Kastrup
Xpost and Fup2 lilypond-devel Thomas Morley writes: > Some remarks/TODOs, especially: > Why I cannot _create_ a MultiMeasureRestText-grob via `ly:engraver-make-grob'? > It works for TextScript ... Do you have an example of what doesn't work? > %% How to do? > %% It

Re: Multi-rest with automatic bar number before and after it

2016-02-21 Thread Craig Dabelstein
This is great work! It's exactly what I need but it threw me a bunch of errors. I'll try to put together an example to show you. Craig On 20 February 2016 at 22:41, Thomas Morley wrote: > 2016-02-19 4:23 GMT+01:00 Craig Dabelstein : > > Hi

Re: Multi-rest with automatic bar number before and after it

2016-02-20 Thread Thomas Morley
2016-02-19 4:23 GMT+01:00 Craig Dabelstein : > Hi Harm, > > I discovered a problem. It works perfectly with 4/4 time but it doesn't work > with other time signatures. Can you suggest to me how I can make it work for > different time signatures? > > All the best, > >

Re: Multi-rest with automatic bar number before and after it

2016-02-19 Thread David Kastrup
Thomas Morley writes: [...] >\markup > \center-column { >#(number->string mmr-length) >%% value found by try and error >\translate #'(0 . -7.5) >\with-dimensions #empty-interval #empty-interval >

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Craig Dabelstein
Hi Harm, I discovered a problem. It works perfectly with 4/4 time but it doesn't work with other time signatures. Can you suggest to me how I can make it work for different time signatures? All the best, Craig On 19 February 2016 at 12:43, Craig Dabelstein wrote:

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Craig Dabelstein
Brilliant! Thank you! On 19 February 2016 at 11:06, Thomas Morley wrote: > 2016-02-19 1:31 GMT+01:00 Craig Dabelstein : > > Hi Harm, > > > > Is it possible to have the bar numbers underneath in the usual (small) > font > > rather than the

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Thomas Morley
2016-02-19 1:31 GMT+01:00 Craig Dabelstein : > Hi Harm, > > Is it possible to have the bar numbers underneath in the usual (small) font > rather than the big numbers used for the multi rest? >\markup > \center-column { >#(number->string

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Craig Dabelstein
Hi Harm, Is it possible to have the bar numbers underneath in the usual (small) font rather than the big numbers used for the multi rest? Craig On 19 February 2016 at 09:49, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Abraham, > > > It's also seen in film scoring, so I

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Kieren MacMillan
Hi Abraham, > It's also seen in film scoring, so I believe it's a useful feature. +1 I think it would be great if Lilypond (i.e., the community? openlilylib?) offered suites of tools/extensions/functions fine-tuned for specific purposes: musical theatre (I’m working on those!), critical

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread tisimst
ely be achieved by mapping the > function over some music, I think an engraver would be preferable. > > I'll try to give it a go the upcoming days. > It's also seen in film scoring, so I believe it's a useful feature. - Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/Multi-rest-with-automatic-bar-number-before-and-after-it-tp187428p187438.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: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Craig Dabelstein
Thanks for the help everyone. Craig On 19 February 2016 at 09:35, Thomas Morley wrote: > 2016-02-18 23:31 GMT+01:00 tisimst : > > > > On Thu, Feb 18, 2016 at 3:26 PM, Kieren MacMillan [via Lilypond] <[hidden > > email]> wrote: > >> > >> Hi

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Thomas Morley
2016-02-18 23:31 GMT+01:00 tisimst : > > On Thu, Feb 18, 2016 at 3:26 PM, Kieren MacMillan [via Lilypond] <[hidden > email]> wrote: >> >> Hi Harm, >> >> > A hacky solution for one-time use >> >> This is great! The only thing I could suggest is that the font for the bar

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread tisimst
; know if it’s common elsewhere, but it might be a nice feature in the > Lilypond toolkit. > Thomas, is there a permanent form for \applyOutput? That way you don't need to do this every time you want to use it? Best, Abraham -- View this message in context: http://lilypond.1069038.n5.nab

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Kieren MacMillan
Hi Harm, > A hacky solution for one-time use This is great! The only thing I could suggest is that the font for the bar numbers shouldn’t be the same as the big MMR number font. > A cleaner one would likely need an engraver. I see this kind of numbering a fair bit in musical theatre scores. I

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Thomas Morley
2016-02-18 21:34 GMT+01:00 Craig Dabelstein : > Hi Lilyponders, > > On this same subject, is it possible to put the span of bar numbers below a > multi bar rest e.g. below a 14-bar multi bar rest, have it print (centered) > 1-14? A hacky solution for one-time use:

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Simon Albrecht
On 18.02.2016 21:34, Craig Dabelstein wrote: On this same subject, is it possible to put the span of bar numbers below a multi bar rest e.g. below a 14-bar multi bar rest, have it print (centered) 1-14? Sounds quite confusing to me: Either you have a MultiMeasureRestText, giving the duration

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Craig Dabelstein
Hi Lilyponders, On this same subject, is it possible to put the span of bar numbers below a multi bar rest e.g. below a 14-bar multi bar rest, have it print (centered) 1-14? Any help would be greatly appreciated. On 19 February 2016 at 04:20, Menu Jacques wrote: > Hello

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Menu Jacques
Hello Simon, Excellent, thanks, that solves my issue! It’s a nice lesson on using Scheme, too. JM > Le 18 févr. 2016 à 18:44, Simon Albrecht a écrit : > > Hello Jacques, > > there are two possible approaches: > > %% > \version "2.18.2" > > multiROne = >

Re: Multi-rest with automatic bar number before and after it

2016-02-18 Thread Simon Albrecht
Hello Jacques, there are two possible approaches: %% \version "2.18.2" multiROne = #(define-music-function (parser location bar-count)(rational?) (let ((display-bar-num #{ \once\override Score.BarNumber.break-visibility = ##(#f #t #t) #}) (dur (ly:make-duration 0 0

Multi-rest with automatic bar number before and after it

2016-02-18 Thread Menu Jacques
Hello folks, With the following definitions: myDisplayBarNummber = { \once\override Score.BarNumber.break-visibility = ##(#f #t #t) } multiROne = #(define-music-function (parser location barsNumber)(number?) #{ \myDisplayBarNummber R1*#barsNumber % <—-- not allowed