Re: Extended bar checking?

2022-09-19 Thread Valentin Petzel
Hi Jean, I just finished a small implementation for this, just to see that you already did a much better one yesterday! Anyway. You can still achieve something like that for << ... >> constructs. You can do something like this: \layout { \context { \Voice \accepts "Notes" } \cont

Re: Extended bar checking?

2022-09-19 Thread Carl Sorensen
On Mon, Sep 19, 2022 at 8:21 AM Michael Hendry wrote: > On 19 Sep 2022, at 15:11, Jean Abou Samra wrote: > > > > > > > > Le 19/09/2022 à 11:50, Michael Hendry a écrit : > >> On 18 Sep 2022, at 22:32, Jean Abou Samra wrote: > >> > >>> > >> > >> > >>> \relative c' { > >>> c4 d e2 | > >>> g1

Re: Extended bar checking?

2022-09-19 Thread Michael Hendry
On 19 Sep 2022, at 15:11, Jean Abou Samra wrote: > > > > Le 19/09/2022 à 11:50, Michael Hendry a écrit : >> On 18 Sep 2022, at 22:32, Jean Abou Samra wrote: >> >>> >> >> >>> \relative c' { >>> c4 d e2 | >>> g1 | >>> g f e d | % notes wrongly entered >>> s1 % missing bar check >>>

Re: Extended bar checking?

2022-09-18 Thread Jean Abou Samra
Le 18/09/2022 à 22:43, Mats Bengtsson a écrit : may this also be used in 2.22.2. ? Now I errors :-( Here is a version of the same snippet that should work in 2.22: \version "2.22.2" #(define-event-class 'event 'StreamEvent) % cough "|" = { | #(make-music 'Event 'is-bar-check #t) } #(defi

Re: Extended bar checking?

2022-09-18 Thread Eef Weenink
may this also be used in 2.22.2. ? Now I errors :-( regards, Eef Op 18 sep. 2022, om 22:16 heeft Mats Bengtsson mailto:matsboxergr...@gmail.com>> het volgende geschreven: Brilliant! This will be in an include file that I will use for all my future projects (until it gets included in the Lil

Re: Extended bar checking?

2022-09-18 Thread Mats Bengtsson
Brilliant! This will be in an include file that I will use for all my future projects (until it gets included in the LilyPond distribution).     /Mats On 2022-09-18 21:33, Jean Abou Samra wrote: Le 18/09/2022 à 20:32, Mats

Re: Extended bar checking?

2022-09-18 Thread Jean Abou Samra
Le 18/09/2022 à 20:32, Mats Bengtsson a écrit : Hi, I've been pondering about a missing feature in LilyPond, namely the possibility to get a warning printout if there isn't an explicit bar check ("|") in the input file at the end of each measure. This would catch many of the typos I perso

Re: Extended bar checking?

2022-09-18 Thread Kenneth Wolcott
Thanks for mentioning this. I too have encountered this problem. Ken Wolcott On Sun, Sep 18, 2022 at 11:33 AM Mats Bengtsson wrote: > > Hi, > > I've been pondering about a missing feature in LilyPond, namely the > possibility to get a warning printout if there isn't an explicit bar check > ("

Extended bar checking?

2022-09-18 Thread Mats Bengtsson
Hi, I've been pondering about a missing feature in LilyPond, namely the possibility to get a warning printout if there isn't an explicit bar check ("|") in the input file at the end of each measure. This would catch many of the typos I personally do when enter